Visible to the public Controlling the drone Conflict Detection Enabled

1 reply [Last post]
Srikar's picture
Established Community Member
Joined: May 18 2020

Using which topics can we control the pitch , roll etc of the uav directly ?

jnaneshwar's picture
Established Community Member
Joined: Oct 21 2015
Hi Srikar,Pitch and roll

Hi Srikar,

Pitch and roll will be controlled using setpoint_attitude topic, though if you use position control or velocity control, you cannot independently control pitch and roll as well.

Attitude control will typically be used when you are doing Model Predictive Control for example, or if you want to do very precise visual-servoing, say using image-based visual servoing.

See if you can get by with /mavros/setpoint_position/cmd_vel_unstamped? Note that for any form of offboard control, your setpoint shave to be published at atleast 2Hz, we typically use 10Hz for position or velocity control.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.