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

Error on testing Hokuo "UBG-04LX-F01" on hydro linux 12.04 by using this command "rosrun rviz rviz -d `rospack find hokuyo_node`/hokuyo_test.vcg"

asked 2016-04-08 16:07:48 -0500

SaraAshry gravatar image

updated 2016-04-09 03:34:54 -0500

gvdhoorn gravatar image

when I print this command

rosrun rviz rviz -d `rospack find hokuyo_node`/hokuyo_test.vcg

in my terminal (Note: My distribution of ROS is hydro and my linux version is 12.04).

This error appear:

$ rosrun rviz rviz -d `rospack find hokuyo_node`/hokuyo_test.vcg
[ INFO] [1460147347.794917828]: rviz version 1.10.20
[ INFO] [1460147347.794991170]: compiled against OGRE version 1.7.4 (Cthugha)
ERROR: the config file '/opt/ros/hydro/share/hokuyo_node/hokuyo_test.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.

I would be grateful if any one help me to solve this problem as soon as possible please send me the correct command

Best Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-04-08 20:17:49 -0500

ahendrix gravatar image

As the error message says, the rviz config for doing that validation is out of date, and there doesn't appear to be an updated version available.

As an alternative, you can run and set up rviz manually:

  • run rviz with the rviz command
  • set the "Fixed Frame" to "/laser"
  • add a "LaserScan" Display
  • set the topic name to "/scan" in the LaserScan display.
edit flag offensive delete link more

Comments

In case, there is no the option "/laser" in Fixed Frame, open a terminal and type this : rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map laser 100 before you will run rviz

dyupleks gravatar image dyupleks  ( 2016-04-16 10:39:18 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-08 16:07:48 -0500

Seen: 359 times

Last updated: Apr 09 '16