Morten Fyhn Amundsen
1d3da86abb
mavlink_receiver: Set distance_sensor id field equal to mavlink msg
...
The id field should be copied from the mavlink message, not
simply set to MAV_DISTANCE_SENSOR_LASER (which is 0).
2019-12-09 09:53:32 +01:00
Julian Oes
2c73aefafe
tests: workaround against astyle 3.1 bug
...
This prevents astyle 3.1 from changing these 3 matrices without a good
reason.
2019-12-09 09:28:27 +01:00
Daniel Agar
0a59d8a36d
Jenkins hardware leave RGB LED defaults
2019-12-07 20:48:10 -05:00
kritz
2f6398168d
Add several functions that are useful for coavriance matrices: ( #114 )
...
* uncorrelateCovariance
* uncorrelateCovarianceSetVariance
* makeBlockSymmetric
* makeRowColSymmetric
* isBlockSymmetric
* isRowColSymmetric
2019-12-06 12:03:26 +01:00
Beat Küng
fbcc6a96bc
fix mavlink: fixes for mavlink on USB instance
...
Open the UART after adding the instance: mavlink_open_uart() might block,
and in that case the parent task waiting for mavlink to be started times
out.
And while waiting for the USB UART device to come up:
- check for _task_should_exit
- check for check_requested_subscriptions()
Side-effects when USB is not plugged in during boot:
- reduces boot duration by 100ms
- fixes duplicate instance name in 'top':
201 mavlink_if0 1 0.000 1328/ 2572 100 (100) w:sig 3
204 mavlink_if0 572 4.221 1632/ 2540 100 (100) w:sig 4
- 'mavlink stop-all' now stops the usb instance as well
2019-12-06 01:00:06 -05:00
Beat Küng
e003b1ce79
mavlink: remove unused get_uart_fd(unsigned index) method
2019-12-06 01:00:06 -05:00
kritz
5cbcf6035a
Set Matrix's col amd row to single value ( #113 )
2019-12-05 18:16:14 +01:00
Timothy Scott
993fa5bd37
Refactored to work with new battery_status module
2019-12-05 16:38:04 +01:00
Timothy Scott
d7bb5d46bb
Created new AnalogBattery class
2019-12-05 16:38:04 +01:00
Timothy Scott
bff1df7080
Refactored battery library for multiple instances
2019-12-05 16:38:04 +01:00
kritz
ef442fab92
Getter function for the diag elements of slice ( #112 )
2019-12-05 11:39:21 +01:00
kamilritz
d7b95870b9
Update to merged ECL commit
2019-12-05 11:29:29 +01:00
kamilritz
24efc1b79c
Set not yet supported estimator_innovations fields to zero
2019-12-05 11:29:29 +01:00
kamilritz
5d0965e83a
Log height innovation sensor specific
2019-12-05 11:29:29 +01:00
kamilritz
61b569245b
Reorder innovations in LPE
2019-12-05 11:29:29 +01:00
kamilritz
b73c80428e
ECL: Clean velPos logging, deprecate ekf2_innovations msg
2019-12-05 11:29:29 +01:00
kamilritz
181303488c
Log height innovation sensor specific
2019-12-05 20:09:34 +11:00
kamilritz
f32fce28a3
Fix gps vertical observation variance
2019-12-05 20:09:34 +11:00
kamilritz
ecd199d5d0
Fix vel pos test ratio
2019-12-05 20:09:34 +11:00
kamilritz
2df2dede2f
Fix variance vs stdDev bug
...
(cherry picked from commit 0faea89da2a3326d070a6ecca93ec52ec3e29591)
2019-12-05 20:09:34 +11:00
kamilritz
3923c5fecb
Add get*innovation* functions as overide
2019-12-05 20:09:34 +11:00
kamilritz
07e804676c
Rename IMU biases
2019-12-05 20:09:34 +11:00
kamilritz
dae8c2f8dc
Group velocity and position as a 3d vector
2019-12-05 20:09:34 +11:00
kamilritz
beedf1ce4f
Add print statement to reset vel or pos function
2019-12-05 20:09:34 +11:00
kamilritz
5c038a3b43
Add stop*Fusion function
2019-12-05 20:09:34 +11:00
kamilritz
d5dc6bb8ea
Clean get*innov* interface
2019-12-05 20:09:34 +11:00
kamilritz
86b9079bdc
Refactoring velPos fusion
2019-12-05 20:09:34 +11:00
Daniel Agar
22e4e85eeb
collision_prevention: don't unadvertise mavlink_log in destructor
2019-12-05 07:04:50 +01:00
kritz
de6a2d31ff
Slice assign value ( #111 )
...
* Assign value to slice
* Readme for formatting
2019-12-04 14:33:33 +01:00
mcsauder
bd98a4eebb
Add camera_capture module build to raspberry pi cross.cmake.
2019-12-04 00:48:52 -05:00
Daniel Agar
5af8286739
Jenkins hardware board cleanup/reset at end of test
2019-12-04 00:43:44 -05:00
Daniel Agar
709961ec8c
InvenSense ICM20602 and ICM20608-G: new standalone optimized drivers
...
- uses the FIFO and SPI DMA to transfer full raw data (8 kHz gyro, 4 kHz accel)
- new sensor messages for better visibility
- sensor_{accel, gyro}_fifo: full raw data for optional logging and analysis
- sensor_{accel, gyro}_status: metadata, clipping, etc
- currently not enabled by default
2019-12-03 23:21:32 -05:00
David Sidrane
2badea316f
systemcmds/serial_test: linux-serial-test ported to run on nuttx ( #13662 )
2019-12-03 20:51:17 -05:00
Daniel Agar
4a75840b33
Jenkins temporarily disable fmu-v5x (obsolete prototype on test rack)
2019-12-03 17:43:55 -05:00
David Sidrane
feaa657172
px4_fmu-v5x:SE050 Assert Reset on board_init, and release in appinit
2019-12-03 16:16:49 -05:00
David Sidrane
949ab563ef
px4_fmu-v5x:Drop netinit task priority below LP work
2019-12-03 16:16:49 -05:00
David Sidrane
c9cb59fdd8
px4_fmu-v5x:Init Network in background (no monitor CONFIG_NETINIT_MONITOR is not set)
2019-12-03 16:16:49 -05:00
dino
34f53c14bf
Fixed sensor orientation
2019-12-03 16:16:49 -05:00
dino
0dbd6d70d5
Fixed gyro com errors. Error check was triggering if board was not moved
2019-12-03 16:16:49 -05:00
David Sidrane
213174fc74
px4_fmu-v5x:Set IP 192.168.0.123 GW:192.168.0.254
2019-12-03 16:16:49 -05:00
David Sidrane
ea69fde02a
px4_fmu-v5x:Add SPI6_nRESET_EXTERNAL1
2019-12-03 16:16:49 -05:00
David Sidrane
3b88142744
px4_fmu-v5x:rc.board_sensors Add Second BMP388
2019-12-03 16:16:49 -05:00
David Sidrane
996ee49868
fmu-v5x:SPI4 is not used BMM150 moved to I2C4
2019-12-03 16:16:49 -05:00
David Sidrane
0399d689ce
px4_fmu-v5x:Start MS5611 on Base I2C3
2019-12-03 16:16:49 -05:00
David Sidrane
cada41f027
WorkQueueManager:Fix low stack warning introduced by stism330
2019-12-03 16:16:49 -05:00
David Sidrane
31456419e9
px4_fmu-v5x:Add 4096 for ism330dlc to BOARD_DMA_ALLOC_POOL_SIZE
...
ISM330DLC uses 4096 of memory allocated from DMA pool.
This depleted the pool to the point the next allocation
for FAT would fail. Unfortuanly this is the logger
on a later open.
2019-12-03 16:16:49 -05:00
Daniel Agar
1a395fb6d9
ST ISM330DLC IMU driver
2019-12-03 16:16:49 -05:00
David Sidrane
eb560e8a0f
fmu-v5x:Properly reset SPI
2019-12-03 16:16:49 -05:00
David Sidrane
14b592d0c6
px4fmuv5x:Add Sync pin to board config
2019-12-03 16:16:49 -05:00
Beat Küng
e2a2654628
level calibration: speedup & check for motion
...
- instead of resetting existing calibration on start and having to wait
until the estimator converges, keep existing calibration applied and
subtract it.
- reduce calibration time from 5s to 500ms, and check for motion during
that time.
- repeat if there was motion
- fix an uorb resource leak
2019-12-03 13:58:38 -05:00