Brian Smith

Help Needed with C Code for Robotics Project

Discussion created by Brian Smith on Aug 20, 2006
Latest reply on Aug 21, 2006 by Guest
I am working on the code for a robotics project I am doing for a scholarship competition in ANSI C using CodeWarrior version 5.7.0. Here's the address to my project's website if you are interested:

I have started a navigation system, but part of it I need some help with. I will have the robot navigate a series of "waypoints," which are simply (x,y) coordinate points on the robot's plane of travel.

I need a way to store these ordered pairs in memory without using a separate variable for each one, because I may need to store as many as 20 or perhaps even more waypoints at a time. Is there some way to make a group where I can store all these waypoints and recall them sequentially?

Brian S.