need code for the robot to move boxes 5cm x 5cm x5cm. First identify the locations of the black and white boxes there and then arrange all the white boxes on the right hand side and all the black on the left hand side. boxes will be placed randomly when start. The End square can temporarily hold a box while the exchanging the boxes positions. The robot has one arm. After placing the boxes correctly the robot should proceed to the End square and stop.
Expand on that bit first.
When do we have to hand in our assignment?
Two dimensional boxes?
Edit: thinking about it, you should ignore the "robot" and simply write the code as a simulation using an array.
HTH
sorry 5cm x 5cm x 5cm.
15th March 2023.
I can move first white box from left side to end area and take first black box from right side. From there I have a problem how to move it to left side through shortest path.
Ignore the robot, just write a simulation.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.