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.
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
