Hey there, I’m on arducopter 4.5.7, using hobbywing motors, connected via CAN to get back esc telemetry. I’m able to see each full telemetry data like motor rpm, voltage and current.
The battery monitor sensor param set to “9” (ESC).
In GCS it perfectly show total current, watts, voltage, but total consumed is missing.
Could someone please let me know if this bug/todo feature or something I missed in configuration?
I’ve investigated code a bit and seems that in AP_BattMonitor_ESC::read() it iterates each ESC and calling AP_ESC_Telem::get_consumption_mah method.
So if I correct it means that this data missing from motor telemetry stream and not computed locally in any way.
This is a log from an ESC battery monitor totaling 4 ESC telemetry streams data. But this is with a 4-in1 that has a current shunt for each ESC channel (which is unusual). I have assumed it was totaling the current in the Battery Monitor from each but to your point perhaps the ESC board is summing them and putting the sum on the telemetry stream.