cf.initialPosition values #551
Unanswered
Reginald-Jeeves
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! I think the initial positions are also being used for the single marker tracking of the mocap package so I'm afraid that that can't really change (@whoenig, please correct me if I'm wrong). If I were you, I would get a logging callback for the pose callback and get another variable to contain that value for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I fly the crazyflies using the nice_hover script from crazyflie_examples, the drones all collide.
I identified the problem to be in the goTo() function, Here the goal position is cf.initialPosition + (0,0,takeoff_height).
The intial position values that I had set up for the simulation was somehow being retained when testing physically.
On using crazyflie launch.py instead of using the initial values from the lighthouse positioning system it uses initialPosition values from the config files. This was not the case before and it only started occuring when I pulled the updates from the crazyswarm2 repository 1 month ago. I wonder how I can make it so that cf.initialPosition contains the initial position values of the crazyflies before they takeoff.
Beta Was this translation helpful? Give feedback.
All reactions