angle
Dependents: kinematics_control kinematics_controlv2
Diff: AnglePosition.h
- Revision:
- 0:d7e19af20f93
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AnglePosition.h Thu Oct 26 10:53:29 2017 +0000 @@ -0,0 +1,26 @@ +#ifndef _ANGLEPOSITION_H_INCLUDED_ +#define _ANGLEPOSITION_H_INCLUDED_ + +#include "mbed.h" + +class AnglePosition +{ +public: + /** + *Constructor + */ + AnglePosition(void); + + float gettargetposition(double input, int max_range); //potmeter + + float getreferenceposition(float target, float offset); + + float getalpha(float max_rangex, float max_rangey, float x_offset, float y_offset, float alpha_offset, float L1, float L2, double inputx, double inputy); + + float getbeta(float max_rangex, float max_rangey, float x_offset, float y_offset, float beta_offset, float L1, float L2, double inputx, double inputy); + + +private: + +}; +#endif \ No newline at end of file