Replies: 5 comments
-
because i have something wrong with hover.launch about the motion capture ,so i just should Subscribe to topics from the miton capture ,and use the PID to control the uav. |
Beta Was this translation helpful? Give feedback.
-
Hi! I just converterd your question to a discussion, as that is the better place for this. It would help us if you were a little bit more clear. What would you like to achieve?
|
Beta Was this translation helpful? Give feedback.
-
i want to choose the second one: |
Beta Was this translation helpful? Give feedback.
-
@knmcguire hi |
Beta Was this translation helpful? Give feedback.
-
Alright... so not sure what you want to achieve but here is info for both: /cmd_vel_legacy topics is for roll/pitch/yaw/trust are being handled by this callback: crazyswarm2/crazyflie/scripts/crazyflie_server.py Lines 825 to 835 in ad90477 /cmd_hover topics is for velx/vely/height are being handled by this callback: crazyswarm2/crazyflie/scripts/crazyflie_server.py Lines 837 to 847 in ad90477 There is also an example that takes the input of /cmd_vel and transforms it to /cmd_hover. You can find info for that in this tutorial: https://imrclab.github.io/crazyswarm2/tutorials.html#teleoperation-keyboard |
Beta Was this translation helpful? Give feedback.
-
hello ,i want to use a PID to control a crazyflie ,but i am confused about that how to transfer the output(desired value of thrust from PID) to the thrust(0~2^16) of command "cmdVel".could you give me some advise?
Beta Was this translation helpful? Give feedback.
All reactions