kani
Dependencies: 2017NHKpin_config FEP omni_wheel PID R1307 ikarashiMDC
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ <ズワイガニ //\| |/\\ //\| ケガニ |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
Diff: bot/PIDcontroller/PID_controller.h
- Revision:
- 3:369d9ee17e84
- Parent:
- 1:845af5425eec
- Child:
- 4:1073deb368df
diff -r 17015107f466 -r 369d9ee17e84 bot/PIDcontroller/PID_controller.h --- a/bot/PIDcontroller/PID_controller.h Tue Sep 05 16:32:31 2017 +0900 +++ b/bot/PIDcontroller/PID_controller.h Tue Sep 05 20:51:23 2017 +0900 @@ -31,7 +31,7 @@ const double KC = 5.0; const double TI = 0.0; const double TD = 0.0; -const float INTERVAL = 0.05; +const float INTERVAL = 0.01; const float INPUT_LIMIT = 180.0; const float OUTPUT_LIMIT = 0.4; const float BIAS = 0.0; @@ -60,6 +60,7 @@ void confirm(); float getCo() const; + float getDegree() const; void calibration(int mode); private :