Closed PonomarevDA closed 6 years ago
Maybe, it is better to add I-part to your regulation? It can give the robot capability to stop one wheel if another one is stopped.
Of corse :) I just did it: PI-regulator function. Also i tested this function in mini-programm "pulse encoder simulation": In theory, this system must have capability to stop one wheel if another one is stopped. Tomorrow i am going to test it.
PI-regulator works like theory.
Nice work, issue is still actual?
Commit?
I have not made any changes in this function. It is still the same PI-regulator. Commit is 96e7159d29f74d2a5c89f7a5685a7731172b23cb.
This module is described in robot_control.c. The main function is move_forward(uint16_t distance).
At this moment robot can only correct move forward.
After I fix above problem, I will close this issue and add new comment.