This file replaces the old "how to set up your system" page that wasn't useful or completely accurate. Thanks, Eric. -.-
REV 2 : Updated at 7:35am @ the hotel
CHANGES SINCE REV 1 HAVE NOT BEEN TESTED!
- None as of yet
RightSideQuadratureand other encoder information for the right half of the drive train, since we need it for the elevator.
REV 1 : Updated at 9:01pm @ Bryant University
THESE CHANGES HAVE NOT BEEN TESTED YET!
- Deferment Autos
- Used for when the bot starting in the right position has a consistent right-side auto.
- Two autonomous modes:
DeferScaleRightandDefereScaleRightNoSwitch - Both autos examine the field locations at initialization. If the scale is on the left, the auto runs the default left-scale auto. If the scale is on the right, the auto examines which orientation the switch is in. If on the left, the auto will place the cube in the switch. If on the right,
DeferScaleRightwill attempt to place the cube in the right side, whileDeferScaleRightNoSwitchwill not.
- New Shuffleboard Stuff
MATCH INFO- Shows
MatchTypeandMatchNumberfrom the DriverStation - Mostly for when examining logs and match performance, a visual cue as to which match the bot was on is recrded
- Shows
TIME LEFT- Displays the approximate time left in the match (straight from
DriveTrain::GetInstance().GetMatchTime()). - May use this number in the future to toggle a bool-box on the dashboard to indicate time to climb.
- Displays the approximate time left in the match (straight from
- Renamed
GyrotoGYROto match other field-information case scheme.
- Made
Elevator::GoToPosition()(hopefully) scale speeds to locations other than the very top of the elevator - useful for switch auto. - Made
drivetrain->SetEncoder()perform the while loop to reset the encoders, rather than have every use of the function wrapped in a while loop. - Added new motor to
Elevator- Renamed
MotortoMotorA- addedMotorB - Removed
TRAYCANmacro and addedLIFTCAN2macro to RobotMap.h
- Renamed
- Fixed a mistake in
FieldInforegarding localints in the initialize function.
Error,StartingPositionChooserand CommandButtons from Shuffleboard- Also removed corresponding Commands from Robot.cpp but not from the project (just in case)
- Unused headers from Robot.cpp
- Lots of commented-out code that will not be used
- Removed lots of unnecessary
SmartDashboard::Putcalls