NHK2017Ateamかにろぼ
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ //\| |/\\ //\| |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
Diff: bot/bot.h
- Revision:
- 1:269914e0aa07
- Parent:
- 0:757e9800c103
- Child:
- 2:ea151e05033a
diff -r 757e9800c103 -r 269914e0aa07 bot/bot.h --- a/bot/bot.h Mon Aug 21 12:20:14 2017 +0000 +++ b/bot/bot.h Tue Aug 22 05:07:57 2017 +0000 @@ -6,9 +6,17 @@ #include "motor_driver.h" #include "controller.h" -class Bot : public Controller, MotorDriver { +#define ARM_MAX_SPEED 1 +#define DESTROY_MAX_SPEED 1 + +class Bot : public Controller, MotorDriver +{ public : Bot(); + + void confirmAll(); + void controllDrive(); + void controllMech(); }; #endif//BOT_H \ No newline at end of file