diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-13 18:01:55 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-13 18:01:55 +0100 |
commit | 9883a346a022131b20a292d96a87f20fb7921b1c (patch) | |
tree | 2f4c1b2c034e735dbc8f13319cce513659cf276b /src/modules/px4iofirmware/protocol.h | |
parent | a673fa3926d18163841f817c08bf089a0a8224f7 (diff) | |
download | px4-firmware-9883a346a022131b20a292d96a87f20fb7921b1c.tar.gz px4-firmware-9883a346a022131b20a292d96a87f20fb7921b1c.tar.bz2 px4-firmware-9883a346a022131b20a292d96a87f20fb7921b1c.zip |
First stab at implementing better RSSI based connection status estimation, still needs some work and testing
Diffstat (limited to 'src/modules/px4iofirmware/protocol.h')
-rw-r--r-- | src/modules/px4iofirmware/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/protocol.h b/src/modules/px4iofirmware/protocol.h index cffabbb45..11e380397 100644 --- a/src/modules/px4iofirmware/protocol.h +++ b/src/modules/px4iofirmware/protocol.h @@ -124,6 +124,7 @@ #define PX4IO_P_STATUS_VSERVO 6 /* [2] servo rail voltage in mV */ #define PX4IO_P_STATUS_VRSSI 7 /* [2] RSSI voltage */ #define PX4IO_P_STATUS_PRSSI 8 /* [2] RSSI PWM value */ +#define PX4IO_P_STATUS_NRSSI 9 /* [2] Normalized RSSI value, 0: no reception, 1000: perfect reception */ /* array of post-mix actuator outputs, -10000..10000 */ #define PX4IO_PAGE_ACTUATORS 2 /* 0..CONFIG_ACTUATOR_COUNT-1 */ |