Best way to integrate crazyflies and turtlebots with optitrack #417
-
High-level problem: We would like to move two turtlebots and two crazyflies together using crazyswarm2. While we have got a (mostly) working procedure, we want to check if this is indeed the best way. What is currently working: We are using the firmware 2022.05 on the crazyflies and Crazyswarm2 commit 5bd08d8. We update the the motion_capture.yaml file to use optitrack-closed-source and libRigidBody, and set up the marker configurations (see motion_capture.yaml.txt). On the motive side, we are currently using Motive 2.3, and we have to define a rigidbody for each crazyflie and turtlebot, and then select labeled marker for streaming (see attached screenshot of the streaming settings) Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Do you have any suggestions on how to properly set up the optitrack-closed-source and avoid the "motion capture did not receive data" issue?
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your support! |
Beta Was this translation helpful? Give feedback.
We tried all combinations of labeled/unlabeled. To have the optitrack-close-source working, we need to
We are eventually able to switch to the open-source version and no longer have the "Motion Capture did not receive data" issue.
We do noticed that when launching the crazyswarm2, we should only enable the Ethernet connection to Motive. If PC has multiple interfaces enabled (Ethernets, WIFIs), then crazyswarm2 won't start properly (no frames available on RVIZ)
If the PC must connect to multiple internet, a workaround is: