ArduPilot / mavlink

MAVLink micro air vehicle marshalling / communication library
http://qgroundcontrol.org/mavlink/start
Other
63 stars 286 forks source link

common: add camera-thermal-status #369

Closed rmackay9 closed 2 months ago

rmackay9 commented 3 months ago

This is the AP version of this upstream PR https://github.com/mavlink/mavlink/pull/2145 which has already been merged

The flight code change that uses this message is here https://github.com/ArduPilot/ardupilot/pull/27915

This adds a new message to allow sending a thermal camera's min and max temperatures (including the location on the image) to the ground station in real time. This is useful for search & rescue and firefighting applications because the ground station can overlay a rectangle over the hotspot along with its temperature

I've tried to make it consistent with other CAMERA messages including the tracking message in the hopes that that makes it easier to merge. I've also included the camera_device_id field consistent with PR https://github.com/mavlink/mavlink/pull/2142

Over on the AP side we've recently been improving our support for thermal cameras including the Siyi ZT6, ZT30 and the Topotek gimbals. This has been tested on real-hardware using a Siyi ZT6

rmackay9 commented 2 months ago

This has been updated inline with suggestions from the upstream PR https://github.com/mavlink/mavlink/pull/2145