一.报警现象:
... logging to /home/joes/.ros/log/8d277192-0c52-11ec-8a4d-14f6d8d77445/roslaunch-joes-4758.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://joes:41227/
SUMMARY
========
PARAMETERS
* /robot_description: <?xml version="1....
* /rosdistro: kinetic
* /rosversion: 1.12.17
* /use_gui: False
NODES
/
joint_state_publisher (joint_state_publisher/joint_state_publisher)
robot_state_publisher (robot_state_publisher/state_publisher)
rviz (rviz/rviz)
auto-starting new master
process[master]: started with pid [4769]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 8d277192-0c52-11ec-8a4d-14f6d8d77445
process[rosout-1]: started with pid [4782]
started core service [/rosout]
process[joint_state_publisher-2]: started with pid [4785]
process[robot_state_publisher-3]: started with pid [4786]
process[rviz-4]: started with pid [4788]
ERROR: the config file '/opt/ros/kinetic/share/urdf_tutorial/urdf.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-4] process has died [pid 4788, exit code 1, cmd /opt/ros/kinetic/lib/rviz/rviz -d /opt/ros/kinetic/share/urdf_tutorial/urdf.vcg __name:=rviz __log:=/home/joes/.ros/log/8d277192-0c52-11ec-8a4d-14f6d8d77445/rviz-4.log].
log file: /home/joes/.ros/log/8d277192-0c52-11ec-8a4d-14f6d8d77445/rviz-4*.log
2.解决方法:
使用的rviz版本过老,只需要将/opt/ros/kinetic/share/urdf_tutorial/urdf.vcg中的文件最后一行的.cfg改为.rviz即可解决.