Skip to content

Conversation

RedWvn
Copy link

@RedWvn RedWvn commented Sep 22, 2023

The Command class in init.py uses mavutil.mavlink.MAVLink_mission_item_message for the message type, which uses the less accurate float32 for sending the long and lat parameters. This can be made more accurate if we use the mavutil.mavlink.MAVLink_mission_item_int_message type which uses int32 for sending, and is the recommended implementation. Hence, for the Command class, we have changed the message type to message_item_int since message_item is now depreciated.

@hamishwillee
Copy link
Contributor

Thanks. This looks great, but same fix in #1209 is more complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants