Skip to content

Commit 32f6a5f

Browse files
committed
added the rqt steering node
1 parent d53ec02 commit 32f6a5f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

mpc_ros_description/launch/differential_model.launch

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323

2424
<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model differential_bot -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -R $(arg roll) -P $(arg pitch) -Y $(arg yaw) -param robot_description" />
2525

26+
<!-- Launch a rqt steering GUI for publishing to /steer_bot/ackermann_steering_controller/cmd_vel -->
27+
<node pkg="rqt_robot_steering" type="rqt_robot_steering" name="rqt_robot_steering" >
28+
<param name="default_topic" value="/cmd_vel"/>
29+
</node>
30+
2631
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher">
2732
<param name="publish_frequency" type="double" value="50.0" />
2833
</node>

mpc_ros_description/launch/holonomic_model.launch

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
</include>
2222

2323

24+
<!-- Launch a rqt steering GUI for publishing to /steer_bot/ackermann_steering_controller/cmd_vel -->
25+
<node pkg="rqt_robot_steering" type="rqt_robot_steering" name="rqt_robot_steering" >
26+
<param name="default_topic" value="/cmd_vel"/>
27+
</node>
28+
2429
<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model holonomic_bot -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -R $(arg roll) -P $(arg pitch) -Y $(arg yaw) -param robot_description" />
2530

2631
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher">

0 commit comments

Comments
 (0)