jku-isse / factory-in-a-box

Code and Models for developing Factory in a Box LIT Artifact Call
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Turntable stuck in execute #53

Closed mrkrizic closed 4 years ago

mrkrizic commented 4 years ago

For some reason TT2 is the only one affected by this bug. It turns to the destination and enters the checkTurningPositionReached method. In some cases either the orientation is wrong internally or isRotationFinished never returns true. It now is stuck in an infinite loop causing a deadlock every now and then requiring a restart.

mrkrizic commented 4 years ago

Since the orientation is set before checkTurningPosition is called the isRotationFinished method is the cause of this unwanted bahaviour