diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-25 13:39:34 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-25 15:00:35 +0100 |
commit | 14aa5f9441759672a3c0d6ee9b6ff5256ae0a77e (patch) | |
tree | 18f6d98a4578be88d96fdd1261becbefb7ee8179 /src/modules/sdlog2/sdlog2.c | |
parent | ee6395c5029737baeb328bd10ba82c8f05bf0648 (diff) | |
download | px4-firmware-14aa5f9441759672a3c0d6ee9b6ff5256ae0a77e.tar.gz px4-firmware-14aa5f9441759672a3c0d6ee9b6ff5256ae0a77e.tar.bz2 px4-firmware-14aa5f9441759672a3c0d6ee9b6ff5256ae0a77e.zip |
add topic header includes
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index a3407e42c..ac08b0d23 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -70,6 +70,10 @@ #include <uORB/topics/vehicle_attitude_setpoint.h> #include <uORB/topics/vehicle_rates_setpoint.h> #include <uORB/topics/actuator_outputs.h> +#include <uORB/topics/actuator_controls_0.h> +#include <uORB/topics/actuator_controls_1.h> +#include <uORB/topics/actuator_controls_2.h> +#include <uORB/topics/actuator_controls_3.h> #include <uORB/topics/actuator_controls.h> #include <uORB/topics/vehicle_command.h> #include <uORB/topics/vehicle_local_position.h> @@ -1117,7 +1121,7 @@ int sdlog2_thread_main(int argc, char *argv[]) subs.system_power_sub = orb_subscribe(ORB_ID(system_power)); subs.servorail_status_sub = orb_subscribe(ORB_ID(servorail_status)); subs.wind_sub = orb_subscribe(ORB_ID(wind_estimate)); - + /* we need to rate-limit wind, as we do not need the full update rate */ orb_set_interval(subs.wind_sub, 90); subs.encoders_sub = orb_subscribe(ORB_ID(encoders)); |