di-huang / Amazon-Warehouse-System

Simplified version of the Amazon Warehouse System.
1 stars 1 forks source link

Wei Gui #13

Closed josephLeiferman closed 7 years ago

josephLeiferman commented 7 years ago

Close this ticket once getRouteWithShelf() has been implemented with the robot.

This method should be called only when a robot has picked up a shelf. Otherwise call getRoute(). As well as for this to work you need to update shelf location as soon as a collision occurs. This is so when you call getRouteWithShelf() the floor knows the most current spot of any shelves that it needs to avoid.

di-huang commented 7 years ago

I think I can work getRoute algorithm with you since I designed and wrote almost everything (including Robot) in the code of the final production (not production_unitTesting).

josephLeiferman commented 7 years ago

Huh? I already did both getRoute() and getRouteWithShelf() they just need to be used with the robot correctly.

di-huang commented 7 years ago

Now, I can't get contact with Wei Gun, maybe he's busy with other stuffs.

weigui commented 7 years ago

I'm now looking at it

di-huang commented 7 years ago

why not reply me on WeChat? xD

di-huang commented 7 years ago

SO just charge your phone. We meet tonight??

josephLeiferman commented 7 years ago

我可以懂你。

weigui commented 7 years ago

XDDDDDD

di-huang commented 7 years ago

@josephLeiferman I will try to make it compatible asap

di-huang commented 7 years ago

I just got up 30 mins ago xD (too tired)

josephLeiferman commented 7 years ago

Okay, sweet if you need help or have any question my phone number is in one of the issues.

di-huang commented 7 years ago

Just change getRoute() to getRouteWithShelf at two cases: headingToShelf and HeadingToPicker

di-huang commented 7 years ago

@josephLeiferman it works without that BUG now, but the new route would be kind of weird since it.. xD (see by your own)

weigui commented 7 years ago

@josephLeiferman Although the route is a little bit strange... It still works very well. Thanks for your effort! I'm closing this issue.

josephLeiferman commented 7 years ago

Yes the route might seem weird, I just changed the code so that if it finds that their is a shelf in its path it just goes the opposite direction then continues on..lol

josephLeiferman commented 7 years ago

Also I am just wondering, not saying we have to do this, but did we every try to do multiple robots?

weigui commented 7 years ago

Maybe we'll do it, maybe not

di-huang commented 7 years ago

@josephLeiferman we probably will not do multiple robots, because there's also only one robot simulated in professor's demo project. However, I think your finding-route-algorithm is able to handle the check-if-robot-collided problem since robot actually has a same attribute as shelf does (they both are entity and can not be passed through directly).

josephLeiferman commented 7 years ago

Okay not a problem, I was just curious I didn't think we would have time to anyways.