M100 not listening to sdk control when guidance & gps are not available
Hi all, I am having an issue when controlling M100 with onboard sdk indoors.
I am sending control to flight_control_setpoint_generic topic at 50 hertz, which works fine in GPS environement and indoor environment with guidance plugged in. However, if I disconnect the guidance and flying the drone indoor, the drone stop following my command. The M100 was in F-mode and sdk-control-authority was turned on.
I cannot think of the issue, but I am guessing that the control flag I used may have problem? This is the flags that I used:
djiFlag = (DJISDK::FlightControlFlag::VERTICAL_VELOCITY |
DJISDK::FlightControlFlag::HORIZONTAL_VELOCITY |
DJISDK::FlightControlFlag::YAW_RATE |
DJISDK::FlightControlFlag::HORIZONTAL_BODY |
DJISDK::FlightControlFlag::STABLE_ENABLE);
Please sign in to leave a comment.
Comments
0 comments