Takeuchi Issei / Mbed 2 deprecated 4Omunisleeve3

Dependencies:   mbed Eigen

Revision:
0:ee7e9405e1c7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shared/AutomaticMovement/AutomaticMovement.h	Wed Apr 14 07:26:19 2021 +0000
@@ -0,0 +1,24 @@
+#ifndef AUTOMATIC_MOVEMENT_H_
+#define AUTOMATIC_MOVEMENT_H_
+
+#include <shared/Movement/Movement.h>
+#include <shared/EigenCalculation/EigenCalculation.h>
+
+class AutomaticMovement
+{
+public:
+	AutomaticMovement(Movement *movement);
+	virtual ~AutomaticMovement(){}
+
+	virtual Eigen::Vector3d move_automatic(Eigen::Vector3d current_position) = 0;
+	Eigen::Vector3d move_automatic(Eigen::Vector3d target_position, Eigen::Vector3d current_position);
+
+	virtual void set_target_position(Eigen::Vector3d target_position);
+
+protected:
+	Movement *_movement;
+
+	Eigen::Vector3d _target_position;
+};
+
+#endif