Beat Küng
e1ff6af792
mc_att_control_main: initialize _sensor_corrections properly
8 years ago
Beat Küng
535b1ea0dd
voted_sensors_update: simplify accel & gyro poll methods
8 years ago
Lorenz Meier
6209cd0e57
Fix MPU6050
8 years ago
Lorenz Meier
62f95931ed
MPU9250: Fix device ID
8 years ago
Lorenz Meier
1134f1a868
Fix sensor IDs
8 years ago
Beat Küng
7d5cd02c70
mc_att_control_main: fix bound check for gyro instance
8 years ago
Beat Küng
bbd47389e0
voted_sensors_update: fix copy paste naming mistake
8 years ago
Beat Küng
0765ed552c
sensor_correction.msg rename {gyro,accel,baro}_select to match uORB convention
8 years ago
Lorenz Meier
7326fea142
Driver compile fixes
8 years ago
Lorenz Meier
71fa064bc7
MPU6K: Fix device ID
8 years ago
Lorenz Meier
171c321acc
MS5611: Fix device ID
8 years ago
Lorenz Meier
9860a17e25
MPU6K: Fix device ID
8 years ago
Lorenz Meier
479e6937d6
LSM303D: Fix devid
8 years ago
Lorenz Meier
36e4b8e5e8
LPS25H: Fix devid
8 years ago
Lorenz Meier
79caa30bd5
L3GD20: Fix devid
8 years ago
Lorenz Meier
6e2c43b3d9
BMP280: Fix devid
8 years ago
Lorenz Meier
a42932033e
BMI160: Fix devid
8 years ago
Lorenz Meier
00d26b75e9
MC att control: Harden against incorrect indices
8 years ago
Lorenz Meier
905c091f8c
MAVLink receiver: Use fake device ID
8 years ago
Lorenz Meier
9f0d588989
Simulated drivers: Use fake device IDs
8 years ago
Lorenz Meier
49a29ee775
Fix up DriverFramework wrappers, bring them back to the real device ID they have already in-built
8 years ago
Paul Riseborough
eac6dfed3c
mc_att_control: Sync attitude loops to gyro data
...
Sync the attitude controller to the raw gyro data to remove the latency in the rate loops caused by the sensor and estimator modules.
Attitude data latency will increase as it will be from the previous EKF update, however attitude loops are less latency sensitive.
Thermal compensation and bias data will be from the previous frame.
8 years ago
Paul Riseborough
edbe68f833
posix drivers: use orb instance as surrogate sensor ID for simulated IMU
8 years ago
Paul Riseborough
e84a189380
drivers: use driver class instance as surrogate sensor ID for gyro and accelerometer
8 years ago
Paul Riseborough
0485c2b94a
sensors: add baro pressure temperature compensation and reporting
8 years ago
Paul Riseborough
c21b4aaf2e
posix drivers: Populate baro device ID
...
TODO - use unique HW ID
8 years ago
Paul Riseborough
0ba31b521c
uavcan: Populate baro device ID
...
TODO - use unique HW ID
8 years ago
Paul Riseborough
677616ed83
mavlink: Populate baro device ID
...
TODO - use unique HW ID
8 years ago
Paul Riseborough
5e53a5425a
drivers: Populate baro device ID
...
TODO - use unique HW ID
8 years ago
Paul Riseborough
c2fc283fdb
sensors: Update single axis temp comp method to 5th order
...
This allows future use with baro sensors that require a higher fit order
8 years ago
Paul Riseborough
6a78df7fa0
ekf_att_pos_estimator: Publish control state gyro bias
8 years ago
Paul Riseborough
f8cef1e9ab
attitude_estimator_q: populate control state gyro bias data
...
Populate with zeros.
TODO provide estimate.
8 years ago
Paul Riseborough
27e6f07485
ekf2: publish control state gyro bias data
8 years ago
Paul Riseborough
da87e3eb0a
posix drivers: Populate device ID in sensor topics for simulated IMU
8 years ago
Paul Riseborough
961474f430
posix drivers: Populate device ID in sensor topics for mpu9250
8 years ago
Paul Riseborough
1009550262
posix drivers: Populate device ID in sensor topics for mpu6050
8 years ago
Paul Riseborough
48f81f24e1
posix drivers: Populate device ID in sensor topics for lsm9ds1 sensor
8 years ago
Paul Riseborough
7c9e9f31e1
drivers/mpu9250: Populate device ID in sensor topics
8 years ago
Paul Riseborough
5177866b54
drivers/mpu6500: Populate device ID in sensor topics
8 years ago
Paul Riseborough
ddda5eccd6
drivers/mpu6000: Populate device ID in sensor topics
8 years ago
Paul Riseborough
cfaef7f433
drivers/lsm303d: Populate device ID in sensor topics
8 years ago
Paul Riseborough
14e2ea78b3
drivers/l3gd20: Populate device ID in sensor topic
8 years ago
Paul Riseborough
9014443d77
drivers/bmi160: Populate device ID in sensor topics
8 years ago
Paul Riseborough
63f032832f
Add prototype IMU temperature compensation
...
Enabled using TC_A_ENABLE and TC_G_ENABLE parameters
Disabled by default.
IMU offsets and scale factors for selected sensor published to sensor_correction topic
TODO Parameter storage method is cumbersome
8 years ago
Matthias Grob
db581fa5e8
mc_pos_control: hotfix for possible thrust below minimum thrust setting
...
Hotfix after a crash because of a heavily negative desired thrust that got clipped to 0 by the mixer.
0 thrust meant no more attitude tracking.
8 years ago
David Sidrane
23eb07ff3e
Only perform GIOP operations on defined IO ( #6381 )
...
Check if the table entry fo the IO requested is defined
so that 0 is never passed to px4_arch_gpioXXXX functions.
8 years ago
Beat Küng
e7db0ed098
test_mixer & mixer: use memmove instead of memcpy
...
Both, src & dst use the same array, thus potentially overlapping.
Behavior of memcpy in that case is undefined.
8 years ago
Chris Lovett
33a307873a
Enable rc mode change switch to override offboard mode. This is a safety feature, in case offboard control goes crazy, user can always regain control by switching modes to stabilize, or alt hold or position hold, however they have configured the mode change RC switch.
8 years ago
Vlad Radulescu
ec104bb7ac
Corrected a tiny spelling mistake and modifed the PPM_MIN_CHANNELS check so it accepts a minimum of 5 channels. It seems that was the initial intention.
8 years ago
David Sidrane
569b20d184
FMUv5 Fixed hardfault log
...
F7 was missing in the CONFIG_xxx that controlled enableing the
hardfault_log boot code that can save the fault log
8 years ago