mirror of
https://github.com/brendanhaines/mecanum.git
synced 2024-12-25 18:38:12 -07:00
removes unnecessary putBoolean() calls and changes options from 'Disabled'/'Enabled' to 'Buddy Box Disabled'/'Buddy Box Enabled'
This commit is contained in:
parent
06dc04c240
commit
984e1ff67e
|
@ -71,13 +71,10 @@ public:
|
|||
ds = DriverStation::GetInstance();
|
||||
lw = LiveWindow::GetInstance();
|
||||
|
||||
SmartDashboard::PutBoolean( "Buddy Box Enabled", false );
|
||||
SmartDashboard::PutBoolean( "Slave Controls Speed", false );
|
||||
|
||||
BuddyBoxEnableChooser = new SendableChooser();
|
||||
BuddyBoxEnableChooser->AddDefault( "Disabled", (void*) false );
|
||||
BuddyBoxEnableChooser->AddObject( "Enabled", (void*) true );
|
||||
SmartDashboard::PutData( "Buddy Box Enable", BuddyBoxEnableChooser );
|
||||
BuddyBoxEnableChooser->AddDefault( "Buddy Box Disabled", (void*) false );
|
||||
BuddyBoxEnableChooser->AddObject( "Buddy Box Enabled", (void*) true );
|
||||
SmartDashboard::PutData( "BuddyBoxEnableChooser", BuddyBoxEnableChooser );
|
||||
|
||||
SlaveSpeedControlChooser = new SendableChooser();
|
||||
SlaveSpeedControlChooser->AddDefault( "Trainer Controls Speed", (void*) false );
|
||||
|
|
Loading…
Reference in New Issue
Block a user