Experimental/Grace-Experimental/src/Robot.cpp
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INITIALIZATION

END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INITIALIZATION
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = INITIALIZATION
void Robot::RobotInit() {
	RobotMap::init();
    driveBase.reset(new DriveBase());
    lighting.reset(new Lighting());
    vision.reset(new Vision());
    navigation.reset(new Navigation());
    navAlt.reset(new NavAlt());
	oi.reset(new OI());
	chooser.AddDefault("Autonomous Command", new AutonomousCommand());
	SmartDashboard::PutData("Move forward 1sec @ 35%", new MoveForward(.35, 1));
	SmartDashboard::PutData("Turn left continuous", new TurnLeftContinuous());
	SmartDashboard::PutData("Turn right continuous", new TurnRightContinuous());
	SmartDashboard::PutData("Square dancing", new MoveInASquare());
}
void Robot :: RobotInit ( ) { RobotMap :: init ( ) ; driveBase . reset ( new DriveBase ( ) ) ; lighting . reset ( new Lighting ( ) ) ; vision . reset ( new Vision ( ) ) ; navigation . reset ( new Navigation ( ) ) ; navAlt . reset ( new NavAlt ( ) ) ; oi . reset ( new OI ( ) ) ; chooser . AddDefault ( " " , new AutonomousCommand ( ) ) ; SmartDashboard :: PutData ( " " , new MoveForward ( .35 , 1 ) ) ; SmartDashboard :: PutData ( " " , new TurnLeftContinuous ( ) ) ; SmartDashboard :: PutData ( " " , new TurnRightContinuous ( ) ) ; SmartDashboard :: PutData ( " " , new MoveInASquare ( ) ) ; }
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INITIALIZATION
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = INITIALIZATION
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
 // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
 // This MUST be here. If the OI creates Commands (which it very likely
 // will), constructing it during the construction of CommandBase (from
 // which commands extend), subsystems are not guaranteed to be available
 // yet. Thus, their requires() statements may grab null pointers. Bad
 // news. Don't move it.
 // instantiate the command used for the autonomous period
 // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS
 // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS
 // SmartDashboard Buttons for commands in practice mode.
