NHK2017Ateamかにろぼ
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ //\| |/\\ //\| |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
main.cpp@5:bc5ba4f070ad, 2017-08-24 (annotated)
- Committer:
- UCHITAKE
- Date:
- Thu Aug 24 08:16:09 2017 +0000
- Revision:
- 5:bc5ba4f070ad
- Parent:
- 1:269914e0aa07
- Child:
- 18:41f7dd1a5ed1
Just worked !!!!!!!!
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 | 5:bc5ba4f070ad | 7 | |
UCHITAKE | 0:757e9800c103 | 8 | int main() |
UCHITAKE | 0:757e9800c103 | 9 | { |
UCHITAKE | 0:757e9800c103 | 10 | while(1) { |
UCHITAKE | 1:269914e0aa07 | 11 | KANI.confirmAll(); |
UCHITAKE | 1:269914e0aa07 | 12 | KANI.controllDrive(); |
UCHITAKE | 1:269914e0aa07 | 13 | KANI.controllMech(); |
UCHITAKE | 5:bc5ba4f070ad | 14 | wait(0.05); |
UCHITAKE | 0:757e9800c103 | 15 | } |
UCHITAKE | 0:757e9800c103 | 16 | } |