Subversion Repositories NaviCtrl

Rev

Rev 492 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 492 Rev 494
1
#ifndef _PARAMS_H
1
#ifndef _PARAMS_H
2
#define _PARAMS_H
2
#define _PARAMS_H
3
 
3
 
4
// ids 0...255
4
// ids 0...255
5
#define NCPARAMS_GPS_TARGETSPEED                                0
5
#define NCPARAMS_GPS_TARGETSPEED                                0
6
#define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1
6
#define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1
7
#define NCPARAMS_NEW_CAMERA_ELEVATION           2
7
#define NCPARAMS_NEW_CAMERA_ELEVATION           2
8
#define NCPARAMS_ALTITUDE_RATE                                  3
8
#define NCPARAMS_ALTITUDE_RATE                                  3
9
#define NCPARAMS_ALTITUDE_SETPOINT              4
9
#define NCPARAMS_ALTITUDE_SETPOINT              4
10
#define NCPARAMS_SHOW_TARGET                                    5
10
#define NCPARAMS_SHOW_TARGET                                    5
11
#define NCPARAMS_WP_EVENT_ONCE                                  6
11
#define NCPARAMS_WP_EVENT_ONCE                                  6
12
#define NCPARAMS_WP_EVENT_FOREVER                               7
12
#define NCPARAMS_WP_EVENT_FOREVER                               7
13
#define NCPARAMS_WP_LIST_LOAD                                   8
-
 
14
#define NCPARAMS_WP_LIST_SAVE                                   9
-
 
15
 
13
 
16
#define NCPARAM_STATE_UNDEFINED         0
14
#define NCPARAM_STATE_UNDEFINED         0
17
#define NCRARAM_STATE_VALID                     1
15
#define NCRARAM_STATE_VALID                     1
18
 
16
 
19
extern void NCParams_Init();
17
extern void NCParams_Init();
20
extern u8 NCParams_SetValue(u8 id, s16 *pvalue);
18
extern u8 NCParams_SetValue(u8 id, s16 *pvalue);
21
extern u8 NCParams_GetValue(u8 id, s16 *pvalue);
19
extern u8 NCParams_GetValue(u8 id, s16 *pvalue);
22
extern void NCParams_ClearValue(u8 id);
20
extern void NCParams_ClearValue(u8 id);
23
 
21
 
24
#endif // _PARAMS_H
22
#endif // _PARAMS_H
25
 
23