The Arduino IDE needs the folder name to match the .ino: HexapodRobot/, Hexapod_NEW/ and Hexapod_Teensy/. References in 2026-current/CLAUDE.md updated.
30 lines
532 B
C
30 lines
532 B
C
#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
|