I have an Arduino Mega2560 quadruped setup from Freenove and I'd like to make my own actions with it.
In the software interface it has the following
// Simple action
static final byte requestCrawlForward = 80; // [order]
static final byte requestCrawlBackward = 82; // [order]
I think this means that the byte value sent to the device from the controller software is 80 for CrawlForward
In the device firmware there is a Comms.h file and a Orders.h that refer to CrawlForward as such
// Simple action
static const byte requestCrawlForward = 80; // [order]
static const byte requestCrawlBackward = 82; // [order]
& also
class RobotAction
{
public:
RobotAction();
void Start();
void ActiveMode();
void SleepMode();
void SwitchMode();
void CrawlForward();
void CrawlBackward();
void TurnLeft();
void TurnRight();
So as I think I understand it I can see the path from pressing the buton in the software to that generating something called CrawlForward in the device. But I cant find any reference to CrawlForward in any files. I've searched all the files included I think.
I want to change the operation that is CrawlForward but I cant figure out where it is worked out?
Any help is greatly appreciated
Thanks