Kevin's Commands.h??

Hello All!!

I was just messing around with the programing that Kevin made, but I never found out how I can get that CMD_Drive to work right. Should I insert it as {CMD_DRIVE 1000,0,0} or something like that. Or should I just have CMD_DRIVE;. Should I put this in the user_routine_fast?

In commands.h


struct commands command_list] = {
{CMD_DRIVE, 2400,		0,	 0},
{NULL,		 0,		0,	 0}
};

How do you link those commands to auto modeā€¦

Check my white paper Autonomous Scripting for some help.

Basically, in robot.c, it reads the array and executes the commands until it finds a NULL.