semitable/robotic-warehouse

Check for whether agent is unloading shelf at a location where another shelf is already present.

Closed this issue · 2 comments

Hi. I am working on a project where I need to modify some of your source code. While going through it, I noticed that you do a check when you toggle load for unloading, to ensure that it does not unload on a highway. From what I can understand a highway is defined as any place not instantiated as a shelf location.

However, I do not see a check for whether you are trying to unload at a location where a shelf is already present.
image

Is that check not done? Is it possible to unload at a non-empty shelf location? Or do you do this check somewhere or maybe define shelf locations already containing a shelf as a highway?

Thank you!

Sorry, looking deeper into the code, I think I understand it now. Thanks.

Hi @aryu99. I think an agent can never move into a location containing a shelf while carrying a shelf (this is handled by the collision code) :)