You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
Create borders which limit the values entering a method.
Specifically, we need to limit negative values entering the conveyor when intaking, and positive values when outtaking. If we fail to prevent these cases, we will reach many infinite commands and illogical methods.
One suggestion is to split the setPowers, so that they will always face the position they are intended to turn to.
The text was updated successfully, but these errors were encountered:
That isn't what we need. we want the intake motor to spin both ways, but only spin inwards in the intake command, so there should be a check about a negative value there, or force it to be positive
OK, this explanation is more specific…
You could still set temporary nominal output limits, although I don't recommend that.
Anyway, I still recommend using the motor controllers' configs in places they fit, to make sure your subsystems don't break or smoke.
Create borders which limit the values entering a method.
Specifically, we need to limit negative values entering the conveyor when intaking, and positive values when outtaking. If we fail to prevent these cases, we will reach many infinite commands and illogical methods.
One suggestion is to split the setPowers, so that they will always face the position they are intended to turn to.
The text was updated successfully, but these errors were encountered: