Commit Graph

42 Commits

Author SHA1 Message Date
Daniel Agar cc1c37ffd1 ADIS16477 improve reset and probe logic 2018-07-29 18:09:34 -04:00
Daniel Agar cc96e5ec5e sensor messages remove unused fields and improve comments 2018-07-29 21:04:21 +02:00
Daniel Agar e4be8eccc9 bmi055 add measure interval perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 0da8125ac0 bmi055 remove unused reset retries perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar adf6ea3596 bmi055 remove unused gyro duplicates perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 734fc1bf8d bmi055 remove cdev read (gyro_reads) perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 7bc364207e bmi055 remove cdev read (accel_reads) perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar cd07e756b9 bmi055 name separate accel and gyro perf counters properly 2018-07-08 20:14:34 +02:00
Daniel Agar b6399dbdf0 bmi055 remove common good_transfers perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar eef325e2af bmi055 split accel and gyro headers 2018-07-08 20:14:34 +02:00
Daniel Agar 4c5ace9b75 mpu6000 add interval perf counter and delete unused 2018-07-08 20:14:34 +02:00
Daniel Agar 13c2c8c89b ADIS16477 use checksum to verify transfer and populate gyro device id 2018-07-08 10:18:13 -04:00
Daniel Agar 74c20a0fd5 ADIS16477 reset on init and increase delay 2018-07-08 10:18:13 -04:00
Daniel Agar 02d4405a62 c++11 default destructors 2018-06-30 19:55:08 -04:00
Beat Küng 9151351b8d l3gd20: add argc check and use px4_getopt 2018-06-12 11:02:50 +02:00
DanielePettenuzzo 7a760ee501 fmu-v5: add PX4_I2C_BUS_EXPANSION1 and 2 to all drivers that check all the busses 2018-06-06 17:31:33 +02:00
Beat Küng 009b2d4d6b mpu9250: add argc check and use px4_getopt 2018-06-04 16:33:55 +02:00
Beat Küng c2c3780918 mpu6000: add argc check and use px4_getopt 2018-06-04 16:33:55 +02:00
Beat Küng a0d4e7aa90 bmi160: add argc check and use px4_getopt 2018-06-04 16:33:55 +02:00
Beat Küng 8f5fb3d0e5 bma180: add argc check 2018-06-04 16:33:55 +02:00
DanielePettenuzzo 2770e1d2c7 mpu9250: remove define from integrator interval when using i2c 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 8b54346d52 mpu9250: decrease sampling rate when using i2c 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 533f42adb8 crazyflie: add probe() to vl53lxx driver and set imu sampling rate to 200 Hz for this board 2018-05-22 12:21:45 +02:00
DanielePettenuzzo ffbb53454e crazyflie: removed crazyflie specific #ifdefs from mpu9250 2018-05-22 12:21:45 +02:00
DanielePettenuzzo f49fd2acc7 crazyflie: increase imu reading rate 2018-05-22 12:21:45 +02:00
Daniel Agar ffbd75d1b9 adis16477 driver 2018-05-07 00:07:29 +02:00
Daniel Agar 6b94ef1a03 mpu9250 allow a 2nd internal spi instance and remove px4fmu-v4 fake external (#9386) 2018-05-04 12:38:43 -04:00
Daniel Agar 977ab4e7b8 improve end to end control latency measurement (#9388) 2018-05-02 03:03:32 -04:00
Daniel Agar ea3acb7121 cmake remove circular linking and reorganize
- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng 4ef3d258eb imu drivers: do not set on-chip filter based on driver filter setting
The description of IMU_GYRO_CUTOFF was incorrectly saying that it only
affects the driver filtering, but in fact it also set the on-chip filter
to the next higher supported value. This patch fixes that.

And because the IMU_GYRO_CUTOFF and not the IMU_ACCEL_CUTOFF was used for
the on-chip filter, after #9070 which sets the default gyro filter to 80,
we were effectively using a dlpf of 98 Hz.
For this reason this patch changes the on-chip cutoff frequency to 98 as
well, so that the overall default behavior is unchanged.
2018-04-25 16:32:06 +02:00
Daniel Agar d75fd72c02 stop manually defining physical constants 2018-04-19 07:24:58 +02:00
Amir Melzer 54260313b7 ADIS16448 remove the restore factory calibration functionality from probe (#9164) 2018-03-29 23:52:46 -04:00
Daniel Agar 5fba1f38b2 drivers start using uORB message print instead of custom 2018-03-28 09:15:41 -04:00
Daniel Agar 1b174eeca2 drivers replace math::Vector<3> with matrix::Vector3f 2018-03-21 13:48:45 -04:00
Karl Schwabe d952fe028e MPU6000: unadvertises the accel and gyro uORB topics in destructor 2018-03-21 13:07:01 -04:00
Daniel Agar f194c5424c move hmc5883 i2c address into driver 2018-03-14 14:38:40 -04:00
David Sidrane de9368319f Do not change mode to read temperature
The mode change was not necessary and in fact caused the chip to not update the registerfile resulting in MAG timeouts
2018-03-12 11:56:59 +01:00
Beat Küng dde922a971 fxos8701cq: add a 'stop' command 2018-03-12 11:56:59 +01:00
David Sidrane 0ed631227f fxos8701cq:Work with fxos8701cq and fxos8700cq
Allow whoami of fxos8701cq and fxos8700cq
2018-03-12 11:56:59 +01:00
Daniel Agar 5335778f6e nxphlite start correct sensors and disable debug 2018-03-11 18:19:12 -05:00
mcsauder 3ef6bc7d93 Update CMakeLists for the drivers/imu directory. 2018-02-22 12:48:34 -05:00
Daniel Agar 681e351f62 organize all IMU drivers in subdirectory 2018-02-09 22:40:34 +01:00