Skip to content

Conversation

@VictorChen1-1
Copy link

Created new variables: currentPosition, goalPosition, error, power, p, d, errorOfPreviousStep, b, newGoalPosition
Simulation robot now tries to align itself with the red dot provided.
When robot goes past the red dot, it starts reversing to try it's best to align. When on the dot, speed is set to zero for a stop.

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