You would place them into an array and run a function that uses the array like so:
commands.h:
Code:
struct commands command_list[] = {
/* Command parm 1 parm 2 parm 3 */
{CMD_GYRO_BIAS, 0, 0, 0},
{CMD_WAIT_FOR_BUMP, 100, 0, 0},
{CMD_WAIT, 1000, 0, 0},
{CMD_TURN, -1571L, 100, 0},
{CMD_WAIT_FOR_BUMP, 100, 0, 0},
{CMD_WAIT, 1000, 0, 0},
{CMD_TURN, 1571, 100, 0},
{CMD_JUMP, 1, 0, 0},
{NULL, 0, 0, 0}
};