robofit / arcor2

Solution for end-user programming of (collaborative) robots using Augmented Reality. From AR to Python and back!
GNU Lesser General Public License v3.0
15 stars 16 forks source link

Locking the same thing #851

Closed JosefKnize closed 6 months ago

JosefKnize commented 7 months ago

Sometimes client app end's up in faulty state where object is unlocked even thou it is locked on server. In this scenario server refuses any locking request for that object.

Quick fix would be for server to simply accept locking request if the requester owns the lock for that object.

ZdenekM commented 7 months ago

Thanks, probably a good idea. One just has to keep in mind that it is a workaround - in the first place, a client application should handle locking properly - it should know what is locked and by whom. So we can make it, but the server will print out a warning when this happens.