13446 Commits

Author SHA1 Message Date
Lorenz Meier
e7a0089340 9250: Fill device ID for mag correctly 2017-01-29 16:24:47 +01:00
Lorenz Meier
a9a31bc745 MPU6K: Device ID should come from the main instance, not interface 2017-01-29 16:24:47 +01:00
Lorenz Meier
be2c73e9c3 HMC driver: Device ID should come from the main instance, not the interface 2017-01-29 16:24:47 +01:00
Lorenz Meier
a520c62d1a Allow setting the device ID in device driver 2017-01-29 16:24:47 +01:00
Lorenz Meier
1b06c04b5c Sensors: Style fix 2017-01-29 16:24:47 +01:00
Lorenz Meier
9cacdaafc7 Sensors: Reset gyro and accel calibration if one sensor goes missing.
This is to ensure that if sensor IDs are fixed we do not end up in a state where the system is partially calibrated and the need for re-calibration is not properly communicated to the user.
2017-01-29 16:24:47 +01:00
Lorenz Meier
d0d1a8e04f MS5611: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
0ee68071fc 9250: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
af4e9b668b MPU6K: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
40e5d25196 LPS25H: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
19d4c65a70 LIS: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
6c7a8b594e HMC: Add missing bus identifier 2017-01-29 16:24:47 +01:00
Lorenz Meier
f80a1df133 Sensor header: Add previously unknown device identifiers 2017-01-29 16:24:47 +01:00
Lorenz Meier
33f6316d3c Device: Also allow to read bus type 2017-01-29 16:24:47 +01:00
Lorenz Meier
ec78830657 BMP280: Fix device ID setup 2017-01-29 16:24:47 +01:00
Lorenz Meier
8f77d55b8c BMA180: Fix device ID setup 2017-01-29 16:24:47 +01:00
Lorenz Meier
e88bb4cc09 MPU6K: Correctly register sub-type, remove magic numbers.
Before this change the MPU6K driver would register only the MPU6K family, but not the sub-type, which prevented telling individual sensors apart. This is a breaking change because users will have to perform their accel and gyro calibration again. However, it is unavoidable since right now the different sensors can end up with the same ID and the wrong offsets can be applied to the wrong sensor.
2017-01-29 16:24:47 +01:00
Lorenz Meier
a33bce0d26 Device IDs: List all sub-types of the MPU6K 2017-01-29 16:24:47 +01:00
Lorenz Meier
1c131f2523 Land detector: Accumulate total flight time between flights 2017-01-29 15:48:34 +01:00
Lorenz Meier
35efe651ac Land detector main: Fix style 2017-01-29 15:48:34 +01:00
Lorenz Meier
75132a50e6 Land detector: Measure total system flight time
This implementation is a baseline implementation and makes no attempt to be tamper-proof. A monotonic counter like the W25R64FV or a similar HW facility would be required to achieve this.
2017-01-29 15:48:34 +01:00
Lorenz Meier
2cf8cdc63f Event system: Initialize work item 2017-01-29 15:10:09 +01:00
Khoi Tran
21f8e07836 Fixed format 2017-01-29 09:37:48 +01:00
Khoi Tran
2428ff9f3a mc_position_control: Fix divide by zero in scale_control 2017-01-29 09:37:48 +01:00
Lorenz Meier
3f9d79c768 Update GPS 2017-01-29 01:19:48 +01:00
Daniel Agar
278b76e5a9 astyle src/platforms/qurt 2017-01-29 01:18:32 +01:00
Daniel Agar
501f866bf5 astyle src/platforms/posix 2017-01-29 01:18:32 +01:00
Daniel Agar
ca60d2d15f astyle src/platforms/ros 2017-01-29 01:18:32 +01:00
Daniel Agar
624403f147 astyle src/examples/hwtest 2017-01-29 01:18:32 +01:00
Daniel Agar
fa3b3df061 astyle src/lib/geo 2017-01-29 01:18:32 +01:00
Daniel Agar
8fbf5cbdaf astyle src/drivers/device 2017-01-29 01:18:32 +01:00
Daniel Agar
adbe38e86b astyle src/drivers/stm32 2017-01-29 01:18:32 +01:00
Daniel Agar
1261f985d8 astyle src/drivers/bmi160 2017-01-29 01:18:32 +01:00
Daniel Agar
fc4831d625 astyle src/drivers/mkblctrl 2017-01-29 01:18:32 +01:00
Daniel Agar
f0cde91220 astyle src/drivers/vmount 2017-01-29 01:18:32 +01:00
Daniel Agar
e43a8013dd astyle src/drivers/mpu9250 2017-01-29 01:18:32 +01:00
Daniel Agar
52c4479e0f astyle src/drivers/camera_trigger 2017-01-29 01:18:32 +01:00
Daniel Agar
30587e5669 astyle src/drivers/gps 2017-01-29 01:18:32 +01:00
Daniel Agar
32da3381f7 astyle src/drivers/bootloaders 2017-01-29 01:18:32 +01:00
Daniel Agar
8ab79a2c90 astyle src/drivers/test_ppm 2017-01-29 01:18:32 +01:00
Daniel Agar
ac06d665a3 astyle src/drivers/boards 2017-01-29 01:18:32 +01:00
Daniel Agar
e63c8ab2a2 astyle src/drivers/ardrone_interface 2017-01-29 01:18:32 +01:00
Daniel Agar
ee8fa78d93 astyle src/modules/uORB 2017-01-29 01:18:32 +01:00
Daniel Agar
88ad0fc3bd astyle src/modules/navigator 2017-01-29 01:18:32 +01:00
Daniel Agar
750e5d1690 astyle src/modules/uavcanesc 2017-01-29 01:18:32 +01:00
Daniel Agar
0bc3c8dfc4 astyle src/modules/systemlib 2017-01-29 01:18:32 +01:00
Daniel Agar
b1b951aace astyle src/modules/muorb 2017-01-29 01:18:32 +01:00
Daniel Agar
a0271fe020 astyle src/modules/vtol_att_control 2017-01-29 01:18:32 +01:00
Daniel Agar
380819dfc5 astyle src/modules/uavcannode 2017-01-29 01:18:32 +01:00
Daniel Agar
019c6647f2 astyle src/modules/sensors 2017-01-29 01:18:32 +01:00