diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2012-10-27 18:56:45 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2012-10-27 18:56:45 +0200 |
commit | 56f4849e872854e5483bcd1eaf277b9b8bb50a1c (patch) | |
tree | b22287435fbc15518e21434b7244835085c8b024 /apps/fixedwing_att_control/fixedwing_att_control_main.c | |
parent | abcfe29c640315848f5080f57ec4c7117dc3f988 (diff) | |
download | px4-firmware-56f4849e872854e5483bcd1eaf277b9b8bb50a1c.tar.gz px4-firmware-56f4849e872854e5483bcd1eaf277b9b8bb50a1c.tar.bz2 px4-firmware-56f4849e872854e5483bcd1eaf277b9b8bb50a1c.zip |
changed headers
Diffstat (limited to 'apps/fixedwing_att_control/fixedwing_att_control_main.c')
-rw-r--r-- | apps/fixedwing_att_control/fixedwing_att_control_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/fixedwing_att_control/fixedwing_att_control_main.c b/apps/fixedwing_att_control/fixedwing_att_control_main.c index 0766a3d40..06890ed8b 100644 --- a/apps/fixedwing_att_control/fixedwing_att_control_main.c +++ b/apps/fixedwing_att_control/fixedwing_att_control_main.c @@ -46,7 +46,7 @@ #include <math.h> #include <poll.h> #include <time.h> -#include <arch/board/up_hrt.h> +#include <drivers/drv_hrt.h> #include <arch/board/board.h> #include <uORB/uORB.h> #include <uORB/topics/vehicle_global_position.h> @@ -194,6 +194,7 @@ int fixedwing_att_control_thread_main(int argc, char *argv[]) /* kill all outputs */ for (unsigned i = 0; i < NUM_ACTUATOR_CONTROLS; i++) actuators.control[i] = 0.0f; + orb_publish(ORB_ID_VEHICLE_ATTITUDE_CONTROLS, actuator_pub, &actuators); |