Skip to content

xacro file spawn in rviz2 but not in gazebo #42

@antwoor

Description

@antwoor

Describe your issue

I wrote a couple of xacro files describing manipulator and mobile platform and connect them. In rviz it shows properelly but not in gazebo.

https://github.com/antwoor/robotics_software_engineer/tree/assignments

Steps to reproduce ( commands you ran - in order )

cd module_3_assignment
colcon build --symlink-install
source install/setup.bash
ros2 launch module_3_assignment task3_gazebo.launch.py

What was the expected result?

[gazebo-5] [INFO] [1733403940.281243679] [gazebo_ros_node]: ROS was initialized without arguments.
[gazebo-5] [Msg] Waiting for master.
[gazebo-5] [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[gazebo-5] [Msg] Publicized address: 192.168.0.73
[gazebo-5] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/antwoor/moveit_ws/src/stone/config"
[gazebo-5] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/antwoor/moveit_ws/src/stone/launch"
[gazebo-5] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/antwoor/moveit_ws/src/stone/meshes"
[gazebo-5] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/antwoor/moveit_ws/src/stone/urdf"
[spawn_entity.py-6] [INFO] [1733403940.674543183] [spawn_robot]: Calling service /spawn_entity
[gazebo-5] [Msg] Waiting for master.
[gazebo-5] [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[gazebo-5] [Msg] Publicized address: 192.168.0.73
[gazebo-5] [Msg] Loading world file [/usr/share/gazebo-11/worlds/empty.world]
[gazebo-5] [Err] [Model.cc:123] Error Code 23 Msg: FrameAttachedToGraph error, Non-LINK vertex with name [model] is disconnected; it should have 1 outgoing edge in MODEL attached_to graph.
[gazebo-5] [Err] [Model.cc:123] Error Code 23 Msg: Graph with model scope has sink vertex named [model] when starting from vertex with name [model], which is not permitted.
[spawn_entity.py-6] [INFO] [1733403940.905351834] [spawn_robot]: Spawn status: SpawnEntity: Successfully spawned entity [combo_bot]

Put here any screenshots or videos link

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions