'/cmd_position' topic #612
Replies: 3 comments 2 replies
-
Does it work if you first take-off? |
Beta Was this translation helpful? Give feedback.
-
I actually tried it before. The point is here the high-level commands and low-level commands are not working together, right?
|
Beta Was this translation helpful? Give feedback.
-
High-level followed by low-level is no problem. The other way around (e.g., landing after using low-level commands), requires a setpoint-notification-stop command in between. |
Beta Was this translation helpful? Give feedback.
-
We'd like to give an initial position to crazyflies via
'/cmd_position'
(We usecpp backend
(update: we usecflib
)). Yet, we couldn't see any motion once we've sent the related info for this topic (we haven't seen any error on the terminal). Do we need anything to activate this function? I've added the related part below. Could you help us to fix this one?publisher definition:
the related function:
our test command (
cmdVel()
part works pretty well):Update:
I've added the following part in
crazyflie_server.py
to use/cmd_position
topic withcflib backend
:When I check the topics with
rqt
, the topics look fair. However, the abovecmdPosition()
function needs something to activate it since we couldn't see any motion on crazyflie. If you need more info, we can share it here.Beta Was this translation helpful? Give feedback.
All reactions