I started my own rosject recently and have been trying to launch a URDF file in Rviz. I don’t get any errors and yet I don’t see Rviz launching either. Is there some system settings I need to do before I launch Rviz?
I first created a package using catkin_create_pkg pkg_name rospy rviz controller_manager gazebo_ros joint_state_publisher robot_state_publisher
Then created a .urdf file and a visualize.launch file. I don’t see any errors showing up when I launch nor do I see GUI tool to start.
Try to comment out the Rviz node in the launch file and try launching Rviz in a new terminal with rosrun rviz rviz.
If that works correctly, then uncomment the rviz node line in the launch file and remove the args="" tag.
So <node name="rviz" pkg="rviz" type="rviz" args=""/> would change to <node name="rviz" pkg="rviz" type="rviz"/>
I understand that you are working on your own project - something relating to a robot with RF identification device.
The usage is mentioned in the launch file itself, in this line: <!-- USE: roslaunch some_rfid visualize.launch model:='$(find myrobot_package)/urdf/myrobot.urdf' -->
That is why your launch file works correctly with the model:=... argument.
That is because your launch file required a reference to the robot’s urdf file.
This you can ignore, it has something to with (Gnome) display driver(s).