ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

how creat urdf.rviz file for my urdf file?

asked 2016-11-30 00:47:13 -0500

zakizadeh gravatar image

hi i using SolidWorks to URDF Exporter and creat urdf file . how creat urdf.rviz ? it is my display.launch :

  <arg name="model" />
  <param name="robot_description" textfile="$(find wrist)/urdf/wrist.urdf" />
  <param name="use_gui" value="true" />
  <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 wrist)/urdf.rviz" required="true" />

i have urdf file and meshes file but i do not have urdf.rviz file . how creat urdf.rviz file ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-30 05:35:28 -0500

gvdhoorn gravatar image

The .rviz files contain configuration information for RViz (which displays to load, how they are configured, etc).

You can create one by just starting RViz, configuring it as you would like (ie: add some displays, perhaps for Robot Model if you want to visualise your robot's state, etc), then click File -> Save Config As.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-30 00:47:13 -0500

Seen: 329 times

Last updated: Nov 30 '16