main
Dependents: 00_yotsuba 200_yotsuba_21 200_yotuba_21_uiChange
Diff: robot.h
- Revision:
- 1:6a5065829cfc
- Parent:
- 0:3f87ec23c3cf
- Child:
- 2:fc5545ddf69a
diff -r 3f87ec23c3cf -r 6a5065829cfc robot.h --- a/robot.h Thu Jan 30 10:24:20 2020 +0000 +++ b/robot.h Thu Jan 30 13:58:01 2020 +0000 @@ -8,15 +8,18 @@ #include "esc.h" #include "omni_wheel.h" #include "PID.h" +#include "sensorGen.h" +#include "ui.h" class Robot + : ui { public : Robot(); void chaseBall(float ball_theta, float r); - void sesarchBall(); + void lostBall(); void moveGoal(float r, float goal_); @@ -26,12 +29,17 @@ void shotBall(); + void test(sensor.angleLimit); + private : kohiMD *motor[4]; - solenoid kick(); + solenoid shot; esc drib(); PID spin(); omniwheel omni; + Serial pc; + + float theta; } #endif \ No newline at end of file