Skip to content

Error with scene in tutorials #12

Closed
@Chemaslane

Description

@Chemaslane

I have downloaded the ur_tutorials and I'm trying to make it work, following the instructions in the Ros 2 documentation. Specifically, after building and sourcing the workspace, I’m running these three launch files in separate terminals, just as indicated in the documentation:

ros2 launch my_robot_cell_control start_robot.launch.py launch_rviz:=false
ros2 launch my_robot_cell_moveit_config move_group.launch.py
ros2 launch my_robot_cell_moveit_config moveit_rviz.launch.py

Rviz is launched in the last terminal, and I can move the robot using MoveIt. However, none of the scene objects beyond the robot are loaded. In fact, in the console of the third terminal, I see messages such as:

[rviz2-1] Error: Semantic description is not specified for the same robot as the URDF
[rviz2-1] at line 681 in ./src/model.cpp
[rviz2-1] Warning: Link 'monitor' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'monitor' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'monitor' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'monitor' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'table' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'table' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'table' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 589 in ./src/model.cpp
[rviz2-1] Warning: Link 'wall' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 594 in ./src/model.cpp
[rviz2-1] Warning: Link 'wall' is not known to URDF. Cannot disable/enable collisons.
[rviz2-1] at line 594 in ./src/model.cpp

and

[rviz2-1] [WARN] [1742918755.310445642] [moveit_planning_scene.planning_scene]: Setting the scene for model 'my_robot_cell' but model 'ur20' is loaded.
[rviz2-1] [WARN] [1742918755.560518273] [moveit_planning_scene.planning_scene]: Setting the scene for model 'my_robot_cell' but model 'ur20' is loaded.
[rviz2-1] [WARN] [1742918755.810602278] [moveit_planning_scene.planning_scene]: Setting the scene for model 'my_robot_cell' but model 'ur20' is loaded.
[rviz2-1] [WARN] [1742918756.060630084] [moveit_planning_scene.planning_scene]: Setting the scene for model 'my_robot_cell' but model 'ur20' is loaded.

I've been trying to fix it, but I hadn't worked with ROS 2 before, so I'm a bit lost.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions