Streaming temperature data over MAVLink

Hi,

I’ve got 4 MCP9600 temp sensors on my plane and at the moment I’m displaying the temp data as battery temp data as that’s the only way I can get it to stream and display in the values section on the dashboard on Mission Planner. I was wondering if there’s a better way, e.g. a dedicated telemetry MAVLink message would probably be good as that’s not a thing yet.

Cheers.

Update: found this issue that was marked as wontfix.

There’s a generic NAMED_FLOAT that will do what you want.

Ah okay, so best way would be to write some custom firmware to batch the temp sensor data into these NAMED_VALUE_FLOAT messages that can then be displayed here?

Possibly. Or you could use a Lua script to do similar without touching the firmware itself.

Ah okay cool, didn’t know Lua scripts could interact with data points displayed on MP. I’ll look at it cheers

It can, as well as log the same.

1 Like