self-balancing-robot
Dependencies: mbed mbed-rtos Motor
Diff: main.cpp
- Revision:
- 36:e1bbf24a1b66
- Parent:
- 35:02166ac9de6f
- Child:
- 37:702943705f50
--- a/main.cpp Fri Apr 24 19:49:41 2020 +0000 +++ b/main.cpp Fri Apr 24 19:56:04 2020 +0000 @@ -23,9 +23,9 @@ /////////////////////////////////////////////////////////////////////////////// ///////////////////////////// Control System Variables///////////////////////// /////////////////////////////////////////////////////////////////////////////// -float rp = 50; -float rd = 60; -float ri = 20; +float rp = 30; +float rd = 30; +float ri = 30; float desired_angle = 0; float speed = 0;