Rev 277 | Rev 283 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 277 | Rev 280 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | u8 Event_Flag; // future implementation |
16 | u8 Event_Flag; // future implementation |
17 | u8 Index; // to indentify different waypoints, workaround for bad communications PC <-> NC |
17 | u8 Index; // to indentify different waypoints, workaround for bad communications PC <-> NC |
18 | u8 Type; // typeof Waypoint |
18 | u8 Type; // typeof Waypoint |
19 | u8 WP_EventChannelValue; // |
19 | u8 WP_EventChannelValue; // |
20 | u8 reserve[9]; // reserve |
20 | u8 reserve[9]; // reserve |
21 | } __attribute__((packed)) Waypoint_t; |
21 | } __attribute__((packed)) Point_t; |
Line 22... | Line 22... | ||
22 | 22 | ||
23 | // Init List, return TRUE on success |
23 | // Init List, return TRUE on success |
24 | u8 WPList_Init(void); |
24 | u8 PointList_Init(void); |
25 | // Clear List, return TRUE on success |
25 | // Clear List, return TRUE on success |
26 | u8 WPList_Clear(void); |
26 | u8 PointList_Clear(void); |
27 | // Returns number of points in the list |
27 | // Returns number of points in the list |
- | 28 | u8 PointList_GetCount(void); |
|
- | 29 | // return pointer to point at position |
|
28 | u8 WPList_GetCount(void); |
30 | Point_t* PointList_GetAt(u8 index); |
29 | // appends a point to the list, returns TRUE on success |
31 | // appends a point to the list, returns TRUE on success |
30 | u8 WPList_Append(Waypoint_t* pwp); |
32 | u8 PointList_Append(Point_t* pwp); |
31 | // goto the first WP in the list and return pointer to it |
33 | // goto the first WP in the list and return pointer to it |
32 | Waypoint_t* WPList_Begin(void); |
34 | Point_t* PointList_WPBegin(void); |
33 | // goto the last WP in the list and return pointer to it |
35 | // goto the last WP in the list and return pointer to it |
34 | Waypoint_t* WPList_End(void); |
36 | Point_t* PointList_WPEnd(void); |
35 | // goto next WP in the list and return pointer to it |
37 | // goto next WP in the list and return pointer to it |
36 | Waypoint_t* WPList_Next(void); |
38 | Point_t* PointList_WPNext(void); |
37 | // return pointer to point at position |
39 | // disables waypoint function |
38 | Waypoint_t* WPList_GetAt(u8 index); |
40 | void PointList_WPActive(u8 set); |
39 | // returns pointer to actual POI |
41 | // returns pointer to actual POI |
- | 42 | Point_t* PointList_GetPOI(void); |
|
Line 40... | Line 43... | ||
40 | Waypoint_t* WPList_GetPOI(void); |
43 |