roslaunch时报警:.vcg file, which is the old rviz config format

一.报警现象:

... 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即可解决.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值