In gazebo I can control a drone via set_attitude_target message in guided_nogps mode. At first I send non-zero roll and pitch degrees to move it, after that I give 0 degree (I’m changing angles to quaternion), drone gets 0 roll and pitch angle but it continues to move in the direction it is moving. So degrees are reset but speed is not reset.
And also it doesn’t have a gps because it will be an indoor drone so I can’t change mode to brake or loiter.
What can I do?
Thanks