Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process died when spawning turtlebot3 entity in Gazebo11 #125

Closed
toknbr opened this issue Sep 30, 2020 · 0 comments
Closed

Process died when spawning turtlebot3 entity in Gazebo11 #125

toknbr opened this issue Sep 30, 2020 · 0 comments

Comments

@toknbr
Copy link

toknbr commented Sep 30, 2020

Hi there,

I installed ROS2 foxy on an Ubuntu 20.04 OS and followed the tutorial for the turtlebot3 setup (with ROS2). The only part I didn't do was the swap from gazebo11 which is installed at the first attempt to gazebo9, since I used the ROS2 foxy - Gazebo11 combination previously in a virtual environment without any problems. Now I am trying to setup the same environment on a real computer and I can start ROS nodes, I can open the gazebo framework, I can manually add turtlebots within gazebo but as soon as I use the /spawn_entity service with the turtlebot3 models or a launch file from turtlebot3_gazebo/worlds, gazebo crashes.

I get the error for example with the following command:

ros2 launch gazebo_ros gzserver.launch.py world:=~/turtlebot3_ws/src/turtlebot3/turtlebot3_simulations/turtlebot3_gazebo/worlds/empty_worlds/waffle_pi.model

And the output is:
[INFO] [launch]: All log files can be found below ~/.ros/log/...
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [gzserver-1]: process started with pid [6599]
[gzserver-1] Illegal instruction (core dumped)
[ERROR] [gzserver-1]: process has died [pid 6599, exit code 132, cmd 'gzserver ~/turtlebot3_ws/src/turtlebot3/turtlebot3_simulations/turtlebot3_gazebo/worlds/empty_worlds/waffle_pi.model -s libgazebo_ros_init.so -s libgazebo_ros_factory.so '].

The demo

ros2 launch gazebo_ros spawn_entity_demo.launch.py
works without any problems so I believe there has to be a problem in loading the turtlebot3 model files!?

Would be glad if someone has any ideas of what to try next ;)

@toknbr toknbr closed this as completed Oct 3, 2020
@toknbr
Copy link
Author

toknbr commented Oct 3, 2020

The problem was caused by a machine-dependent error, so problem is solved ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant