Drone destablizing and crashing when I use go_to() from Position_hl_commander #440
Replies: 1 comment
-
Hi! It is strange since this is using the same functionality as the cfclient, namely the High level commander So the first thing that pops out is that the difference is the default velocity is quite low. The one of the cfclient has a default velocity of 0.3. Also it sets the default height to 0.3, while yours will probably go to the standard in the cflib which is 0.5. Perhaps try to get it very close to how the cfclient does it first? That the pc.get_position is 0,0,0 I wouldn't know and that sounds like a bug, but it is not the true position estimate but the position that the class thinks the crazyflie is based on the commands alone. You can check these examples to setup logging with the stateEstimate.x/y/z variables. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I need my drone (CF Bolt) to go to a specific coordinate in the Loco Positioning System but am unable to do so using either go_to or even send_setpoints from the commander. The drone takes off and starts wobbling vigorously in the air before finally crashing. I don't know if I'm doing anything wrong. The drone is stable when controlled using the cf-client. Also, when I print the starting position from pc, no matter where the drone is on the LPS it always returns 0,0,0.
My code is below.
Beta Was this translation helpful? Give feedback.
All reactions