added cli settings for pidvel
added (unsupported) GPS nav MSP numbers.
This commit is contained in:
parent
efedff771e
commit
0c46bdbfc8
6666
obj/baseflight.hex
6666
obj/baseflight.hex
File diff suppressed because it is too large
Load Diff
|
@ -209,6 +209,9 @@ const clivalue_t valueTable[] = {
|
|||
{ "p_level", VAR_UINT8, &cfg.P8[PIDLEVEL], 0, 200 },
|
||||
{ "i_level", VAR_UINT8, &cfg.I8[PIDLEVEL], 0, 200 },
|
||||
{ "d_level", VAR_UINT8, &cfg.D8[PIDLEVEL], 0, 200 },
|
||||
{ "p_vel", VAR_UINT8, &cfg.P8[PIDVEL], 0, 200 },
|
||||
{ "i_vel", VAR_UINT8, &cfg.I8[PIDVEL], 0, 200 },
|
||||
{ "d_vel", VAR_UINT8, &cfg.D8[PIDVEL], 0, 200 },
|
||||
};
|
||||
|
||||
#define VALUE_COUNT (sizeof(valueTable) / sizeof(clivalue_t))
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
#define MSP_WP 118 //out message get a WP, WP# is in the payload, returns (WP#, lat, lon, alt, flags) WP#0-home, WP#16-poshold
|
||||
#define MSP_BOXIDS 119 //out message get the permanent IDs associated to BOXes
|
||||
#define MSP_SERVO_CONF 120 //out message Servo settings
|
||||
#define MSP_NAV_STATUS 121 //out message Returns navigation status
|
||||
#define MSP_NAV_CONFIG 122 //out message Returns navigation parameters
|
||||
|
||||
#define MSP_SET_RAW_RC 200 //in message 8 rc chan
|
||||
#define MSP_SET_RAW_GPS 201 //in message fix, numsat, lat, lon, alt, speed
|
||||
|
@ -43,6 +45,7 @@
|
|||
#define MSP_SET_HEAD 211 //in message define a new heading hold direction
|
||||
#define MSP_SET_SERVO_CONF 212 //in message Servo settings
|
||||
#define MSP_SET_MOTOR 214 //in message PropBalance function
|
||||
#define MSP_SET_NAV_CONFIG 215 //in message Sets nav config parameters - write to the eeprom
|
||||
|
||||
// #define MSP_BIND 240 //in message no param
|
||||
|
||||
|
|
Loading…
Reference in New Issue