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
Asservissement.h
00001 #ifndef ASSERVISSEMENT_H 00002 #define ASSERVISSEMENT_H 00003 00004 #include "mbed.h" 00005 #include "Odometry.h" 00006 #include "Motor.h" 00007 00008 class Asservissement 00009 { 00010 public: 00011 Asservissement(Odometry &odometry, Motor &motorL, Motor &motorR); 00012 virtual void update(float dt) = 0; 00013 00014 virtual void setGoal(float x, float y, float theta) = 0; 00015 virtual void setGoal(float x, float y) = 0; 00016 00017 virtual void stop() = 0; 00018 00019 virtual bool isArrived() = 0; 00020 00021 virtual char getState() = 0; 00022 00023 protected: 00024 Odometry &m_odometry; 00025 Motor &m_motorL; 00026 Motor &m_motorR; 00027 }; 00028 00029 00030 #endif
Generated on Wed Jul 13 2022 04:59:28 by
1.7.2

