View Single Post
  #15   Spotlight this post!  
Unread 17-02-2005, 17:19
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Using REAL ENGLISH in autonomous mode???

Quote:
Originally Posted by Moloch
So....your supposed to be able to just type in user_routines_fast.c :
{CMD_DRIVE, 1000, 0, 0},
{CMD_TURN, (PI_MRAD / 2), 50, 0},
{CMD_DRIVE, 1000, 0, 0},
{NULL, 0, 0, 0

and your auto works??
No. Technically speaking, the script is read, not executed. If you look through the navigation code (specifically, robot.c and robot.h), you will find that it is actually a large conglomeration of a bunch of state machines.

The sample script is in commands.h. There is no commands.c.