I'm writing a Dronekit wrapper to make it easier to migrate Dronekit apps and use MAVSDK.
msg = self.vehicle.message_factory.set_position_target_local_ned_encode(
0,
0, # SysId
0, # CompId
mavutil.mavlink.MAV_FRAME_LOCAL_NED, # frame
0b111, # mask (ignore x,y,z)
0, # x
0, # y
0, # z
vx, # vx
vy, # vy
vz, # vz
0, # afx
0, # afy
0, # afz
0, # yaw
yawRate, # yaw rate
)
self.vehicle.send_mavlink(msg)
self.vehicle.flush()
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_NEDmsg with MAVDK?message_factorythrough the MAVSDK connection?This would be very handy (feature request).