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: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Diff: Odometry/Odometry.h
- Revision:
- 12:d5e21f71c2a9
- Parent:
- 10:ae3178aa94e9
- Child:
- 31:8bcc3a0bfa8a
diff -r ae3178aa94e9 -r d5e21f71c2a9 Odometry/Odometry.h
--- a/Odometry/Odometry.h Fri Dec 04 11:18:13 2015 +0000
+++ b/Odometry/Odometry.h Tue Jan 05 14:51:10 2016 +0000
@@ -44,6 +44,7 @@
/** Les fonctions suivantes permettent de deplacer le robot vers une position ou un angle voulu
*/
+ void GotoXY(double x_goal, double y_goal);
void GotoXYT(double x_goal, double y_goal, double theta_goal);
void GotoThet(double theta_);
void GotoDist(double distance);
@@ -98,7 +99,9 @@
double carre(double a) {
return a*a;
}
-
+
+ void getEnc();
+
/** La fonction retourne vraie quand le robot atteint l'angle voulu avec une marge d'erreur definie par la fonction
* @param theta_ valeur de l'angle devant etre atteint
*/
