-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AP_DDS: /ap/cmd_vel accepts body-frame messages #24734
Conversation
5a9751c
to
148ab5d
Compare
148ab5d
to
5566603
Compare
Should body-frame be "default" ? |
We discussed over discord and it is probably best not to do so. ROS packages performing control should provide the |
I'm hesitant to make assumptions unless we actually need to ( if we had to use Twist without the stamp). Since nav2 sets the frame ID, let's enforce it. |
e374f68
to
0dd6c7c
Compare
Tested both with both of the possible ros2 topic pub /ap/cmd_vel geometry_msgs/msg/TwistStamped '{header: {frame_id: "map"}, twist: {linear: {y: 1}}} For ros2 topic pub /ap/cmd_vel geometry_msgs/msg/TwistStamped '{header: {frame_id: "base_link"}, twist: {linear: {x: 1}}}' Both worked as expected. |
0dd6c7c
to
7fb1cf1
Compare
7fb1cf1
to
5663c84
Compare
The aim of this PR is for
/ap/cmd_vel
to be able to receive body frame messages with thebase_link
frame_id
.This check is performed first as this should be the most common use case for aerial vehicles per
ROS REP 147