Home | Tutorials | Wiki | Issues
Ask Your Question

Gazebo elevator problem

asked 2018-10-19 02:26:58 -0600

Valoubg69 gravatar image

updated 2018-10-22 15:48:34 -0600

Hello eveyrone, I am trying to implement an elevator in my world file. For that I am using the file elevator.world, but the problem is that I would like to put the elevator in another position instead of (0,0,0,0,0,0) but when I move the elevator in another place, the elevator doesn't work anymore. I don't really know where it's come from so if somebody have some idea or a solution to give me it will be great thank you :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-23 03:13:17 -0600

kumpakri gravatar image

updated 2018-10-23 03:15:07 -0600

Do I understand correctly, that you are using the example from this article? And the elevator is dependent on OccupiedEvent plugin. If you search through the documentation of this plugin, you will find those lines

    <plugin filename="libSimEventsPlugin.so" name="event_plugin">
          <min>1.5 -1 0</min>
          <max>2.5 1 1</max>


As you can see, apart of the plugin controlling the elevator behavior, you use also plugin giving the information to the elevator plugin. Unless you edited also the region1, the elevator still scans the presence of an object at the original area.

You would need to edit the region1 coordinates to match the exit of your shifted elevator.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-10-19 02:26:58 -0600

Seen: 230 times

Last updated: Oct 23 '18