What exactly does root link mean, and why cannot ROS find it when I try to view a URDF file in RViz? [closed]
Hello, a complete beginner here. Apologies if the question seems rather trivial. I am trying to visualize a robot body in Rviz. Presently, there is a box link in the urdf for the body. When I open the file using Rviz with just the code for the box in the file, it works just fine. However, the moment I define the properties for a cylinder, it throws this error:
[ERROR] [1579466774.521440249]: Failed to find root link: Two root links found: [base] and [wheel]
[robot_state_publisher-3] process has died [pid 5100, exit code 1, cmd /home/raghav/simulation_ws/devel/lib/robot_state_publisher/state_publisher __name:=robot_state_publisher __log:=/home/raghav/.ros/log/ba7ca4e2-3afc-11ea-bcfb-0800279ea8aa/robot_state_publisher-3.log].
log file: /home/raghav/.ros/log/ba7ca4e2-3afc-11ea-bcfb-0800279ea8aa/robot_state_publisher-3*.log
[ERROR] [1579466775.761866608]: Failed to find root link: Two root links found: [base] and [wheel]
Running ROS melodic on Ubunutu 18.04 as a virtual machine.
Any help would be much appreciated!
Thanks
Raghav
this is not the cause of your current problem, but be aware that VMs are not going to give you the performance of a native install. Especially RViz (and other graphical tools, such as Gazebo) have been known to not be too stable when run in VMs.
Something to keep in mind.