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

Bug fixes and code clean-up #12

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Bug fixes and code clean-up #12

wants to merge 20 commits into from

Conversation

mihirlaud
Copy link
Member

Found and fixed bugs while testing. Cleaned up code to prep for adding turns and other movements

@mihirlaud
Copy link
Member Author

This PR now also includes turning movements. Right-clicking switches "modes" between linear and angular motion. Once in the turning mode, the user can move the cursor around to determine where the robot will turn to face.

As of now, turns assume that the robot is facing the same direction as the arrow created for the movement prior to the turn. Also, turn angles are in the interval [-180, 180], with the GUI defaulting to whichever turn is smaller to achieve the desired angle.

@mihirlaud mihirlaud requested a review from BennyBot April 10, 2022 22:15
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.

2 participants