Beat Küng
1b1e1ba31f
refactor ll40ls: use driver base class
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
d81fedfcfa
refactor lps22hb: 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
58f386a81c
refactor pmw3910: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
f555fe309c
fmu-v5: change external i2c bus ordering to match with the label
2020-03-17 23:31:17 -04:00
Beat Küng
87cd20180c
i2c spi: add unittests for BusCLIArguments
2020-03-17 23:31:17 -04:00
SalimTerryLi
b70289c536
move __PX4_LINUX out of px4_impl_os.cmake
2020-03-17 13:20:32 -04:00
Paul Riseborough
ab92b46e69
Update ecl to add ability to recover from bad magnetic yaw
...
* msg: Add EKF-GSF yaw estimator logging data
* ecl: update to version with EKF-GSF yaw estimator
* ekf2: Add param control and logging for EKF-GSF yaw estimator
* logger: Add logging for EKF-GSF yaw esimtator
2020-03-15 12:57:25 -04:00
Daniel Agar
2b03aa3d1b
px4_fmu-v2: disable vtol_att_control to save flash
2020-03-12 14:10:39 -04:00
Daniel Agar
0ce9e113ff
boards: stm32f4/f7 enable SPI_DMATHRESHOLD=32
2020-03-11 22:08:37 -04:00
Beat Küng
179c89b6bd
board configs: extend board_dma_map.h with a table
2020-03-11 22:08:37 -04:00
Daniel Agar
aeff85322d
px4_fmu-v2: leave SPI DMA disabled for now (flash space)
2020-03-11 22:08:37 -04:00
Daniel Agar
c8509892a6
intel_aerofc-v1: add board_dma_map.h and enable SPI1 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
8c2ba5f39f
mro_x21-777: add board_dma_map.h and enable SPI1 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
38a10fc7fc
mro_x21: add board_dma_map.h and enable SPI1 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
f309e3a5ba
mro_ctrl-zero-f7: add board_dma_map.h and enable SPI1/SPI5 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
5660ea0fd2
av_x-v1: add board_dma_map.h and enable SPI1/SPI2 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
98108bc4da
airmind_mindpx-v2: add board_dma_map.h and enable SPI1 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
e24fcee214
modalai_fc-v1: add board_dma_map.h and enable SPI1/SPI2 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
01b90fefaf
uvify_core: add board_dma_map.h and enable SPI1 DMA
...
- synced with px4_fmu-v4
2020-03-11 22:08:37 -04:00
Daniel Agar
772ddd7f5e
px4_fmu-v2/v3: add board_dma_map.h and enable SPI1/SPI4 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
bd16c2b4f6
px4_fmu-v5x: add board_dma_map.h and enable SPI{1,2,3} DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
6ed4b6978e
px4_fmu-v5: add board_dma_map.h and enable SPI1 DMA
2020-03-11 22:08:37 -04:00
Daniel Agar
6834f089cc
px4_fmu-v4pro: cleanup board_dma_map.h
2020-03-11 22:08:37 -04:00
Daniel Agar
147e37ac88
px4_fmu-v4: cleanup board_dma_map.h
2020-03-11 22:08:37 -04:00
Daniel Agar
f9794e99f8
move hover_thrust_estimator to new module (mc_hover_thrust_estimator)
...
* MC_HTE: unitialize with hover_thrust parameter
* MC_HTE: constrain hover thrust setter between 0.1 and 0.9
* MC_HTE: integrate with land detector and velocity controller
* MCHoverThrustEstimator: Always publish an estimate even when not fusing measurements. This is required as the land detector and the position controller need to receive a hover thrust value.
* MC_HTE: use altitude agl threshold to start the estimator
local_position.z is relative to the origin of the EKF while dist_bottom
is above ground
Co-authored-by: bresch <brescianimathieu@gmail.com >
2020-03-11 21:20:54 -04:00
David Sidrane
82ab1413fc
px4_fmu-v5:Add Manifest Entries for UAVCAN interfaces
2020-03-11 20:36:58 -04:00
Daniel Agar
46a09b711f
boards: increase STDIO buffer size where we can afford it
2020-03-11 17:19:44 -04:00
modaltb
707c840fd9
boards/modalai/fc-v1: Maintenance Updates
...
* Add Drotek RM3100 mag to board_sensors
* update to single wire
* Fix inverted FMU outputs from https://github.com/PX4/Firmware/commit/451af074726e1c43f2b1c9bb82f3cde50cd74c5c
* digital power module update for https://github.com/PX4/Firmware/commit/e9890d01d94a75b0926a116243ae3920766bde00
* board doesn't have battery monitoring through ADC or GPIO, rather through I2C only
2020-03-11 09:25:17 -04:00
Daniel Agar
505afc6063
boards: increase LPWORKSTACKSIZE 1536 -> 1600
2020-03-10 12:53:01 -04:00
Beat Küng
335623e11d
SPI config: use enum to specify bus
2020-03-10 10:11:43 -04:00
Beat Küng
37846a177c
omnibusf4sd: disable landing_target_estimator
...
to reduce FLASH size
2020-03-10 10:11:43 -04:00
Beat Küng
e627fed117
fmu-v2: disable perf command and some airframes
...
to reduce FLASH size
2020-03-10 10:11:43 -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
Beat Küng
977b80cee9
omnibus: enable DMA on SPI2 (SD Card)
...
Reduces CPU load by ~10%, and allows to comfortably run the rate loop at
2kHz.
2020-03-09 12:47:43 +01:00
Julian Kent
4bf34a75db
Indicate that omnibus_f4sd is constrained in flash
2020-03-09 09:51:49 +01:00
Daniel Agar
4698a09b98
delete unmaintained outback challenge (OBC) bottle drop example
2020-03-05 14:09:31 -05:00
David Sidrane
25c12d8b9e
px4_fmu-v5x:Add Serial test
2020-03-05 13:40:11 -05:00
David Sidrane
ee220a5086
px4_fmuv5x:Update manifest for USB not present
2020-03-02 19:59:36 -05:00
David Sidrane
cad3a811d2
nxp_fmurt1062-v1:Run from OCRAM
2020-03-02 10:20:33 -08:00
David Sidrane
3ed643f3d7
fmurt1062-v1:Update imxrt_flexspi_nor_boot configurable
2020-03-02 10:20:33 -08:00
Daniel Agar
779ba0fda5
px4_fmu-v4/v4pro: switch to new InvenSense icm20602/icm20608g IMU drivers
...
* 8 kHz gyro, 4 kHz accel
* DLPF disabled
* scheduled using data ready interrupts
* FIFO is emptied at 1 kHz by default, but can adjusted via IMU_GYRO_RATEMAX from 250 Hz - 2000 kHz.
* On both px4_fmu-v4 and px4_fmu-v4pro the secondary IMU is an mpu9250 with the same driver
2020-02-26 01:19:12 +01:00
Beat Küng
77b854b7c3
omnibus: enable SPI dma + use new ICM-20602 driver (disabled DLPF)
2020-02-25 09:59:52 +01:00