Ask Your Question
0

Was Gazebo started with GazeboRosFactory? error when launching urdf file

asked 2021-03-18 15:57:21 -0500

pablo.arandarod gravatar image

I'm trying to spawn my robot in Gazebo by using the following command:

ros2 run gazebo_ros spawn_entity.py -entity myentity -x 0 -y 0 -z 0 -file WorkSpace/src/urdf_screencast/urdf/urdf_screencast.urdf

In this command, I substituted WorkSpace with the path to the ROS workspace. When I execute this command, after waiting for the service /spawn_entity, it appears to have the error that gives the name to this post.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-03-24 12:07:43 -0500

clyde gravatar image

Make sure you load the libgazebo_ros libraries in Gazebo, e.g., gazebo -s libgazebo_ros_init.so -s libgazebo_ros_factory.so myworld.world

edit flag offensive delete link more

Comments

This worked for me

_Chris gravatar image _Chris  ( 2021-12-03 07:41:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-03-18 15:57:21 -0500

Seen: 493 times

Last updated: Mar 24 '21