How to give the desired position and velocity together by Setpoint? #1667
-
Hi, can the drone fly to the desired position with a given velocity? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I recommend using the high level commander for something like this. |
Beta Was this translation helpful? Give feedback.
The controllers don’t support controlling both position and velocity at the same time; they can only handle one mode for each dimension. The
setHoverSetpoint
function you’re using creates setpoints fed into the controller. To handle simultaneous velocity and position goals, a higher-level layer like the High Level Commander is needed to calculate and provide setpoints accordingly.