mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 04:00:34 +08:00
pixhawk specific files
This commit is contained in:
@@ -56,7 +56,6 @@ FixedwingAttitudeControlBase::FixedwingAttitudeControlBase() :
|
||||
_setpoint_valid(false), _debug(false) {
|
||||
/* safely initialize structs */
|
||||
_att = {};
|
||||
_accel = {};
|
||||
_att_sp = {};
|
||||
_manual = {};
|
||||
_airspeed = {};
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user