Delete unnecessary #includes from the imu driver directory.

This commit is contained in:
mcsauder
2019-07-08 23:45:01 -04:00
committed by Daniel Agar
parent be414f7ab1
commit b495ddbdd3
42 changed files with 178 additions and 327 deletions
+2 -6
View File
@@ -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
-2
View File
@@ -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.
+2 -8
View File
@@ -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"
+2 -8
View File
@@ -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"
-3
View File
@@ -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[]); }