Files

38 lines
709 B
C
Raw Permalink Normal View History

2019-05-26 22:29:00 +02:00
#ifndef dataStruct
#define dataStruct
struct __attribute__((__packed__)) dataStruct2
{
2026-10-01 15:09:00 +02:00
bool STOP = false;
2019-05-26 22:29:00 +02:00
float walkSpeed = 10; //step size
float walkSpeed2 = 0; //gate speed
float walkRotation = 0 ;
float walkDirection = 0;
float tranform[3] = {0, 0, 0};
float tranform2[3] = {0, 0, 0};
float rotation[3] = {0, 0, 0};
bool remotePasstroughControl = 0;
2026-10-01 15:09:00 +02:00
float servoPositions[18] = {
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90
};
2019-05-26 22:29:00 +02:00
} dataStruct;
//template<size_t ... T> struct print_ct {
// print_ct() {
// static_assert(sizeof...(T) == -1, "");
// }
//};
//
//print_ct< sizeof(dataStruct2), alignof(dataStruct2) > v;
#endif