Commit Graph

148 Commits

Author SHA1 Message Date
Daniel Agar 9c6d4e28ea fxos8701cq cleanup and move to PX4Accelerometer/PX4Magnetomer 2019-09-01 12:08:52 -04:00
Daniel Agar ee9f65b38b fxos8701cq split out header and main 2019-09-01 12:08:52 -04:00
Daniel Agar 78ef8aab2d STACK_MAIN increase default 1024 -> 2048 2019-08-30 19:11:51 -07:00
Beat Küng f8e0441e7b src/platforms/common: move to platforms/common
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Daniel Agar 497a053bc1 fxas21002c fix perf counter typo and add interval 2019-08-29 00:37:24 -04:00
Daniel Agar b7f0db62ba mRo Control Zero F7 initial board support 2019-08-14 13:13:27 -04:00
mcsauder 887b55269a Delete whitespace to quiet githooks. 2019-08-08 18:56:26 -04:00
Daniel Agar 6e781c2289 InvenSense ICM20948 move to PX4Accelerometer, PX4Gyroscope, PX4Magnetometer helpers 2019-08-06 23:36:31 -04:00
Karl Schwabe d301c22665 Bosch BMI088 initial driver 2019-08-02 13:38:36 -04:00
Daniel Agar 75531125a2 lsm303d split out header and main 2019-07-29 10:57:51 -04:00
Daniel Agar 87200d7954 lsm303d driver move to PX4Accelerometer/PX4Magnetometer and cleanup 2019-07-29 10:57:51 -04:00
mcsauder b495ddbdd3 Delete unnecessary #includes from the imu driver directory. 2019-07-08 23:45:01 -04:00
Daniel Agar 9bfc4f2d54 Analog Device ADIS16477 move to PX4Accelerometer/PX4Gyroscope and cleanup 2019-07-01 22:53:27 -04:00
Daniel Agar 9450496eb4 Analog Devices ADIS16497 move to PX4Accelerometer/PX4Gyroscope and cleanup 2019-07-01 22:47:31 -04:00
Daniel Agar cdadb393b7 Analog Device ADIS16448 cleanup
- move to PX4Accelerometer, PX4Gyroscope, PX4Magnetometer helpers
 - add barometer support (using PX4Barometer)
2019-07-01 16:02:00 -04:00
David Sidrane 1cf4a2d953 Added Suport for ICM 20602 on PX4_SPI_BUS_SENSORS1 2019-06-26 14:34:02 -04:00
Daniel Agar 9d726cb0c4 bmi160 move to PX4Accelerometer and PX4Gyroscope and cleanup (#12128) 2019-06-05 11:25:18 -07:00
Daniel Agar a1b96ba3a5 mpu9250 delete unused perf counters 2019-06-04 20:31:47 -04:00
Daniel Agar 32fb2bae8c InvenSense MPU9250 move to PX4Accelerometer and PX4Gyroscope helpers 2019-05-31 21:43:30 -04:00
Daniel Agar cd45d8fc68 fxas21002c split out main and header 2019-05-31 18:20:32 -04:00
Daniel Agar b57dff8594 fxas21002c move to PX4Gyroscope and cleanup 2019-05-31 18:20:32 -04:00
Daniel Agar a523e18c13 ST L3GD20 move to PX4Gyroscope helper 2019-05-29 13:56:18 -04:00
Daniel Agar f7ff82c754 Bosch BMI055 IMU cleanup
- move to PX4Accelerometer and PX4Gyroscope helpers
2019-05-27 18:03:32 -04:00
Daniel Agar 5e427b4e46 adis16497 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar ec0d1d6f62 lsm303d move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 8b4ecc6947 icm20948 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar fc7f1ca598 fxos8701cq move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar d4ece2c7bb fxas21002c move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 9fa865d490 bmi160 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 370f0f73ce bma180 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar e27a8e1010 bmi055 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar be3653f761 l3gd20 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 427c49ac43 adis16477 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 6113caaa33 adis16448 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar 16b26c1927 mpu6000 move to px4 work queue 2019-05-24 12:58:55 -04:00
Daniel Agar ea734f634d mpu9250 move to px4 work queue 2019-05-24 12:58:55 -04:00
Beat Küng c3ac1497c0 mpu9250: fix mag publishing garbage on IMU failure (SPI only)
The Pixhawk cube as an internal mag on SPI. If there was a bad register
read (e.g. on an IMU failure), _register_wait was non-zero and there was
no transfer but _mag still published mpu_report.mag.
2019-04-26 18:49:28 +02:00
Thijs Raymakers 33fe69a3e8 adis16497: fix TEMP_OUT conversion according to the datasheet 2019-04-26 15:22:06 +02:00
Dennis Millard 70681f990f BMI055 IMU driver fix temperature reporting 2019-04-16 22:53:16 -04:00
Thijs Raymakers 52542f9802 adis16497: fix TEMP_OUT scaling 2019-03-29 00:43:16 -04:00
Beat Küng c9d32578e3 fix bmi055: increase DLPF from 62.5 to 500
With a DLPF of 62.5 Hz, the sampling rate is apperently not 1 kHz anymore,
because the driver got duplicate samples and published only at 128 Hz.
We have to increase the filter back to 500 Hz so that we get 1 kHz sampling
rate, with 250 Hz publications.
2019-03-21 11:50:37 -04:00
Mark Sauder 4c228eaf4a cmake whitespace fixes to quiet git hook. 2019-03-16 14:48:44 -04:00
Daniel Agar b35d048566 cmake enable -Wcast-align and disable per module 2019-03-16 11:47:15 -04:00
Mohammed Kabir 20e44aa320 Analog Device ADIS16497 IMU initial support 2019-02-25 09:34:58 -05:00
Beat Küng 75bb3e9bac bmi055: add support for IMU_GYRO_CUTOFF and IMU_ACCEL_CUTOFF 2019-02-21 12:30:44 -05:00
Beat Küng ba6ef19314 bmi055: fixes for on-chip filter
- Accel: use cutoff of 62.5 Hz instead of 500 Hz
- Gyro: the cutoff frequency is coupled with the ODR and is fixed to 116 Hz
  at 1 kHz readout rate. So this patch does not change anything for the
  gyro.
2019-02-21 12:30:44 -05:00
bazooka joe 7bac0e03de Fixed using myoptarg instead of optarg 2019-02-21 09:45:45 +01:00
Beat Küng e639a8834c Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
Beat Küng 1ffacdc3c0 Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
bazooka joe 922c19aa9c using only px4_getopt() and never the unsafe getopt()
using only <px4_getopt.h> as include, cleanup related includes
added check that all the option are valid (myoptind >= argc). if there are invalid options on some script that might now lead not to run commands
2019-02-21 09:45:45 +01:00