Skip to content

Commander send_setpoint() #554

Answered by hmllr
AkashJohnSubash asked this question in Q&A
Discussion options

You must be logged in to vote

Hi :)
First of all, I think to follow a predefined trajectory it might be a good idea to use the high level commander: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/sensor-to-control/commanders_setpoints/

But to also answer your questions:

  1. yes, but there are different possible modes which will lead to different configurations. Check out the c code here: https://github.com/bitcraze/crazyflie-firmware/blob/2022.12/src/modules/src/crtp_commander_rpyt.c#L120
  2. x mode should be the Crazyflie 2, the Crazyflie 1 was 45 degree rotated - however, this code seems to be outdated (the firmware by now expects the values in x mode).
  3. this is for historical re…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by AkashJohnSubash
Comment options

You must be logged in to vote
1 reply
@hmllr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants