NHK2017Ateamかにろぼ
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ //\| |/\\ //\| |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
main.cpp@18:41f7dd1a5ed1, 2017-08-31 (annotated)
- Committer:
- uchitake
- Date:
- Thu Aug 31 10:34:55 2017 +0900
- Revision:
- 18:41f7dd1a5ed1
- Parent:
- 5:bc5ba4f070ad
- Child:
- 19:3a62cbc6fee9
fix PIDcontroller class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
UCHITAKE | 0:757e9800c103 | 1 | #include "mbed.h" |
UCHITAKE | 0:757e9800c103 | 2 | #include "pin_config.h" |
UCHITAKE | 0:757e9800c103 | 3 | #include "bot.h" |
UCHITAKE | 0:757e9800c103 | 4 | |
UCHITAKE | 1:269914e0aa07 | 5 | Bot KANI; |
UCHITAKE | 0:757e9800c103 | 6 | |
UCHITAKE | 0:757e9800c103 | 7 | int main() |
UCHITAKE | 0:757e9800c103 | 8 | { |
UCHITAKE | 0:757e9800c103 | 9 | while(1) { |
UCHITAKE | 1:269914e0aa07 | 10 | KANI.confirmAll(); |
UCHITAKE | 1:269914e0aa07 | 11 | KANI.controllDrive(); |
UCHITAKE | 1:269914e0aa07 | 12 | KANI.controllMech(); |
UCHITAKE | 5:bc5ba4f070ad | 13 | wait(0.05); |
UCHITAKE | 0:757e9800c103 | 14 | } |
uchitake |
18:41f7dd1a5ed1 | 15 | } |