This repository has been archived by the owner on Dec 24, 2018. It is now read-only.
-
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.
Stop driving forward without any joystick controls
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 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
@evanmyersflow I'm not sure this makes any sense and it could cause severe problems:
Let's pseudocode it:
Also, the only reason we have a MIN_SPEED is so our original equation above makes sense (gotta look at it on Desmos for it to make sense). Not sure if you tested this, but it could be very bad. From what I can simulate in my mind, it would only allow people to go at speeds below MIN_SPEED (which, in that case would better be named MAX_SPEED), but given that MIN_SPEED is so low the robot likely won't move at all. I hope you tested this or will test it (with robot physically moving on the ground, not on a tote) before IHS celebration.