Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Asservissement/Asservissement_v1.h
- Revision:
- 0:b127c787a51b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Asservissement/Asservissement_v1.h Sun May 24 12:30:47 2015 +0000 @@ -0,0 +1,25 @@ +#ifndef ASSERVISSEMENT_V1_H +#define ASSERVISSEMENT_V1_H + +#include "Asservissement.h" + +class Asservissement_v1: public Asservissement +{ +public: + Asservissement_v1(Odometry &odometry, Motor &motorL, Motor &motorR); + virtual void update(float dt); + + virtual void setGoal(float x, float y, float theta); + virtual void setGoal(float x, float y); + + virtual void stop(); + + virtual bool isArrived(); + + virtual char getState(); +private: + char m_state; +}; + + +#endif