robocup-logistics / gazebo-rcll

Gazebo Models, Plugins, and World Files for the RoboCup Logistics League
GNU General Public License v2.0
17 stars 12 forks source link

Fix, crashing on prepare with no workpiece #20

Closed MostafaGomaa closed 4 years ago

MostafaGomaa commented 4 years ago

Fixing #19

preparing an RS without putting a workpiece on its input crashes/freezes the simulation. The reason is that the MPS plugin tries to move the workpiece from the input to the output, but there is no workpiece. This has been observed with the RS, but may also occur for other MPS types.