24 Commits

Author SHA1 Message Date
kamilritz
f20726d47f Expand auto-format coverage and tiny style changes 2020-01-27 16:54:25 +01:00
Dusan Zivkovic
011b4c2e4e data_validator_group: add a method to get the state of the sensor with the provided index 2020-01-15 12:20:47 -05:00
Daniel Agar
b920910483 replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
2019-01-06 12:09:05 -05:00
Daniel Agar
4ae8242c35 validation DataValidatorGroup::get_best() nullptr check
- fixes Coverity CID 139448
2018-06-14 08:14:53 +02:00
Daniel Agar
c3e071e052 validation initialize all members
- fixes Coverity CID 260331
2018-06-14 08:14:53 +02:00
Daniel Agar
c5b2f59f57 PX4 style fixes (excluding EKF generated code) 2018-05-03 22:25:36 -04:00
Daniel Agar
e5952fadaf cmake standalone build 2018-05-03 22:25:36 -04:00
Beat Küng
d078d68f64 Reverse the linked list of data_validator_group #2 (#389)
* Reverse the linked list of data_validator_group and maintain a first node
for search from index 0

Fixes issue PX4/Firmware#8644

* fix code style

* validator: fix shadowing of 'sibling' argument
2018-01-30 09:11:01 +11:00
Paul Riseborough
f016e66ff8
Revert "EKF: Release flow speed limit with altitude gained" (#382)
* Revert "EKF: Release flow speed limit with altitude gained"

This reverts commit e70206f74bc4f77a0e000da3c923f4459006d2b1.

* Revert "fix code style"

This reverts commit 76bf70121c37e2c1ec74982eb8c26e0510b2c84a.

* Revert "Reverse the linked list of data_validator_group and maintain a first node"

This reverts commit 32482e7644d14d7e4d0e25183b0dc9b0f27bf9c1.
2018-01-24 20:46:48 +11:00
jay
76bf70121c fix code style 2018-01-19 11:53:36 +01:00
lijie
32482e7644 Reverse the linked list of data_validator_group and maintain a first node
for search from index 0

Fixes issue PX4/Firmware#8644
2018-01-19 11:53:36 +01:00
Dennis Mannhart
b154ce9c33 Fixed include for snapdragon 2016-12-23 10:22:25 +01:00
Lorenz Meier
9618adb542 Simplify switch logic for validator 2016-12-21 08:10:08 +01:00
Lorenz Meier
6f78ef4084 Update validator to provide correct response for single sensor usage 2016-12-17 20:44:46 +01:00
Lorenz Meier
aad3a2b751 Validator: Trim down printing and do not reset init state 2016-12-17 17:39:55 +01:00
Lorenz Meier
75520641a5 Make the equal value threshold configurable 2016-12-17 15:25:29 +01:00
Lorenz Meier
6282c72d2e Validation: Whitespace fixes 2016-12-17 13:45:28 +01:00
Beat Küng
f472324ae8 DataValidatorGroup: remove the assert
(avoid crashes in flight)
2016-11-01 22:49:20 +01:00
Beat Küng
227938d263 DataValidatorGroup: add add_new_validator() to dynamically add new validators 2016-11-01 22:49:20 +01:00
Beat Küng
ded3b1a690 DataValidatorGroup: fix memory leak, delete all DataValidator's in destructor 2016-11-01 22:49:20 +01:00
Beat Küng
b870f92e1c DataValidator: use 32bit timeout instead of 64bit, saves memory 2016-11-01 22:49:20 +01:00
Lorenz Meier
cd5857e900 Add vibration magnitude estimation 2016-02-25 16:54:24 +01:00
Roman
dd171670ca checked out validation code from master 2015-12-19 08:53:08 +01:00
Lorenz Meier
e5743d503c Initial import 2015-10-26 16:06:30 +01:00