MAVSDK offboard set_velocity_body strange behavior
-
(Firmware 1.10, indoor parameters used)
These set of MAVSDK code causes the drone to fly up approximately 5 feet and spin
await drone.action.arm() await drone.offboard.set_velocity_body(VelocityBodyYawspeed(0, 0, 0, 0)) try: await drone.offboard.start() except OffboardError as error: print(f"Starting offboard mode failed with error code: \ {error._result.result}") print("-- Disarming") await drone.action.disarm() returnMy initial expectation is it would just stay in the ground. I'm just wondering what could be causing the issue, or how i can try to debug this. I'm getting odometry data in QGroundControl.
Thank you
-
Hi Pey,
Can you double check that the "offboard_mode" is set to "none" in the voxl-vision-px4 configuration file?
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login
