-
Notifications
You must be signed in to change notification settings - Fork 276
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
Crash after respawn using sensors #1489
Comments
Actually, this is almost exact same as #1473 but this one required to clear the entity of camera RGB. I found the site: https://gazebosim.org/api/msgs/6.1/classignition_1_1msgs_1_1EntityFactory.html#a9bde302c3181bfcafce2cc1442c2c860 Attempted several like: I think this is what would make the "reset" come true Still trying stuff |
Closing since this is not bug and this belongs to answers gazebo com |
Wait, no. This issue is actually belongs to here now. When I tried to clear entities through ign service,
I was able to respawn the robot through command line only. See here without ogre2 plugin vid1.mp4See how I just spammed to respawn it over and over. No problem. I can do it all day. The problem with this is that it is unable to read sensors such as camera RGB So to be able to read those sensors, it needs to have a plugin like this:
So see the video where it ran with a plugin vid1.mp4Boom, crashed :( It was due to unable to register a new camera RGB in entitymanager. See here:
So, I tried to remove it using ign service
I tried several include this: No luck. I tried They just return error like this (using or returns nothing but says I believe this would resolve the respawn issue if entitymanager can be accessed and removed everytime it loads. Is there any way we can access to remove the rgb camera memory in the entity manager at any time using ign service? |
Closing since it's pretty much duplicated. Moving to #1107 |
Environment
This issue is somewhat mixed with #1107 and #959
The issue is that this stores the RGB camera in
SceneManager::createCamera
. I was able to load this if I remove this linewhich is located in free_world.sdf at line #249.
The problem is that when I load it without that plugin, I won't be able to read sensors. So when I added it, it cause issue after respawn due to registered the camera from the previous model. I believe that if there's somewhat unregister this entity would solve the issue.
Description
Steps to reproduce
Command line only
CRASHED!
I feel like this is more of mixed bug and enhancement. I don't know, I will let you decide that.
Output
You can use this zip.
delete_this.zip
The text was updated successfully, but these errors were encountered: