diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-11-11 15:01:47 +0100 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-11-11 15:01:47 +0100 |
commit | a0e2e4e8b30ef64728ff57e56a28b95527f4a1b0 (patch) | |
tree | b9f460ab68190711e4ead9f2f2c6e6f1f3b23fa6 | |
parent | ed409fd53757a43b49758d3ed5573e809a23b113 (diff) | |
download | px4-firmware-a0e2e4e8b30ef64728ff57e56a28b95527f4a1b0.tar.gz px4-firmware-a0e2e4e8b30ef64728ff57e56a28b95527f4a1b0.tar.bz2 px4-firmware-a0e2e4e8b30ef64728ff57e56a28b95527f4a1b0.zip |
pixhawk specific files
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_base.cpp | 1 | ||||
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_base.h | 2 | ||||
-rw-r--r-- | src/platforms/px4_defines.h | 5 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_base.cpp b/src/modules/fw_att_control/fw_att_control_base.cpp index d8ba15969..99780bc7e 100644 --- a/src/modules/fw_att_control/fw_att_control_base.cpp +++ b/src/modules/fw_att_control/fw_att_control_base.cpp @@ -56,7 +56,6 @@ FixedwingAttitudeControlBase::FixedwingAttitudeControlBase() : _setpoint_valid(false), _debug(false) { /* safely initialize structs */ _att = {}; - _accel = {}; _att_sp = {}; _manual = {}; _airspeed = {}; diff --git a/src/modules/fw_att_control/fw_att_control_base.h b/src/modules/fw_att_control/fw_att_control_base.h index 6b2efc46b..1726c2e3e 100644 --- a/src/modules/fw_att_control/fw_att_control_base.h +++ b/src/modules/fw_att_control/fw_att_control_base.h @@ -54,7 +54,6 @@ #include <uORB/topics/vehicle_global_position.h> #include <uORB/topics/vehicle_status.h> -#include <drivers/drv_accel.h> #include <systemlib/perf_counter.h> class FixedwingAttitudeControlBase @@ -78,7 +77,6 @@ protected: int _control_task; /**< task handle for sensor task */ struct vehicle_attitude_s _att; /**< vehicle attitude */ - struct accel_report _accel; /**< body frame accelerations */ struct vehicle_attitude_setpoint_s _att_sp; /**< vehicle attitude setpoint */ struct manual_control_setpoint_s _manual; /**< r/c channel data */ struct airspeed_s _airspeed; /**< airspeed */ diff --git a/src/platforms/px4_defines.h b/src/platforms/px4_defines.h index 327d0bea1..1ff46b97c 100644 --- a/src/platforms/px4_defines.h +++ b/src/platforms/px4_defines.h @@ -48,11 +48,6 @@ #else #include <nuttx/config.h> //#define PX4_MAIN_FUNCTION(_prefix) __EXPORT int _prefix##main(int argc, char **argv)() { return main(argc, argv); } - -#include "drv_sensor.h" -#include "drv_orb_dev.h" -#define ACCEL_DEVICE_PATH "/dev/accel" - #include <modules/uORB/uORB.h> #endif |