Beat Küng
8ebde51648
refactor hmc5883: use driver base class
...
Removes the calibration on startup, as these values were overwritten by
the system calibration values anyway.
So the only difference is that if all calibration scales were equal to 1,
the driver startup would have failed.
2020-03-17 23:31:17 -04:00
Beat Küng
8f3ba81c4a
refactor atxxxx: use driver base class
...
and increase update rate to 20Hz
2020-03-17 23:31:17 -04:00
Beat Küng
20db735d77
refactor ak09916: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
47b329cc54
refactor bmm150: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
e4bf535595
refactor bst telemetry: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
fb6ce09dc4
refactor pcf8583: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
bb4ff04caf
refactor irlock: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
1710cd9648
refactor px4flow: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
b6119c71df
refactor paw3902: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
82f92b56db
batt_smbus: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
ec2de33547
lights: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
692d262e0e
refactor voxlpm: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
832ccd262e
refactor ina226: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
d6b9cfa3e2
pga460: fix documentation
2020-03-17 23:31:17 -04:00
Beat Küng
68ef14002a
differential_pressure drivers: allow multiple instances of each driver
...
- the device path needs to be removed, as startup fails if it already
exists
- sdp3x broadcasts a reset on startup, so do it only for the first I2C
address
2020-03-17 23:31:17 -04:00
Beat Küng
3b7b2dc871
differential_pressure sensors: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
0924ff7fcf
refactor vl53lxx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
83b367f000
refactor teraranger: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
5a26f06f8a
fix sf0x: check if device port is given
...
otherwise we risk dereferencing a null pointer
2020-03-17 23:31:17 -04:00
Beat Küng
bbe15aa61a
refactor srf02: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
a6ddf0e4b9
refactor sf1xx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
f743585160
refactor mb12xx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
7e3f40d1c2
refactor mappydot: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
1b1e1ba31f
refactor ll40ls: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
df99555132
refactor ll40ls: split I2C and PWM into separate drivers
...
- there was almost nothing shared
- it will fit better into the updated I2C driver structure
2020-03-17 23:31:17 -04:00
Beat Küng
081ab729aa
refactor lps25h: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
dc5ffb43a3
refactor mpl3115a2: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
d81fedfcfa
refactor lps22hb: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
83a3deb9da
refactor dps310: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
985bb2adc9
refactor bmp388: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
aeadf54a74
refactor bmp280: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
dbb53044ce
refactor ms5611: use driver base class
...
Also: remove device type auto-detection as it will not work with
together with the new SPI board config (which specifies a specific
device type)
2020-03-17 23:31:17 -04:00
Beat Küng
22a38453ab
refactor bmi055: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
969a77f889
refactor mpu6000: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
be0a205438
refactor ist8310: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
3e71914fae
refactor lsm9ds1+lsm9ds1_mag: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
58f386a81c
refactor pmw3910: use driver base class
2020-03-17 23:31:17 -04:00
Daniel Agar
422e89b1c0
iSentek IST8308 magnetometer driver
2020-03-15 12:27:01 -04:00
Daniel Agar
5fcd7932e9
mavlink: replace MavlinkOrbSubscription with uORB::Subscription
...
* uORB orb_stat() and update(uint64_t *time, void *dst) are now obsolete and have been deleted
* mavlink messages add more advertised checks in streams get_size() check to improve data rate calculation across different scenarios
2020-03-14 12:52:46 -04:00
Lorenz Meier
027e52d402
Camera trigger: Improve code readability
...
This helps to trace the code, no functional changes.
2020-03-14 17:50:40 +01:00
Lorenz Meier
8842977d80
Camera trigger: Handle trigger distance handling better
2020-03-14 17:50:40 +01:00
Daniel Agar
a89b69b0ea
vehicle_global_position: remove velocity fields (duplicates of local vx, vy, vz)
...
* attitude_estimator_q: get velocity from local position (if available)
2020-03-11 23:57:43 -04:00
Daniel Agar
5d33b9e999
delete Outback Challenge (OBC) AUTO_RTGS (datalink loss) and AUTO_RCRECOVER (rc loss)
2020-03-11 22:45:55 -04:00
David Sidrane
4b9e6964f4
uavcan:Support runtime setting of CAN interfaces
2020-03-11 20:36:58 -04:00
Daniel Agar
9585055e9e
uORB: add bitset for faster orb_exists check and remove uORB::Subscription lazy subscribe hack/optimization
...
- add PX4 bitset and atomic_bitset with testing
- add uORB::Subscription constructor to take ORB_ID enum
- move orb test messages into msg/
2020-03-11 09:06:33 -04:00
Beat Küng
b54e5a1c23
param: automatically update calibration ID params on import
...
This avoids the need for recalibration, and also cleans up other driver
ID's (merge separate accel/gyro).
The SPI address was previously set to a board-specific (arbitrary) value,
and is now set to 0. This will allow extending for multiple sensors of the
same type on the same bus.
2020-03-10 10:11:43 -04:00
Beat Küng
1851665fab
boards: add new spi+i2c config
...
Chip-select and SPI initialization uses the new config, whereas the drivers
still use the existing defines.
The configuration in board_config.h can be removed after all drivers are
updated.
2020-03-10 10:11:43 -04:00
Alexey Matveev
baf3cd5c30
Up stack for frsky_telemetry
2020-03-09 17:02:54 -04:00
David Sidrane
64cf310c8a
Uavcan:Fix null pointer defrefenence
2020-02-29 11:26:35 +01:00
Daniel Agar
af6213e85e
invensense icm20689 improvements and fixes
...
- refactor Run() into simple state machine
- perform reset and configuration in sensor bus thread
- when using data ready interrupt skip checking FIFO count
- fix periodic temperature sampling (rate limit to 1 Hz)
2020-02-22 12:15:52 -05:00