Subversion Repositories NaviCtrl

Rev

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

Rev 588 Rev 780
Line 1... Line 1...
1
#ifndef _PARAMS_H
1
#ifndef _PARAMS_H
2
#define _PARAMS_H
2
#define _PARAMS_H
Line -... Line 3...
-
 
3
 
-
 
4
extern s16 NCParams[256];
-
 
5
extern u8 NCParamState[256];
3
 
6
 
4
// ids 0...255
7
// ids 0...255
5
#define NCPARAMS_GPS_TARGETSPEED                                0
8
#define NCPARAMS_GPS_TARGETSPEED                                0
6
#define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1
9
#define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1
7
#define NCPARAMS_NEW_CAMERA_ELEVATION           2
10
#define NCPARAMS_NEW_CAMERA_ELEVATION           2
8
#define NCPARAMS_ALTITUDE_RATE                                  3
11
#define NCPARAMS_ALTITUDE_RATE                                  3
9
#define NCPARAMS_ALTITUDE_SETPOINT              4
12
#define NCPARAMS_ALTITUDE_SETPOINT              4
10
#define NCPARAMS_SHOW_TARGET                                    5
13
#define NCPARAMS_SHOW_TARGET                                    5
11
#define NCPARAMS_WP_EVENT_ONCE                                  6
14
#define NCPARAMS_WP_EVENT_ONCE                                  6
12
#define NCPARAMS_WP_EVENT_FOREVER                               7
15
#define NCPARAMS_WP_EVENT_FOREVER                               7
-
 
16
#define NCPARAMS_FORCE_NEW_COMPASS_DIRECTION    8
Line 13... Line 17...
13
#define NCPARAMS_FORCE_NEW_COMPASS_DIRECTION    8
17
#define NCPARAMS_BARO_KOMPENSATION                              255
14
 
18
 
Line 15... Line 19...
15
#define NCPARAM_STATE_UNDEFINED         0
19
#define NCPARAM_STATE_UNDEFINED         0