View Single Post
  #6   Spotlight this post!  
Unread 19-01-2005, 23:33
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Multiple command_lists

Quote:
Originally Posted by Jon236
In the Navigation code I downloaded, it is apparent that the command_list data structure contained in commands.h provides a list of actions for the robot to accomplish. Using robot_command(), one can call this from either the autonomous or the manual mode. But how can we create multiple lists of commands to be used from various autonomous programs? Can we re-create the data structure in different iterations in a .c file?
Actually, Rich Petras, another JPL engineer wrote this code. I talked with Rich tonight and he said that when he gets a chance, he wants to add conditional branching to the code, which will make it easier to do what you want. If he doesn't get to it in the next few days, I'll start working on it.


Quote:
Originally Posted by Jon236
Kevin, I would feel a lot better if you moved a little farther from the cliff!
In which direction <grin>?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org