1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-291 Fixed PID mapping

This commit is contained in:
Vladimir Zidar 2016-05-11 14:53:36 +02:00
parent 240b299a14
commit 9571960939

View File

@ -203,11 +203,11 @@ typedef enum {
PIDPITCH,
PIDYAW,
PIDAROLL, // (PIDALT) use this for Attitude ROLL
PIDPOS, // skipped by MWOSD
PIDAPITCH, // (PIDPOS) use this for Attitude PITCH
PIDPOSR, // skipped by MWOSD
PIDAPITCH, // (PIDNAVR) use this for Attitude PITCH
PIDAYAW, // (PIDAYAW) use this for Attitude YAW
PIDMAG,
PIDNAVR, // skipped by MWOSD
PIDAYAW, // (PIDLEVEL) use this for Attitude YAW
PIDMAG, // unused for now
PIDVEL, // skipped by MWOSD
PID_ITEM_COUNT
} pidIndex_e;
@ -216,10 +216,11 @@ static const char msp_pidnames[] = "ROLL;"
"PITCH;"
"YAW;"
"A.ROLL;"
"Pos;"
"PosR;"
"A.PITCH;"
"PosR;"
"NavR;"
"A.YAW;"
"MAG;"
"VEL;";
#define MSP_ANALOG_VOLTAGE (1 << 0)