Climber's climbUp, climbDown, and climbStop functions have a speed parameter that is unused. Since all three of these functions basically do the same thing, they should be combined into one function that sets the motor controller to the passed speed parameter. This way we also satisfy the requirement of having the ability to climb at a slow and fast speed
Climber's climbUp, climbDown, and climbStop functions have a speed parameter that is unused. Since all three of these functions basically do the same thing, they should be combined into one function that sets the motor controller to the passed speed parameter. This way we also satisfy the requirement of having the ability to climb at a slow and fast speed