gazebo_simulation_ros_package/gazebo_demo1/launch/display.launch

11 lines
494 B
XML

<launch>
<arg name="model" />
<arg name="gui" default="true" />
<param name="robot_description" textfile="$(find gazebo_demo1)/urdf/gazebo_demo1.urdf" />
<param name="use_gui" value="$(arg gui)" />
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find gazebo_demo1)/urdf.rviz" />
</launch>