diff options
author | px4dev <px4@purgatory.org> | 2012-12-30 01:28:07 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-12-30 01:28:07 -0800 |
commit | f6ea42ab5e886b3475350c5dab95b5985bda26bc (patch) | |
tree | 0b531ea524705d3c9e12683cffaf13e92b1df63f /apps/drivers/px4io | |
parent | fd016abd46954311f85dd4a9345fce6aef680c44 (diff) | |
download | px4-firmware-f6ea42ab5e886b3475350c5dab95b5985bda26bc.tar.gz px4-firmware-f6ea42ab5e886b3475350c5dab95b5985bda26bc.tar.bz2 px4-firmware-f6ea42ab5e886b3475350c5dab95b5985bda26bc.zip |
Fix px4io signal test command to force FMU armed state.
Diffstat (limited to 'apps/drivers/px4io')
-rw-r--r-- | apps/drivers/px4io/px4io.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/drivers/px4io/px4io.cpp b/apps/drivers/px4io/px4io.cpp index e5a1edea1..8e0fde727 100644 --- a/apps/drivers/px4io/px4io.cpp +++ b/apps/drivers/px4io/px4io.cpp @@ -705,6 +705,13 @@ test(void) close(fd); + actuator_armed_s aa; + + aa.armed = true; + aa.lockdown = false; + + orb_advertise(ORB_ID(actuator_armed), &aa); + exit(0); } |