mirror of
https://github.com/brendanhaines/mecanum.git
synced 2024-12-26 10:58:00 -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();
|
ds = DriverStation::GetInstance();
|
||||||
lw = LiveWindow::GetInstance();
|
lw = LiveWindow::GetInstance();
|
||||||
|
|
||||||
SmartDashboard::PutBoolean( "Buddy Box Enabled", false );
|
|
||||||
SmartDashboard::PutBoolean( "Slave Controls Speed", false );
|
|
||||||
|
|
||||||
BuddyBoxEnableChooser = new SendableChooser();
|
BuddyBoxEnableChooser = new SendableChooser();
|
||||||
BuddyBoxEnableChooser->AddDefault( "Disabled", (void*) false );
|
BuddyBoxEnableChooser->AddDefault( "Buddy Box Disabled", (void*) false );
|
||||||
BuddyBoxEnableChooser->AddObject( "Enabled", (void*) true );
|
BuddyBoxEnableChooser->AddObject( "Buddy Box Enabled", (void*) true );
|
||||||
SmartDashboard::PutData( "Buddy Box Enable", BuddyBoxEnableChooser );
|
SmartDashboard::PutData( "BuddyBoxEnableChooser", BuddyBoxEnableChooser );
|
||||||
|
|
||||||
SlaveSpeedControlChooser = new SendableChooser();
|
SlaveSpeedControlChooser = new SendableChooser();
|
||||||
SlaveSpeedControlChooser->AddDefault( "Trainer Controls Speed", (void*) false );
|
SlaveSpeedControlChooser->AddDefault( "Trainer Controls Speed", (void*) false );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user