Fork of Smoothie to port to mbed non-LPC targets.

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers BaseSolution.h Source File

BaseSolution.h

00001 // Base class for an arm solution, only usefull for inheritence. http://en.wikipedia.org/wiki/Arm_solution
00002 #ifndef BASESOLUTION_H
00003 #define BASESOLUTION_H
00004 
00005 class Config;
00006 
00007 class BaseSolution {
00008     public:
00009         BaseSolution(){};
00010         BaseSolution(Config*){};
00011         virtual ~BaseSolution() {};
00012         virtual void cartesian_to_actuator( float[], float[] ) = 0;
00013         virtual void actuator_to_cartesian( float[], float[] ) = 0;
00014 
00015         virtual bool set_optional(char parameter, float  value) { return false; };
00016         virtual bool get_optional(char parameter, float *value) { return false; };
00017 };
00018 
00019 #endif