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:
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 ;)
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:
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
Would be glad if someone has any ideas of what to try next ;)