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.
Diff: shared/Omni_3/Omni_3.h
- Revision:
- 0:ee7e9405e1c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shared/Omni_3/Omni_3.h Wed Apr 14 07:26:19 2021 +0000
@@ -0,0 +1,32 @@
+#ifndef OMNI_3_H_
+#define OMNI_3_H_
+
+#include <shared/Movement/Movement.h>
+#include <shared/Wheel/Wheel.h>
+
+class Omni_3 : public Movement
+{
+public:
+ enum
+ {
+ F,
+ L,
+ R,
+ NUM
+ };
+
+ Omni_3(MD *md[NUM]);
+ Omni_3(MD *md_F, MD *md_L, MD *md_R);
+ Omni_3(Wheel *wheel[NUM]);
+ virtual ~Omni_3(){};
+
+ virtual void move(double x, double y, double yaw);
+
+
+private:
+ Wheel *_wheel[NUM];
+
+};
+
+#endif
+