Subversion Repositories NaviCtrl

Rev

Rev 490 | Rev 494 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 490 Rev 491
Line 15... Line 15...
15
        u8  HoldTime;                   // in seconds, if the was once in the tolerance area around a WP, this time defines the delay before the next WP is triggered
15
        u8  HoldTime;                   // in seconds, if the was once in the tolerance area around a WP, this time defines the delay before the next WP is triggered
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;  // Will be transferred to the FC and can be used as Poti value there
19
        u8  WP_EventChannelValue;  // Will be transferred to the FC and can be used as Poti value there
20
        u8      AltitudeRate;           // rate to change the setpoint
20
        u8      AltitudeRate;           // rate to change the setpoint in steps of 0.1m/s
21
        u8      Speed;                          // rate to change the Position(0 = max)
21
        u8      Speed;                          // rate to change the Position(0 = max) in steps of 0.1m/s
22
        u8      CamAngle;                       // Camera servo angle in degree (255 -> POI-Automatic)
22
        u8      CamAngle;                       // Camera servo angle in degree (255 -> POI-Automatic)
23
        u8  Name[4];                // Name of that point (ASCII)
23
        u8  Name[4];                // Name of that point (ASCII)
24
    u8  reserve[2];                 // reserve
24
    u8  reserve[2];                 // reserve
25
} __attribute__((packed)) Point_t;
25
} __attribute__((packed)) Point_t;
Line 46... Line 46...
46
Point_t* PointList_GetPOI(void);
46
Point_t* PointList_GetPOI(void);
47
// save actual point list to SD card
47
// save actual point list to SD card
48
u8 PointList_SaveToFile(u8 place);
48
u8 PointList_SaveToFile(u8 place);
49
// load actual point list from SD card
49
// load actual point list from SD card
50
u8 PointList_ReadFromFile(u8 place);
50
u8 PointList_ReadFromFile(u8 place);
-
 
51
// move actual point list to ref pos., the point in the list marked by RefIndex get the RefPos afterwards
-
 
52
u8 PointList_Move(u8 RefIndex, GPS_Pos_t* pRefPos);
Line 51... Line 53...
51
 
53