mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Fix slight style issues to meet current standards.
This commit is contained in:
parent
b5460f9b1e
commit
5663ba3fec
@ -10,9 +10,9 @@ Elevator* CommandBase::elevator = NULL;
|
||||
BinElevator* CommandBase::binElevator = NULL;
|
||||
Pneumatics* CommandBase::pneumatics=NULL;
|
||||
OI* CommandBase::oi = NULL;
|
||||
CommandBase::CommandBase(char const *name) : Command(name) {
|
||||
CommandBase::CommandBase(char const *name) : Command(name){
|
||||
}
|
||||
CommandBase::CommandBase() : Command() {
|
||||
CommandBase::CommandBase() : Command(){
|
||||
}
|
||||
void CommandBase::init(){
|
||||
drivetrain = new Drivetrain();
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "OI.h"
|
||||
#include "WPILib.h"
|
||||
|
||||
class CommandBase: public Command {
|
||||
class CommandBase: public Command{
|
||||
public:
|
||||
CommandBase(char const *name);
|
||||
CommandBase();
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* Features a 4-motor collector, 4-motor mecanum drivetrain, two one-motor elevators
|
||||
*/
|
||||
class DentRobot: public IterativeRobot {
|
||||
class DentRobot: public IterativeRobot{
|
||||
private:
|
||||
/**
|
||||
* @brief The default driving command
|
||||
|
3
OI.h
3
OI.h
@ -7,8 +7,7 @@
|
||||
/**
|
||||
* @brief Controls the robot with joysticks
|
||||
*/
|
||||
class OI
|
||||
{
|
||||
class OI{
|
||||
private:
|
||||
Joystick *leftStick, *rightStick;
|
||||
public:
|
||||
|
@ -7,8 +7,7 @@
|
||||
*
|
||||
* Uses four motors, two on the sides, one on the bottom, and one on the ramp to collect and eject totes
|
||||
*/
|
||||
class Collector: public Subsystem
|
||||
{
|
||||
class Collector: public Subsystem{
|
||||
private:
|
||||
CANTalon *collectorMotorLeft, //<! Left collector motor
|
||||
*collectorMotorBottom, //<! Bottom collctor motor
|
||||
|
@ -2,8 +2,7 @@
|
||||
#define PNEUMATICS_H
|
||||
|
||||
#include "WPILib.h"
|
||||
class Pneumatics: public Subsystem
|
||||
{
|
||||
class Pneumatics: public Subsystem{
|
||||
private:
|
||||
Solenoid *solenoid1, *solenoid2;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user