mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 14:43:34 +08:00
Delete unnecessary #includes from the imu driver directory.
This commit is contained in:
@@ -33,14 +33,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <drivers/device/integrator.h>
|
||||
#include <drivers/device/spi.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <ecl/geo/geo.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <px4_config.h>
|
||||
#include <systemlib/conversions.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <px4_getopt.h>
|
||||
#include <px4_work_queue/ScheduledWorkItem.hpp>
|
||||
|
||||
#define DIR_READ 0x80
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
|
||||
#include "BMI055_accel.hpp"
|
||||
|
||||
#include <ecl/geo/geo.h>
|
||||
|
||||
/*
|
||||
list of registers that will be checked in check_registers(). Note
|
||||
that ADDR_WHO_AM_I must be first in the list.
|
||||
|
||||
@@ -33,15 +33,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "BMI055.hpp"
|
||||
|
||||
#include <drivers/device/spi.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <lib/drivers/accelerometer/PX4Accelerometer.hpp>
|
||||
#include <px4_config.h>
|
||||
#include <systemlib/conversions.h>
|
||||
|
||||
#include "BMI055.hpp"
|
||||
|
||||
#define BMI055_DEVICE_PATH_ACCEL "/dev/bmi055_accel"
|
||||
#define BMI055_DEVICE_PATH_ACCEL_EXT "/dev/bmi055_accel_ext"
|
||||
|
||||
@@ -33,15 +33,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "BMI055.hpp"
|
||||
|
||||
#include <drivers/device/spi.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/conversion/rotation.h>
|
||||
#include <lib/perf/perf_counter.h>
|
||||
#include <lib/drivers/gyroscope/PX4Gyroscope.hpp>
|
||||
#include <px4_config.h>
|
||||
#include <systemlib/conversions.h>
|
||||
|
||||
#include "BMI055.hpp"
|
||||
|
||||
#define BMI055_DEVICE_PATH_GYRO "/dev/bmi055_gyro"
|
||||
#define BMI055_DEVICE_PATH_GYRO_EXT "/dev/bmi055_gyro_ext"
|
||||
|
||||
@@ -34,9 +34,6 @@
|
||||
#include "BMI055_accel.hpp"
|
||||
#include "BMI055_gyro.hpp"
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <px4_getopt.h>
|
||||
|
||||
/** driver 'main' command */
|
||||
extern "C" { __EXPORT int bmi055_main(int argc, char *argv[]); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user