Update README.md

This commit is contained in:
Titan Robotics Club
2024-06-07 13:35:37 -07:00
committed by GitHub
parent 6018c3f023
commit 7a287b82a9

View File

@ -54,7 +54,6 @@ Once the drive base is fully functional, the next step is to create subsystems f
.setPositionScaleAndOffset(RobotParams.SLIDE_INCHES_PER_COUNT, RobotParams.SLIDE_OFFSET)
.setPositionPresets(RobotParams.SLIDE_PRESET_TOLERANCE, RobotParams.SLIDE_PRESETS);
slideMotor = new FtcMotorActuator(RobotParams.HWNAME_SLIDE, slideParams).getActuator();
slideMotor.setSoftPositionLimits(RobotParams.SLIDE_MIN_POS, RobotParams.SLIDE_MAX_POS, false);
//
// Delete or comment out the following three statements if you want to use motor native PID control
// (aka RUN_TO_POSITION) instead of software PID control.