Merge branch 'fix/TemperatureControl_indexes' into edge
[clinton/Smoothieware.git] / src / modules / robot / arm_solutions / BaseSolution.h
index acb068b..07fdb93 100644 (file)
@@ -2,11 +2,18 @@
 #ifndef BASESOLUTION_H
 #define BASESOLUTION_H
 
+class Config;
+
 class BaseSolution {
     public:
-        BaseSolution();
-        virtual void millimeters_to_steps( double millimeters[], int steps[] ) = 0;
-        virtual void steps_to_millimeters( int steps[], double millimeters[] ) = 0;
+        BaseSolution(){};
+        BaseSolution(Config*){};
+        virtual ~BaseSolution() {};
+        virtual void cartesian_to_actuator( float[], float[] ) = 0;
+        virtual void actuator_to_cartesian( float[], float[] ) = 0;
+
+        virtual bool set_optional(char parameter, float  value) { return false; };
+        virtual bool get_optional(char parameter, float *value) { return false; };
 };
 
 #endif