Open
Description
With our current implementation of Search. If the bridge/tunnel is placed on the x-axis.
- The Scan method should turn counter-clockwise instead of clockwise. I test it and it was scanning the region outside our search region. It is the expected behaviour if the robot is placed on the y-axis but not on the x-axis.
- One possible fix is to have a flag in our scan method to check whether the bridge is placed on the y-axis or x-axis and rotate appropriately.
- The Method goToNextPoint is not working on the x-axis but no issue in the y-axis.
private void goToNextPoint() { sleepThread(300); sleepThread(100);
Behaviour on the x-axis: Instead of making a square it was just moving doing the first line of the square and turn to do the same line again and again.
Expected Behaviour: Make a square and Search.
@RemiENG you can fix the second problem if you have time. I will work on the first problem.