I’m implementing motor temperature monitoring on a bimotor running Arduplane. I’m using an arduino to read a 10k NTC on each motor. I want to send the highest temp value to the flight controller, so I can display it on the OSD.
I can see a lot of examples fetching data from AP, but I don’t know enough about it to send data :
What kind of value am I supposed to “set” on the AP ? knowing that this data should end up on the OSD.
How can I set it ?
How can I display it on the OSD ?
Bonus point : can I set an alert if when motor_temp > some_threshold ?
Thanks for the help, I think this could help other people as well
I’m not particularly familiar with the OSD methods implemented in ArduPilot, but I think this level of customization would require either additional Lua bindings or C++ implementation on a custom branch.
@amilcarlucas You are correct, this sounds like exactly what I need to do.
However this is less straightforward than I expected (need write a new telem backend with access to MavLink traffic) so I think i’ll put this on the “todo” list rather than do it right now.
I’m wondering though, what will happen if i leave all telem fields (voltage, current, rpm…) to 0 except for temperature ? since that’s all I measure