Open atinfinity opened 3 years ago
I have this same issue on the same Environment.
~/ws_ROS2/src/urdf_tutorial$ ros2 run gazebo_ros spawn_entity.py -file $HOME/ws_ROS2/src/urdf_tutorial/urdf/05-visual.urdf -entity 05
[INFO] [1620056439.733433900] [spawn_entity]: Spawn Entity started
[INFO] [1620056439.734061900] [spawn_entity]: Loading entity XML from file /home/user/ws_ROS2/src/urdf_tutorial/urdf/05-visual.urdf
[INFO] [1620056439.738093900] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30
[INFO] [1620056439.739691600] [spawn_entity]: Waiting for service /spawn_entity
[INFO] [1620056439.752784100] [spawn_entity]: Calling service /spawn_entity
[INFO] [1620056439.923853000] [spawn_entity]: Spawn status: SpawnEntity: Successfully spawned entity [05]
A model named "05" is loaded in Gazebo model tab, but it is not visible in the world.
@newcanopies Thank you for your information. I converted from URDF to SDF to avoid this issue.
@newcanopies I don't use moveit2. So, I used model file properly as follows.
check your ~/.gazebo/client-xxxx
for a default.log
file. it should contain your issue. What helped me was moving my package into ~/.gazebo/models/
directory, and I wonder how we do that in the ros2 launch file.
Description
I tried to spawn URDF model using gazebo_ros. But, I could not spawn URDF model.
To Reproduce
I used https://github.com/ros/urdf_tutorial/blob/master/urdf/05-visual.urdf.
The message of this command is as follows.
Expected behavior
I expected that
05-visual.urdf
spawns in Gazebo world.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
glxinfo | grep 'server glx vendor'
(glxinfo is in mesa-utils package for Debian/Ubuntu)Additional context
I found related issue.