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 status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name simple_arm #864
Comments
I have the same problem as you,have you fixed it? |
I have fixed this issue with following PR: |
I may have the solution for this, and it is absurdly simple: So, go to the world file, find "sim_time" and change its value to 0. It doesn't matter if you also change the "real_time" since it will reset itself upon gazebo start-up. The worst thing about this issue is that it really is not an issue. Gazebo will still simulate and everything will work, but that error message will haunt you forever even there really are no issues. I tried delaying the spawn_model node prior to this solution for like 5 seconds link. My ekf_localization node throws an error: It took me hours just to realize that the sim time was not reset, then I edited the world file and the warning from ekf_localization went away. Sorry I went on for too long as this issue drove me nuts, I've been looking for the solution on and off for like half a year now. I hope this helps. |
Just found out that this can also be caused due to inconsistent environment(s). I'm using macOS and using ros through the packages at conda/robostack. Due to upgrading some packages outside of the environment caused the gazebo version to upgrade from 11.10.1 (installed automatically with the complete ros installation) to 11.10.2 and that was causing problems for me. Just reinstalling the correct version of gazebo solved it for me. |
@wakoko79 So just to confirm, I changed the line that looked like this:
to this:
The error is gone now, but any ideas why the spawning of a robot fails due to changes in environment world files (not sure if this is the same for everyone, but in mycase the robot spawn node dies.) Also some times I can see the robot is present in the gazebo simulation, and i can see the laser scan for example also in rviz. Not sure what fails in that case? |
I am using ROS melodic with python3 on macOS. (gazebo_ros 2.8.4)
I got the error mesage when
roslaunch simple_arm this_launch_file
(https://github.com/udacity/simple_arm)
But when I run two launch files seperately, it is ok.
One launch file without spawn_model part and the other launch file only with spawn_model part.
There seems to be some timing issue.
The text was updated successfully, but these errors were encountered: