1 #ifndef ROSTOCKSOLUTION_H
2 #define ROSTOCKSOLUTION_H
3 #include "libs/Module.h"
4 #include "libs/Kernel.h"
5 #include "BaseSolution.h"
6 #include "libs/nuts_bolts.h"
8 #include "libs/Config.h"
10 #define arm_length_checksum CHECKSUM("arm_length")
11 #define arm_radius_checksum CHECKSUM("arm_radius")
13 #define alpha_angle_checksum CHECKSUM("alpha_angle")
14 #define beta_relative_angle_checksum CHECKSUM("beta_relative_angle")
15 #define gamma_relative_angle_checksum CHECKSUM("gamma_relative_angle")
17 class RostockSolution
: public BaseSolution
{
19 RostockSolution(Config
*);
20 void cartesian_to_actuator( float[], float[] );
21 void actuator_to_cartesian( float[], float[] );
23 float solve_arm( float millimeters
[] );
24 void rotate( float in
[], float out
[], float sin
, float cos
);
28 float arm_length_squared
;
43 #endif // ROSTOCKSOLUTION_H