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
Define an enum class at the top of the subsystem and explicitly define all of its states. Each state represents one of the movements that the subsystem can physically do.
Create a void handleStateTransition method that contains an if statement that checks target height, current height, and tolerance to determine next state.