Sending Mavlink Messages without certain fields?

Hi all, I was wondering if there is a way to send mavlink messages with certain fields missing, specifically the VISION_POSITION_ESTIMATE, ODOMETRY, or ATT_POS_MOCAP mavlink messages, but omitting any of the attitude information, like yaw or yaw speed. Is there a protocol for this, like using NaN or anything? Some message’s descriptions specifically say to use NaN when omitting a value, but if it isn’t explicitly mentioned, is there any way to omit a certain value?


No, there is no special way, nor protocol to do it. It is either documented in the message itself (like the NaN that you mentioned) or it is not possible at all.

1 Like

Thanks for letting me know!