Robot's source code
Dependencies: mbed
Diff: Asserv_Plan_B/planB.h
- Revision:
- 100:a827a645d6c2
- Parent:
- 94:5c37bcf73d14
- Parent:
- 93:4d5664e9188a
--- a/Asserv_Plan_B/planB.h Thu Apr 30 16:14:39 2015 +0000 +++ b/Asserv_Plan_B/planB.h Thu Apr 30 16:16:29 2015 +0000 @@ -9,8 +9,10 @@ void update(float dt); void control_speed(); void setGoal(float x, float y, float theta); - float Kp, Ki, Kd; - + bool isArrived(void) {return done;} + float carre(float x) {return x*x;} + float Kp_angle, Kd_angle; + float Kp_distance, Ki_distance, Kd_distance; private: Odometry2 &m_odometry; Motor &m_motorL;