Attitude offboard control example? #500
brunojnguerreiro
started this conversation in
General
Replies: 1 comment 10 replies
-
Hi! I've looked quickly in the crazyflie python class and unfortunately it does not seem that there is a logging functionality in that class, and I'm not sure if this feature will be added anytime soon... Luckily it shouldn't be too difficult to write a subscriber to those topics in ROS2. Have you tried getting something to work with the help of these ROS2 tutorials? https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Publisher-And-Subscriber.html |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, I'd like to thank you for your great work on this repo. I'm trying to have a MWE for an off-board outer loop controller that in each instant receives pose and velocity data from a crazyflie (with lighthouse), and sends a low-level command for rpyt, fullState, or other method. I've played a bit with the examples, in simulation and in real experiments, creating different way to send HL or fullState commands to the CFs. I've also managed to change crazyflies.yaml to get the pose into a ros topic and also create other custom and more efficient messages for higher data rate transfer for off-board use. Nonetheless, I'm struggling on how to access the pose or custom topics in a script such as "crazyflie_examples/crazyflie_examples/cmd_full_state.py". Could you guide me in getting a MWE for this purpose?
Beta Was this translation helpful? Give feedback.
All reactions