How can one remove a Parcel object from a Depot such that we can pick it up with a Vehicle? There is a method called addParcelIn(), but we cannot find its counterpart. Thanks!
Asked
Active
Viewed 104 times
1 Answers
0
The current version (RinSim 4.4.3) doesn't support picking up a Parcel
inside a Depot
. A workaround is to add the parcel to the RoadModel
at the same location as the depot, take a look at RoadModel.addObjectAtSamePosition(..)
. Pickups can then be done via PDPModel.pickup(..)
.

rinde
- 1,181
- 1
- 8
- 20
-
1Hi Rinde, thanks, that explains it :) We've build an own class to replace the depot, now it seems to do the trick! – blah_crusader May 05 '18 at 12:18