Files
hexapod-robot/2026-current/LEGACY/Hexapod_Teensy/TransferDataStructure.h
T

29 lines
532 B
C
Raw Normal View History

#ifndef dataStruct
#define dataStruct
struct __attribute__((__packed__)) dataStruct2
{
bool STOP = false;
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 = true;
float servoPositions[18] = {
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90,
90, 90, 90
};
} dataStruct;
#endif