Problem
When starting RViz on the control PC the robot visual geometry can not be loaded since the file path is unknown. The robot is not displayed.
Could not load resource... Unable to open file: "file:///home/scara/bioscara/lib/ros2_ws/..../base_link.stl
This makes sense because on the control PC the /home/scara/bioscara directory does not exist. Its username is "scara-dev"
To reproduce
- Start the robot control node on the robot controller
- Start RViz on the control PC
Workaround
Use RViz via X-forwarding directly on the robot controller
Solutions
Find out why the control PC attempts to load from the "scara" directory and fix this
Problem
When starting RViz on the control PC the robot visual geometry can not be loaded since the file path is unknown. The robot is not displayed.
Could not load resource... Unable to open file: "file:///home/scara/bioscara/lib/ros2_ws/..../base_link.stlThis makes sense because on the control PC the /home/scara/bioscara directory does not exist. Its username is "scara-dev"
To reproduce
Workaround
Use RViz via X-forwarding directly on the robot controller
Solutions
Find out why the control PC attempts to load from the "scara" directory and fix this