Files
hexapod-robot/2011-firefly-mega-ssc32/firmware/2012-ir-radar-gps/hexapodV3/SerD.h
T
mangavalk f690f307c1 FireFly 2012 v3: restructured into Data/Converter/IK/Servos classes, IR remote, ultrasonic radar head
From 'hexapodV3 28-april-2012-Backup.rar'. Oud/ is the 2011 code it was based on.
2012-04-28 16:42:59 +02:00

40 lines
321 B
C++

//SerD.h
#ifndef SERD
#define SERD
class SerD
{
public:
//Coordinate system
int x;
int y;
int z;
//Angles
int o1;
int o2;
int o3;
//Timings
int t1;
int t2;
int t3;
//Input
SerD & operator() (int X, int Y, int Z)
{
x = X;
y = Y;
z = Z;
return *this;
}
};
#endif