bazooka joe
eac7b43f3e
Remove rescaling Lat and Lon on VEHICLE_CMD
...
relevant to VEHICLE_CMD_DO_REPOSITION and VEHICLE_CMD_NAV_TAKEOFF
its done on mavlink_receiver already
2019-12-18 09:48:30 +01:00
kamilritz
a6bbafc7b0
Remove unnecessary initialiseCovariance
...
It is already called in reset()
2019-12-18 09:46:32 +01:00
kamilritz
ef9f1053d0
Random improvements
2019-12-18 09:46:32 +01:00
kamilritz
7d3814b1d8
Add orientation initialization tests
2019-12-18 09:46:32 +01:00
Beat Küng
e10a4c5002
refactor logger: move subscription initialization into separate class
2019-12-17 21:22:30 -08:00
Beat Küng
738ceab0ee
Logger: dynamic number of subscriptions
...
Keep a fixed-size array of 250 requested topics on the stack, then allocate
an array with LoggerSubscription with the exact required size.
2019-12-17 21:22:30 -08:00
Beat Küng
2757647897
refactor logger: reduce required size of WrittenFormats
...
by keeping only recursive topics in there. The rest is checked by looking
at previous _subscriptions.
Reduces stack size requirements when increasing MAX_TOPICS_NUM.
2019-12-17 21:22:30 -08:00
David Sidrane
5bb82a9f93
px4_fmu-v5x:GPIO_VDD_5V_{HIPOWER|PERIPH}_nOC remove Pull up - OC have series 47K
2019-12-17 18:33:20 -08:00
David Sidrane
a5be0bb3d8
px4_fmu-v5:GPIO_VDD_5V_{HIPOWER|PERIPH}_OC remove Pull up - OC have series 47K
2019-12-17 18:33:20 -08:00
David
020215f146
commander: don't allow arming during VTOL transition
2019-12-17 12:21:11 -08:00
Daniel Agar
3d56f37606
vscode debug and ekf2 replay improvements
...
- create new px4_sitl_replay config specifically for replay
- ekf2 replay don't launch gazebo
- add px4_sitl_test cmake variant
- px4_sitl_test bring into sync with px4_sitl_default
- vscode replace hard coded build path with cmake setting
2019-12-17 10:19:56 -08:00
Beat Küng
46a7b27127
kakutef7: fix baro startup
...
The bmp280 is on the expansion bus (that is both internal & external)
2019-12-17 09:57:32 -08:00
kritz
01495ede97
Clean initialiseFilter function ( #687 )
...
* Clean initialiseFilter
* Add const qualifiers
2019-12-17 13:36:28 +01:00
kritz
532c9abd4a
Expand test framework and test cases ( #685 )
...
* Fix comment
* Ekf wrapper for testing
Add utility function for accessing information in the ekf object
* Add step function for Gps sensor
* Add RangeFinder and Flow to simulated sensors
* Add first fusion logic tests
* Add units to function name
* Use EXPECT_TRUE
* Adding missing qualifiers
* Improve EXPECT_ calls
* Improve naming
2019-12-17 11:35:45 +01:00
kritz
6c25ac5731
Tilt Initialisation: Average Filter -> LowPass Filter ( #686 )
...
* Tilt Initialisation: Average Filter -> LowPass Filter
* Add _is_first_imu_sample variable
* Remove not needed comments
2019-12-17 11:01:25 +01:00
Daniel Agar
98a1aae494
EKF: use Matrix cross product
2019-12-17 09:35:08 +01:00
Timothy Scott
7abadabc19
Added support for MAV_CMD_REQUEST_MESSAGE for mavlink streams
2019-12-16 06:45:53 -08:00
kamilritz
0831c158f2
Move time update to sensor base class
2019-12-16 13:40:01 +01:00
kamilritz
1832bedd13
run_seconds
2019-12-16 13:40:01 +01:00
kamilritz
39b369d90b
make ekf a shared pointer
2019-12-16 13:40:01 +01:00
kamilritz
f13f2f8452
use shared pointer
2019-12-16 13:40:01 +01:00
kamilritz
00cd720a66
Change folder name
2019-12-16 13:40:01 +01:00
kamilritz
b9dd1e54c5
Change file names
2019-12-16 13:40:01 +01:00
kamilritz
2d2edd90e3
ECL Unit Test Clean Up
2019-12-16 13:40:01 +01:00
kamilritz
6b25dbd6c7
SensorSimulator
2019-12-16 13:40:01 +01:00
JaeyoungLim
4bcdf560be
airframes: add config for px4vision devkit drone ( #13683 )
...
* Added configuration file for Pixhawk Vision
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-12-16 08:21:17 +01:00
kamilritz
2a707cf669
Debug log replays with gdb in vscode
2019-12-15 10:28:04 -05:00
JaeyoungLim
94e05362e1
Make cellular status logging default
2019-12-14 21:56:12 +11:00
kamilritz
85e0e6e89c
Remove resetStates(AndCovariances) function
2019-12-13 16:50:56 +01:00
Ricardo Marques
86d3453343
Fix rover_sitl mixer call in CMakeLists.txt
2019-12-12 13:43:08 -05:00
Daniel Agar
f769b80fde
cmake px4_add_romfs_files FATAL_ERROR if file doesn't exist
2019-12-12 13:42:30 -05:00
PX4 BuildBot
6f4b9f93fd
Update submodule nuttx to latest Thu Dec 12 14:57:56 UTC 2019
...
- nuttx in PX4/Firmware (327c7f3672ee5f066ec53dfe1554a02d1aa610da): https://github.com/PX4/NuttX/commit/2e55ce8ec97d37b3d3c46b1aaab0a09364fcf254
- nuttx current upstream: https://github.com/PX4/NuttX/commit/9331fda0d7f7220de33982e8a641c671b1f09c8e
- Changes: https://github.com/PX4/NuttX/compare/2e55ce8ec97d37b3d3c46b1aaab0a09364fcf254...9331fda0d7f7220de33982e8a641c671b1f09c8e
9331fda0d7 2019-12-10 David Sidrane - [BACKPORT] IMXRT106x USDHC: Support regular GPIO for CD and inversion.
91c80c708b 2019-12-05 David Sidrane - [BACKPORT] imxrt106x:pinout add ALT 8 GPIO_GPT1_CAPTURE[1|2]
32f758f0e9 2019-12-03 David Sidrane - [BACKPORT] stm32f7:Add Serial Tx DMA
2019-12-12 10:23:29 -05:00
Daniel Agar
de9e4dda4c
battery: delete unused armed
2019-12-12 09:48:45 -05:00
Timothy Scott
11bbc8ae34
Code cleanup
2019-12-12 04:39:53 -08:00
kamilritz
64652f523b
Improve quality of comments
2019-12-12 08:48:10 +01:00
kamilritz
1bf09fd370
Remove EKF prefix from logged messages
2019-12-12 08:48:10 +01:00
Daniel Agar
77cf081925
holybro_durandal-v1 don't manually start pmw3901
2019-12-11 21:08:22 -05:00
Silvan Fuhrer
1617997dde
VTOL: instantly do VTOL mode changes if landed and disarmed
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-12-11 20:10:25 -05:00
kamilritz
88c4929c96
Use helper function to switch to gps height
2019-12-11 17:23:45 +02:00
kamilritz
042d9b6615
Remove dangerous _primary_hgt_source variable
2019-12-11 17:23:45 +02:00
kamilritz
66f707ede0
Remove non enterable if statement
2019-12-11 17:23:45 +02:00
kamilritz
cd030e7cd2
Remove switch to ev hgt during filter initialization
2019-12-11 17:23:45 +02:00
kamilritz
4bc6ae69ae
Remove if statement that can not be entered
2019-12-11 17:23:45 +02:00
kamilritz
6941777e17
Remove obsolete vision sample counter during initialization
2019-12-11 17:23:45 +02:00
bresch
d6ffdc09b8
FlightTaskManualPosition: use new Matrix available functions to cast
...
from a vector of 4 elements to Vector2f and from Vector2f to Vector3f.
2019-12-11 17:21:57 +02:00
bresch
d0bdd80129
FlightTaskManualPosition: Remove MPC_ACC_HOR_ESTM parameter. This was
...
used back in time when no soothing was done to avoid large steps when
the estimator stops sending a maximum velocity (e.g.:GPS gained during
optical flow flight). Since smoothing is applied later, this is not
required anymore.
2019-12-11 17:21:57 +02:00
Matthias Grob
a3d30fc970
mc_pos_control/FlightTask: apply nit-pick review findings
2019-12-11 14:03:16 +01:00
bresch
82b4e766a5
AutoMapper2: re-introduce gradual vertical speed limitation during landing between alt1 and alt2
2019-12-11 14:03:16 +01:00
bresch
4d0786d5b4
FlightTask: use centralized _dist_to_ground computed in FlightTask instead of
...
recomputing it in AutoMapper, AutoMapper2 and AutoLine
2019-12-11 14:03:16 +01:00
bresch
4ba672a7ba
ManualPosition: Limit horizontal speed during landing
2019-12-11 14:03:16 +01:00