-
Notifications
You must be signed in to change notification settings - Fork 451
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
Spawn #154
Comments
Hi @y2d2 $ sudo apt-get install ros-noetic-gazebo-ros*
|
hi @ROBOTIS-Will , Thanks for trying to reproduce the error.
And it installed some additional libraries, but unfortunately the error remained. (I'm also not convinced it has to do with Gazebo since the other robot simulation does not have this particular error.) Anyway I proceeded to remove gazebo and reinstalled gazebo Had to reinstall xacro as well Yet the issue still remains.... I'm quite sure i have a clean and fresh system since I use a docker, which its only purpose is to run simulations. Maybe it has to do with the .urdf file ? I noticed they are part of the turtlebot3 package and not the turtlebot3-simulation package. Which branch should I use for this git? ( I tried the main and the noetic-devel. same error though so not sure it is this neither.) |
Oh, sorry about that. I mistakenly assumed that you have follows all installation steps in the eManual.
or
Thank you. |
So just to be clear as mentioned in the previous communication I did clone this git (git clone -b noetic-devel https://github.com/ROBOTIS-GIT/turtlebot3.git) into my workspace. I tried with both the master branch and the noetic-devel branch. I also tried to install them directly through apt. In all 3 case I have the same failure. I did not know about the eManual.
Used catkin_make to build without error sourced the catkin_ws (./devel/setup.bash) Same error... Not sure what is going wrong. Cheers, Yuri |
@y2d2 |
Yes it is running in a docker container. I tried now to separate the commands: Maybe this might give some more clues on what might go wrong? Just to be sure here are some of the version of the setup: ros_ Gazebo_ __Ros_gazebo Cheers and thanks al ready for the effort ! Yuri |
@y2d2 |
I have the same problem, did you solve the problem? started roslaunch server http://localhost:42129/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 1d190a30-d84f-11ed-b4a2-7cd30a92f045 |
Same problem again. It happened as @y2d2 said. No matter installed in apt or make from source. And the tf tree only have odom and base_footprint. |
I thought the node will publish the tf before, while it's my fault. I launch the state publish node so I can get the tf, and the spawn node crashed didn't seem to have any effect. The spawn node just died after send the urdf to gazebo, is it right? |
Not sure If I should post this here, but i have an issue running the following command on a clean ubuntu 20.04 ros-noetic environment:
roslaunch turtlebot3_gazebo turtlebot3_world.launch
I got following error message :
[ERROR] [1619030586.067723, 0.001000]: Spawn service failed. Exiting. Illegal instruction (core dumped)
[gazebo-2] process has died [pid 71, exit code 132, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver -e ode /home/yuri/Documents/PhD/ROS_WS/noetic/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/turtlebot3_world.world __name:=gazebo __log:=/root/.ros/log/6408ec9a-a2d1-11eb-a88b-6c626d47bfc2/gazebo-2.log]. log file: /root/.ros/log/6408ec9a-a2d1-11eb-a88b-6c626d47bfc2/gazebo-2*.log
[spawn_urdf-4] process has died [pid 83, exit code 1, cmd /opt/ros/noetic/lib/gazebo_ros/spawn_model -urdf -model turtlebot3_burger -x -2.0 -y -0.5 -z 0.0 -param robot_description __name:=spawn_urdf __log:=/root/.ros/log/6408ec9a-a2d1-11eb-a88b-6c626d47bfc2/spawn_urdf-4.log]. log file: /root/.ros/log/6408ec9a-a2d1-11eb-a88b-6c626d47bfc2/spawn_urdf-4*.log
I get this error independent whether I install the packages through apt or if I build the master or noetic-devel branch from this git.
The spawn_urdf-4*.log mentions this error:
...
[rospy.internal][INFO] 2021-04-21 18:43:05,023: topic[/clock] adding connection to [http://Ares:39871/], count 0
[rospy.internal][WARNING] 2021-04-21 18:43:06,069: Unknown error initiating TCP/IP socket to Ares:42191 (http://Ares:39871/):
Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 560, in connect self.socket.connect((dest_addr, dest_port)) ConnectionRefusedError: [Errno 111] Connection refused
[rospy.internal][INFO] 2021-04-21 18:43:06,070: topic[/clock] removing connection to http://Ares:39871/
I tried the same with a clean ubuntu 18.04 melodic environment and there it works fine.
I also tried a similar simulation with a different robot in the ubuntu 20.04 ros-noetic environment and it works fine as well.
Maybe I overlooked something simple ?
Cheers,
y2d2
The text was updated successfully, but these errors were encountered: