-
Hello. I have used the function ''goto'' and the crazyflie effectively arrives to the desired point, but if i need to make use of sin(the), cos(the) and its derivative to generate the circular trajectory, what do I need to change in the code?. I'd appreciate your help. |
Beta Was this translation helpful? Give feedback.
Answered by
jpreiss
Jul 25, 2022
Replies: 1 comment 1 reply
-
See https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/scripts/cmdVelocityCircle.py for an example. You could also use That script doesn't have a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Carmol1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/scripts/cmdVelocityCircle.py for an example. You could also use
cmdPosition
orcmdFullState
.That script doesn't have a
land()
command, so you should probably add one before running it!