Files
hexapod-robot/2011-firefly-mega-ssc32/firmware/2012-ir-radar-gps/hexapodV3/SerD.h
T

39 lines
321 B
C++
Raw Normal View History

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