2
0
mirror of https://github.com/team2059/Dent synced 2025-01-17 22:19:21 -05:00
dent/src/HHRobot.cpp

17 lines
507 B
C++
Raw Normal View History

2015-01-06 00:07:24 +00:00
#include "HHRobot.h"
#include "HHBase.h"
HHRobot::HHRobot():
DriveStick(new Extreme3dPro(0)),
//FrontRight,FrontLeft,RearRight,RearLeft
RobotDrive(new MecanumDrive(40,41,42,43)){
2015-01-06 00:07:24 +00:00
}
void HHRobot::Init(){
printf("Initing\n");
printf("Code Version: %f\n",0000.1);
}
//Main function used to handle periodic tasks on the robot
void HHRobot::Handler(){
RobotDrive->handler(DriveStick->GetJoystickAxis("x"),DriveStick->GetJoystickAxis("y"),DriveStick->GetJoystickAxis("z"),0);
2015-01-06 00:07:24 +00:00
}
// vim: ts=2:sw=2:et