Robot's source code
Dependencies: mbed
Diff: Asserv_Plan_B/planB.h
- Revision:
- 68:1ef8b1a37252
- Parent:
- 64:6489bcfc1173
- Child:
- 70:56086a37f31f
diff -r 0bdf181586b5 -r 1ef8b1a37252 Asserv_Plan_B/planB.h --- a/Asserv_Plan_B/planB.h Thu Apr 09 18:09:01 2015 +0000 +++ b/Asserv_Plan_B/planB.h Thu Apr 09 21:13:35 2015 +0000 @@ -8,6 +8,7 @@ aserv_planB(Odometry &odometry,Motor &motorL,Motor &motorR); void update(float dt); void control_speed(); + float Kp; private: Odometry &m_odometry; @@ -17,7 +18,6 @@ float erreur_g, vitesse_g; float erreur_d, vitesse_d; float cmd_g, cmd_d; - float Kp; float consigne_g, consigne_d; }; \ No newline at end of file