mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-24 19:08:21 +08:00
QGC leaves unused float params as NaN and converts them into the int32 x/y fields of MISSION_ITEM_INT, which comes out as INT32_MIN. This made PX4 reject any mission with camera items (set mode, take photo/video, stop photo/video) with INVALID_PARAM5. Treat INT32_MIN as "param not used", the same as INT32_MAX. Signed-off-by: mahima-yoga <mahima@auterion.com>