David Sidrane
487fbdf009
Use BOARD_EEPROM_WP_CTRL signal to control EEPROM WP signal if defined
...
Erases and write operations will use the BOARD_EEPROM_WP_CTRL
macro to remove the Write protection and restore it.
8 years ago
David Sidrane
44cb1afa4d
Provide an overidable nop default for BOARD_EEPROM_WP_CTRL
...
To simplify integration of an EEPROM device with a Write Protect
control pin, we add an overidable BOARD_EEPROM_WP_CTRL macro
the does nothing.
A board that provids the GPIO for WP should define
BOARD_EEPROM_WP_CTRL(_protected_true) that will set the WP GPIO
to the Protected state when passed true.
8 years ago
David Sidrane
9002581ad4
Fixes the missing CONFIG_ prefix on RAMTRON_WRITEWAIT
...
This is an intrim nuttx patch that fixes the missing CONFIG_
prefix on RAMTRON_WRITEWAIT. PR submitted upstream. This will
be in affect until the next uptake of upstream NuttX
8 years ago
Janis Dzerve
3c270ae2a8
simulator: Do not kill every process with string 'px4' in the name
8 years ago
José Roberto de Souza
6bcf9266dc
aerofc: Correctly enable UART driver for UART5(Telemetry port)
...
UART4 and UART5 are not USART instances.
8 years ago
David Sidrane
d42f8f4745
BugFix:Prevent drv_led_pwm passing a value of 0 to px4_arch_configgpio
...
This prevents the meta value of 0 => not used from being passed to
px4_arch_configgpio. As this would map to PORTA|PIN0 and is not
the intended configuration.
8 years ago
David Sidrane
3ea5a24924
crazyflie BugFix:Prevent a value of 0 being passed to px4_arch_configgpio
...
This prevents the meta value of 0 => not used from being passed to
px4_arch_configgpio. As this would map to PORTA|PIN0 and is not
the intended use.
8 years ago
Beat Küng
c1b1d03515
mc_att_control: use a maximum of 3 gyros
8 years ago
Beat Küng
21a3e4d36a
mc_att_control: fix out-of-bounds access if system has multiple gyros
8 years ago
Beat Küng
ab9e0aa524
sensors temp compensation: do an orb_copy to get the driver ID
...
This removes the necessity, that the driver class ID matches the uorb topic
instance.
Also improve error handling & reporting
8 years ago
Beat Küng
41d220ac2d
sensors: reorder initialization calls
...
needed for the next commit
8 years ago
Beat Küng
f6f145cbe8
sensors & mc_att_control: increase stack sizes due to recent changes
8 years ago
Beat Küng
fd48d9c190
sensors: print status of temp compensation with 'sensors status'
8 years ago
Beat Küng
916a04bc56
sensors temp compensation: use SENSOR_COUNT_MAX instead of just 3
8 years ago
Lorenz Meier
a3515893f3
ROMFS: Disable AR Drone and micro PCB quad for frames not supporting them
8 years ago
Beat Küng
117826a31f
sensors temp compensation: refactor into a separate class
...
- reduces some code duplication
- provides clear API & separation for temp compensation
additional changes:
- added timestamp to sensor_correction topic
- reduced its publication rate, to only when voting index or scales or
offsets change (if there is more than 1deg change in temperature)
8 years ago
Beat Küng
23d278cc43
sensors temp compensation: minor cleanup
8 years ago
Beat Küng
f38843278d
voted_sensors_update: make msl_pressure static const
8 years ago
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
b1e4291590
Sensor messages device IDs: These remain unsigned
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
b2113b9abe
cmake: Reduce flash size for px4fmu-v2 build
...
Removes Iridium SBD support
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
60c12aaa36
msg: change sensor device ID's to signed integers
...
Required to use driver class instance as surrogate sensor ID
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