mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
Closes #6
This commit is contained in:
parent
5be262137c
commit
839643cc08
@ -69,7 +69,7 @@ public:
|
|||||||
//RobotInit{{{
|
//RobotInit{{{
|
||||||
void RobotInit(){
|
void RobotInit(){
|
||||||
DashboardSetup();
|
DashboardSetup();
|
||||||
upLimit=130.0;
|
upLimit=100.0;
|
||||||
//compressor.Start();
|
//compressor.Start();
|
||||||
shooting=false;
|
shooting=false;
|
||||||
compressing=true;
|
compressing=true;
|
||||||
@ -83,7 +83,7 @@ public:
|
|||||||
//DashboardSetup{{{
|
//DashboardSetup{{{
|
||||||
void DashboardSetup(){
|
void DashboardSetup(){
|
||||||
SmartDashboard::PutNumber("Throttle",throttle);
|
SmartDashboard::PutNumber("Throttle",throttle);
|
||||||
SmartDashboard::PutNumber("upLimit",120.0f);
|
SmartDashboard::PutNumber("upLimit",100.0f);
|
||||||
SmartDashboard::PutNumber("armPot",potToDegrees(armPot.GetAverageVoltage()));
|
SmartDashboard::PutNumber("armPot",potToDegrees(armPot.GetAverageVoltage()));
|
||||||
SmartDashboard::PutNumber("Log Level",1.0f);
|
SmartDashboard::PutNumber("Log Level",1.0f);
|
||||||
SmartDashboard::PutNumber("ArmSpeed",0.0);
|
SmartDashboard::PutNumber("ArmSpeed",0.0);
|
||||||
@ -91,9 +91,9 @@ public:
|
|||||||
SmartDashboard::PutNumber("Wall Left",voltToDistance(WallSonicLeft.GetAverageVoltage(),true));
|
SmartDashboard::PutNumber("Wall Left",voltToDistance(WallSonicLeft.GetAverageVoltage(),true));
|
||||||
//Autonomous values
|
//Autonomous values
|
||||||
SmartDashboard::PutNumber("AutoSpeed",0.95f);
|
SmartDashboard::PutNumber("AutoSpeed",0.95f);
|
||||||
SmartDashboard::PutNumber("Auto Distance",65.0f);
|
SmartDashboard::PutNumber("Auto Distance",45.0f);
|
||||||
SmartDashboard::PutNumber("Collector Speed",1.0f);
|
SmartDashboard::PutNumber("Collector Speed",1.0f);
|
||||||
SmartDashboard::PutNumber("AutoPower",0.46f);
|
SmartDashboard::PutNumber("AutoPower",0.855f);
|
||||||
SmartDashboard::PutNumber("AutoCorrection",0.032f);
|
SmartDashboard::PutNumber("AutoCorrection",0.032f);
|
||||||
SmartDashboard::PutNumber("Initial Drive Delay",2.0f);
|
SmartDashboard::PutNumber("Initial Drive Delay",2.0f);
|
||||||
SmartDashboard::PutNumber("Inital Drive Timeout",4.5f);
|
SmartDashboard::PutNumber("Inital Drive Timeout",4.5f);
|
||||||
|
Loading…
Reference in New Issue
Block a user