Closed StevenLandgraf closed 4 years ago
That sounds like a tracking, or communication problem. Make sure you update the NRF51 firmware as well. If you have the LED ring make sure that it turns green. Otherwise, please add logging for "stateEstimate.x" (and .y, .z) and change "enable_logging" in the launch file to True. Look at the logging variables (e.g., using rostopic echo) and make sure that the state estimate updates as you manually move the Crazyflie around in your motion capture space.
Hope that helps and sorry for the delay!
Thanks for your answer. The solution was in fact a problem with the pose of our Crazyflies: The Crazyflies need to point towards the x-axis of our MoCap-System when creating a RigidBody and we were confused about which direction that is. We figured it out by manually moving our Crazyflie around, like you also suggested.
We use:
Problem: The crazyflie takes off with hover_swarm.launch, after two seconds it drifts away and crashes.
hover_swarm.launch: