Peter Knoben / AnglePosition2

Dependents:   kinematics_controlv4 kinematics_control_copyfds Robot_control ShowIt

Fork of AnglePosition by Peter Knoben

AnglePosition.h

Committer:
peterknoben
Date:
2017-11-02
Revision:
2:20afba507e9e
Parent:
1:5c789825341d

File content as of revision 2:20afba507e9e:

#ifndef _ANGLEPOSITION_H_INCLUDED_
#define _ANGLEPOSITION_H_INCLUDED_

#include "mbed.h"

class AnglePosition
{
public:
    /**
    *Constructor
    */
    AnglePosition(void);
    
    float gettargetposition(float input, int max_range);
    
    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