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: servomotor_MX12_Lorenzo
Diff: MX12.h
- Revision:
- 27:06850c65b9c8
- Parent:
- 26:4632a02a8ef1
- Child:
- 28:c7402e1014b4
--- a/MX12.h Fri Nov 26 07:16:53 2021 +0000
+++ b/MX12.h Fri Nov 26 08:55:31 2021 +0000
@@ -350,6 +350,13 @@
// float GetPosition(unsigned char mot_id);
void cmd_moteur(float Vavance, float Vlat, float Wz);
+ // envoie la commande moteur de manière à avancer d'une vitesse Vavance en
+ // mètres par seconde, d'une vitesse Vlat en mètre par seconde et d'une
+ // vitesse de rotation Wz en rad/s
+
+ void eteindre_moteurs();
+
+
protected: