Skip to content
Snippets Groups Projects
Commit c82e90ca authored by Gouillou Melaine's avatar Gouillou Melaine
Browse files

vlues Kp Ki Kd

parent 5175e3f5
Branches main
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@ class SpeedController(Node):
Kp_initial = 1.5
self.gains = {
'Kp': Kp_initial,
'Ki': 0,
'Kd': 0
'Ki': (Kp_initial/(1/4+1/8))/2,
'Kd': (Kp_initial/(1/10+1/4))/2
}
self.pid_controller_x = PID(self.gains)
self.pid_controller_y = PID(self.gains)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment