Skip to content

Commit efe3aa2

Browse files
Use TwistStamped (ros-controls#424)
1 parent cf4adb2 commit efe3aa2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

example_2/bringup/config/diffbot_controllers.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ diffbot_base_controller:
3232

3333
cmd_vel_timeout: 0.5
3434
#publish_limited_velocity: true
35-
use_stamped_vel: false
3635
#velocity_rolling_window_size: 10
3736

3837
# Velocity and acceleration limits

example_2/doc/userdoc.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,16 @@ Tutorial steps
8888

8989
.. code-block:: shell
9090
91-
ros2 topic pub --rate 30 /diffbot_base_controller/cmd_vel_unstamped geometry_msgs/msg/Twist "linear:
92-
x: 0.7
93-
y: 0.0
94-
z: 0.0
95-
angular:
96-
x: 0.0
97-
y: 0.0
98-
z: 1.0"
91+
ros2 topic pub --rate 30 /diffbot_base_controller/cmd_vel geometry_msgs/msg/TwistStamped "
92+
twist:
93+
linear:
94+
x: 0.7
95+
y: 0.0
96+
z: 0.0
97+
angular:
98+
x: 0.0
99+
y: 0.0
100+
z: 1.0"
99101
100102
You should now see an orange box circling in *RViz*.
101103
Also, you should see changing states in the terminal where launch file is started.

0 commit comments

Comments
 (0)