Robot's source code
Dependencies: mbed
Diff: Asserv_Plan_B/planB.h
- Revision:
- 64:6489bcfc1173
- Parent:
- 62:454cd844fe1e
- Child:
- 68:1ef8b1a37252
--- a/Asserv_Plan_B/planB.h Thu Apr 09 17:05:06 2015 +0000 +++ b/Asserv_Plan_B/planB.h Thu Apr 09 17:40:53 2015 +0000 @@ -4,12 +4,20 @@ class aserv_planB { - public: +public: aserv_planB(Odometry &odometry,Motor &motorL,Motor &motorR); void update(float dt); - - private: + void control_speed(); + +private: Odometry &m_odometry; Motor &m_motorL; Motor &m_motorR; + + 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