unitree_ros/robots/z1_description/launch/z1_rviz.launch

25 lines
930 B
Plaintext
Raw Normal View History

2022-11-16 22:56:34 +08:00
<launch>
<!-- <arg name="user_debug" default="false"/> -->
<arg name="UnitreeGripperYN" default="true"/>
<param name="robot_description" command="$(find xacro)/xacro --inorder '$(find z1_description)/xacro/robot.xacro'
UnitreeGripper:=$(arg UnitreeGripperYN)"/>
<!-- for higher robot_state_publisher average rate-->
<!-- <param name="rate" value="1000"/> -->
<!-- send fake joint values -->
<node pkg="joint_state_publisher_gui" type="joint_state_publisher_gui" name="joint_state_publisher_gui">
<param name="use_gui" value="TRUE"/>
</node>
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher">
<param name="publish_frequency" type="double" value="1000.0"/>
</node>
<node pkg="rviz" type="rviz" name="rviz" respawn="false" output="screen"
args="-d $(find z1_description)/launch/setting.rviz"/>
</launch>