2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

Fix typos.

This commit is contained in:
= 2015-03-10 19:46:43 -04:00
parent d4e214a9cd
commit 7fc088c10c
6 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ void RollOut::Initialize(){
}
void RollOut::Execute(){
//TODO check this value to move the motors in the right direction
// Devide by 2 twice because this speed should be half the collector speed
// Divide by 2 twice because this speed should be half the collector speed
DentRobot::collector->MoveRollers(-DentRobot::oi->GetLeftThrottle() * 0.8);
SmartDashboard::PutNumber("DriveThrottle", -DentRobot::oi->GetLeftThrottle());
}

View File

@ -11,7 +11,7 @@ void Lower::Execute(){
}
bool Lower::IsFinished(){
if(!DentRobot::elevator->GetElevatorBottom()||IsTimedOut()){
printf("Robot stoped lowering. Sensor based? %d\n", !DentRobot::elevator->GetElevatorBottom());
printf("Robot stopped lowering. Sensor based? %d\n", !DentRobot::elevator->GetElevatorBottom());
return true;
}else{
return false;

View File

@ -29,7 +29,7 @@ class DentRobot: public IterativeRobot{
*/
static OI* oi;
/**
* @brief The 4-motor Collctor
* @brief The 4-motor Collector
*/
static Collector* collector;
/**

View File

@ -11,7 +11,7 @@ class BinElevator{
CANTalon *motor; //<! The bin elevator motor
Encoder *elevatorEncoder; //<! The bin elevator encoder (unused)
DigitalInput *elevatorBottom, //<! The bottom bin elevator sensor (unused)
*elevatorTop; //<! The top bin elevator sensor (unuesd)
*elevatorTop; //<! The top bin elevator sensor (unused)
public:
/**
* @brief Constructs BinElevator

View File

@ -10,8 +10,8 @@
class Collector: public Subsystem{
private:
CANTalon *collectorMotorLeft, //<! Left collector motor
*collectorMotorBottom, //<! Bottom collctor motor
*collectorMotorRamp, //<! Ramp collctor motor
*collectorMotorBottom, //<! Bottom collector motor
*collectorMotorRamp, //<! Ramp collector motor
*collectorMotorRight; //<! Right collector motor
/**
* @brief Analog input for sonar (unused)

View File

@ -12,7 +12,7 @@ class Elevator{
DigitalInput *elevatorBottom, //<! The bottom elevator sensor
*elevatorMiddle, //<! The middle elevator sensor
*elevatorTop; //<! The top elevator sensor
bool useEncoder; //<! Use the elevator enoder (unused)
bool useEncoder; //<! Use the elevator encoder (unused)
public:
/**
* @brief Constructs Elevator
@ -33,7 +33,7 @@ class Elevator{
*/
void ResetEncoder();
/**
* @brief Gets the height of the elevtor
* @brief Gets the height of the elevator
*
* @return The hight of the elevator
*/