Replies: 11 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
That's not a typo. I know that sounds weird, but I have checked the command of yaw rate. I didn't find any discussion about the issue about cmd_vel, so I just want to ask your experience. Thanks a lot for your reply! |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay! I haven't used Your use-case sounds like you have a double-integrator model. The easiest for now is to use the cmdFullState, where you do the integration of position and velocity on the host side. As James pointed out, for practical purposes you can set omega to zero. |
Beta Was this translation helpful? Give feedback.
-
@KYLiu0620 @JIMMMY0 Hello, I have the same problem in "CMD"_ velocity_ World ".Would like to ask you if you have solved it? |
Beta Was this translation helpful? Give feedback.
-
Hi guys, |
Beta Was this translation helpful? Give feedback.
-
@KYLiu0620 @whoenig @jpreiss I have two questions:
Question details: |
Beta Was this translation helpful? Give feedback.
-
To approximate velocity control with
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, I will use the position information to make feedback in velocity control. I will test it as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
@KYLiu0620 |
Beta Was this translation helpful? Give feedback.
-
@jpreiss @whoenig
|
Beta Was this translation helpful? Give feedback.
-
As far as I know, you can send desired velocity as vel and integrate it as pos command. The other arguments can be set to zero. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have used cmd_position for the flight successfully before, and now I want to try other method but bump into some problems with new implementation.
The output of my controller is linear acceleration of each agent in world frame. Which low-level command is better to perform such kind of application?
If I want to use cmdFullstate for the above controller, how to obtain the command of angular velocity (omega) with real-time linear acceleration? What material can I learn for this part? I cannot understand with the source code in uav_trajectory.py.
I have tried testCmdVelocityWorld.py with hover_swarm.launch in crazyswarm, but the crazyflie only took off and hovered instead of performing the circle as the simulation. I checked the source code of crazyswarm_server.cpp, and it doesn't subscribe to the topic 'cmd_velocity_world'. I tried to add that by myself, but it randomly fell down. Does crazyswarm_server.cpp support cmd_velocity_world now?
In the documentation, yaw rate of cmd_vel is positive for turning CCW. However, it turned CW with yaw rate = 0 and CCW with yaw rate = -90 when I tried.
I tried all the aforementioned problems with the newest commit of this package. Thanks for all the help and suggestions.
Beta Was this translation helpful? Give feedback.
All reactions