Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
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
Generated on Tue Jul 12 2022 20:09:00 by 1.7.2