Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct {
- float lat;
- float long;
- } coord;
- class waypointsHandler{
- private:
- coord waypoints[10];
- byte index;
- public:
- void indexSet(byte val);
- byte indexGet();
- coord currentWaypoint();
- coord nextWaypoint();
- coord lastWaypoint();
- coord waypointAt(byte val);
- }
Advertisement
Add Comment
Please, Sign In to add comment