Skip to content

Getting real-time CF position data using cflib/Crazyswarm ROS #659

Answered by whoenig
coenwerem asked this question in Q&A
Discussion options

You must be logged in to vote

LightHouse is decentralized tracking, so the PC does not know by default the current positions. You can set enable_logging and enable_logging_pose to true in the launch file, which will create topics like cf<id>/pose containing the current state information. In your script, you can then use position() or subscribe to the topic manually if you need velocities as well.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@coenwerem
Comment options

Answer selected by coenwerem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants