#ifndef __ZAPHOD_ROBOT_H__ #define __ZAPHOD_ROBOT_H__ #include #include "ZaphodBase.h" #include "Definitions.h" class JoystickController; class ZaphodShooter; class ZaphodCollector; class ZaphodRobot { private: Jaguar *right1, *right2, *right3, *left1, *left2, *left3; Compressor *compressor; Solenoid *solenoid1, *solenoid2; DigitalOutput *frontSonarLeftD, *frontSonarRightD, *rearSonarLeftD, *rearSonarRightD; AnalogChannel *frontSonarLeftA, *frontSonarRightA, *rearSonarLeftA, *rearSonarRightA; JoystickController *ControlSystem; ZaphodShooter *shooter; ZaphodCollector *collector; public: ZaphodRobot(); float frontSonarLeftV, frontSonarRightV, rearSonarLeftV, rearSonarRightV; float getFrontSonar(); float getRearSonar(); void handler(); }; #endif