ROS小白碰壁记之1 rviz

来源:互联网 发布:淘宝卖家规则大全2017 编辑:程序博客网 时间:2024/06/14 01:33

今天开始学习导航与路径规划。
跟着古神的教程来做,在rviz的显示上出现问题。[ROS探索十二-坐标系统]
(http://blog.csdn.net/liweibin1994/article/details/53115639)

$ rosrun rviz rviz -d `rospack find turtle_tf`/rviz/turtle_rviz.vcg[ INFO] [1508465106.163373359]: rviz version 1.12.13[ INFO] [1508465106.163415015]: compiled against Qt version 5.5.1[ INFO] [1508465106.163425542]: compiled against OGRE version 1.9.0 (Ghadamon)ERROR: the config file '/opt/ros/kinetic/share/turtle_tf/rviz/turtle_rviz.vcg' is a .vcg file, which is the old rviz config format.       New config files have a .rviz extension and use YAML formatting.  The format changed       between Fuerte and Groovy.  There is not (yet) an automated conversion program.

查到解决方法
RVIZ解决方法

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

暂置 再遇到再试。

解决:rosrun rviz rviz -drospack find rbx1_nav/sim.rviz

原创粉丝点击