Replies: 1 comment 2 replies
-
Hi, Your code looks correct in principle, however your question is missing a very important information: what positioning system are you using and is the position estimation working correctly? If you are using one of the internal positioning system like Lighthouse, Loco Positioning or the flow deck, you can test it from the Crazyflie client using the command based flight control in the flight tab. If you are using an external system like a Mocap, it might be a bit more complex and it will greatly depends of how you did setup the system. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good evening,
If have been working on a thesis in which i make use of the Crazyflie to measure light levels of LED's. One of the functions i am using is commanderSetSetpoint() which I want to use to make my Crazyflie fly to certain coordinates. However the function is not working as expected. For setpoint(0,0,0) it instantly flips on its back and for any value for the z coordinate it just flies in to the ceiling no matter wat I put in. I have set the modes for x,y,z and yaw to modeAbs so it should be using absolute positioning.
I am assuming I am missing something here so maybe someone could help me with this.
Beta Was this translation helpful? Give feedback.
All reactions