|
Multiple command_lists
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?
Kevin, I would feel a lot better if you moved a little farther from the cliff!
Jon Mittelman
Team 236 Mentor
|