Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented the RobotRoute class method moveRobot logic using while, … #1283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dudumargato
Copy link

…if, else if, and switch operators. The general algorithm is as follows: The robot stays in the loops until its X and Y coordinate reaches the target coordinate. If the coordinate is not met, the robot rotates in the appropriate direction or moves forward.

…if, else if, and switch operators. The general algorithm is as follows: The robot stays in the loops until its X and Y coordinate reaches the target coordinate. If the coordinate is not met, the robot rotates in the appropriate direction or moves forward.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant