-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to this fix, every angle was calculated as if the robot were always facing right. This fix introduces a new ComplexAngle type and now uses the robot's previous angle to calculate the next one, as it should be. The code generated for turns should now be completely accurate.
- Loading branch information
Showing
1 changed file
with
115 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters