David Jablonski
944bf54d84
Use correct params for DO_MOUNT_CONTROL
...
If MAV_MOUNT_MODE is GPS_POINT, the mavlink documentation recommends to
use params4-6. In the current implementation params1-3 were used
instead.
2019-12-11 09:00:17 +01:00
Daniel Agar
2b792c0225
px4_raspberrypi cleanup configs and add to Jenkins
2019-12-10 11:10:24 -05:00
Daniel Agar
505e922b08
Update submodule mavlink v2.0 to latest Tue Dec 10 00:39:06 UTC 2019
...
- mavlink v2.0 in PX4/Firmware (f9e8f615e3 ): https://github.com/mavlink/c_library_v2/commit/75ab59ddc1660c136fdec5553f622a603558b8cd
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/412bad674e07535563e85565ba88f2d2c69ed378
- Changes: https://github.com/mavlink/c_library_v2/compare/75ab59ddc1660c136fdec5553f622a603558b8cd...412bad674e07535563e85565ba88f2d2c69ed378
2019-12-09 20:45:08 -05:00
PX4 BuildBot
4e75f54fcf
Update submodule matrix to latest Tue Dec 10 00:39:17 UTC 2019
...
- matrix in PX4/Firmware (478a27ee8843a9bd91a0254f6b01a6a9c01946a4): https://github.com/PX4/Matrix/commit/a8009a36a3668da0cbab0cb028b6997cd8179dc1
- matrix current upstream: https://github.com/PX4/Matrix/commit/4f3565da94d00c4cd1feb560f1f72a81296522f8
- Changes: https://github.com/PX4/Matrix/compare/a8009a36a3668da0cbab0cb028b6997cd8179dc1...4f3565da94d00c4cd1feb560f1f72a81296522f8
4f3565d 2019-12-09 kritz - Add asserts (#115 )
2f63981 2019-12-06 kritz - Add several functions that are useful for coavriance matrices: (#114 )
5cbcf60 2019-12-05 kritz - Set Matrix's col amd row to single value (#113 )
ef442fa 2019-12-05 kritz - Getter function for the diag elements of slice (#112 )
de6a2d3 2019-12-04 kritz - Slice assign value (#111 )
2019-12-09 20:42:39 -05:00
Daniel Agar
f9e8f615e3
holybro_kakutef7 sync INTERRUPTSTACK, HPWORKSTACKSIZE, and LPWORKSTACKSIZE with v5x
2019-12-09 18:45:27 -05:00
Daniel Agar
bb09ac0c6d
modalai_fc-v1 sync NFILE_DESCRIPTORS, HPWORKSTACKSIZE, and LPWORKSTACKSIZE with v5x
2019-12-09 18:45:27 -05:00
Daniel Agar
b4fa915c86
uORB_tests: fix queue simulation and cleanup initializations
2019-12-09 16:50:33 -05:00
David Sidrane
1298f6840f
px4io:Lower Police light activation
2019-12-09 16:23:16 -05:00
David Sidrane
74b6cc5bce
px4_fmu-v5:Use Serial TX DMA on Telem 2
2019-12-09 16:23:16 -05:00
Daniel Agar
1d3f722201
px4_work_queue: increase hp_default stack 1800 -> 1900 bytes
2019-12-09 12:41:11 -05:00
modaltb
c5de2cfe0d
modalai_fc-v1: Add support for VOXL Flight board defaults, handle default MAVLink setups ( #13677 )
...
- Handle out of box config for Flight Core and VOXL Flight
- Handle AUTOCNF use case
- Hard code TELEM2 MAVLink Instace 1 for VOXL Flight
2019-12-09 12:39:17 -05:00
Julian Oes
abf174282f
navigator: fix VTOL RTL corner case
...
This fixes a corner case for VTOL RTL with RTL_TYPE 1.
RTL_TYPE 1 means that the VTOL skips all waypoints on RTL and jumps to
the land waypoint at the end.
During a mission in fixedwing mode it will continue to fly in fixedwing
mode and then do a transition before landing.
However, if RTL is engaged right at the moment of the front transition,
the transition waypoint is not inserted and the VTOL will try to land in
fixedwing mode at the mission land location.
This corner case is fixed in this patch by also considering the
"transition after takeoff" state.
2019-12-09 12:27:46 -05:00
Matthias Grob
904ab16558
Fix trailing whitespace, EOF newline, indentation
2019-12-09 13:22:19 +01:00
kritz
4f3565da94
Add asserts ( #115 )
...
* Add asserts
* Type cast literals
* asserts for indexing vectors
* include assert
* Fix accessing elements outside of slice
2019-12-09 10:21:27 +01:00
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