Charging off the track is pointless.
You need clean track.
You need track power.
Once you maintain both…you can run trains on straight DC.
On-board chargers take up space.
Space is at a premium in some locomotives. Chargers often create heat. We don’t need heat in enclosed locomotives.
Charge rates, unless regulated (more space and heat) can either not keep up with the battery use or blow them up.
Charging “tracks” are one of the MOST useless things ever thought of.
Your wheels are now quite dirty from running outside on dirty rails, or even wet.
Pickups are dirty.
Put it on a charge track, and if it’s a smart charger, the dirt will give erroneous readings and not charge properly, if at all.
One guy several years ago devised such a plan. Figured three or four locomotives, the current required, made a charger, parked them after one session, turned the charger on and went to bed.
Next morning he had three dead locos and one melted over the trucks.
Three locos had dirty enough wheels to not allow the charge, so the whole rate went into one loco.
Use a jack. Plug it in, you KNOW it’s plugged in and charging.
Don’t try to re-invent the wheel.
Oh, one more thing.
You set the rate up high enough, and have very dirty track, when the loco gets to powered track, the inrush of current for the loco, control system, and charger can take the springs out of pickups.
Someday I’ll actually buy a locomotive and build a railroad, so maybe my personal experiences over the last 15 years will matter, eh?