You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAVSDK in C++ allows for any message to be sent using the MavlinkPassthrough plugin. However, since that pulls in the MAVLink C headers, that's not currently supported in the language wrappers such as Python.
My plan is to add support for any messages in v4 (v3 is about to come out). It will allow to set and send custom messages at runtime, rather than compile time, along the lines of:
message = mavlink_passthrough.create_message("MESSAGE_NAME")
message.set_field_float("altitude", 1.0)
mavlink_passthrough.send_message(message)
...
Now for your request, have you looked into the offboard plugin? I think it has an API that is pretty close to it:
https://github.com/mavlink/MAVSDK/blob/bc0da1ea516bb0a015052aca1bf224cb2bd93326/src/mavsdk/plugins/offboard/offboard_impl.cpp#L381-L423
I'm writing a Dronekit wrapper to make it easier to migrate Dronekit apps and use MAVSDK.
For example, how can we send a
MAV_FRAME_LOCAL_NED
msg with MAVDK?message_factory
through the MAVSDK connection?This would be very handy (feature request).
The text was updated successfully, but these errors were encountered: