NHK2017Ateamかにろぼ
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ //\| |/\\ //\| |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
Diff: bot/bot.h
- Revision:
- 16:86958857c739
- Parent:
- 4:bb3bb8f6fea4
- Child:
- 17:6f52f4b1086a
--- a/bot/bot.h Wed Aug 30 15:25:49 2017 +0900 +++ b/bot/bot.h Wed Aug 30 16:33:24 2017 +0900 @@ -17,7 +17,7 @@ /** * @brief ロボットのクラス */ -class Bot : public Controller, MotorDriver, PIDC +class Bot : public MotorDriver, PIDC { public : /** @@ -29,16 +29,19 @@ * @brief センサなどの値を更新 */ void confirmAll(); - + /** * @brief 足回りの制御 */ void controllDrive(); - + /** * @brief 機構部の制御 */ void controllMech(); + +private : + Controller pad; }; -#endif//BOT_H \ No newline at end of file +#endif//BOT_H