Daniel Agar
67f1e63362
drivers don't print accel and gyro filter frequency
2018-09-19 08:26:32 +02:00
David Sidrane
c1df899b6f
fxos8701cq: Fully remove the mag to facilitate calibration ( #10499 )
...
The previous removal of the mag was not complete. It just disabled publishing. This commit conditionally removes all the the mag functionality.
2018-09-17 13:07:46 -04:00
David Sidrane
153d106969
fxas21002c:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
e84a7dc140
fxos8701cq:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
520a81a951
nxphlite-v3:Disable internal mag due to random spikes.
...
This will disable the fxos8701cq internal mag on
the NXPHlite. There are random noise spikes on the
HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00
Daniel Agar
6abd0c2672
BMI055 increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
2dd71fa73c
mpu6000 increase MAIN stack
2018-09-02 15:31:54 -04:00
Daniel Agar
7cc0e69fcd
add px4fmu-v{3,4,5} stackcheck configs
2018-09-02 14:16:04 -04:00
David Sidrane
28125aca3d
fxos8701cq:Clean up & paramater based low pass fileter
...
Added paramater based low pass fileter settting from
IMU_ACCEL_CUTOFF.
removed gotos.
2018-08-24 23:09:55 +02:00
David Sidrane
3f65efe1b0
fxas21002c:Clean and speed up with SW, HW LPF.
...
Added paramater based low pass fileter settting from
IMU_GYRO_CUTOFF.
Added interfaces for setting the HW low pass filter.
Set HW LPF to 64 Hz
Changed poll rate to ODR to 800 Hz.
Documeted the TIMER_REDUCTION value as 20% and changed it to
250 Us / 1250 us.
Added standby control API, to insure chip is configured in
standby mode.
removed tabs.
removed gotos.
2018-08-24 23:09:55 +02:00
Beat Küng
79ba6b0d39
lsm303d: improve error output
2018-08-02 16:09:36 +02:00
Daniel Agar
568a5f1c4c
delete ACCELIOCSELFTEST and GYROIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
31c08c7ffb
mpu9250 mag delete MAGIOCSHWLOWPASS and MAGIOCGHWLOWPASS
2018-08-02 08:05:52 +02:00
Daniel Agar
bb9c38a480
delete MAGIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
a4a040aa45
ADIS16477 run onboard self test during init
2018-07-29 18:09:34 -04:00
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