Daniel Agar
362a2dfa08
remove unnecessary <cmath> include
2019-11-22 11:16:51 -05:00
Daniel Agar
eddee193d1
update matrix git tag to latest
2019-09-18 08:42:58 +02:00
Daniel Agar
cd34ab802d
mathlib delete floorf in favor of math.h
2019-05-28 19:42:59 +10:00
Daniel Agar
a892ececf8
cmake add ECL_TESTS option only enabled in standalone build
2019-03-12 23:29:30 -04:00
Daniel Agar
a85d3a43ed
attitude_fw remove unused
2019-03-05 17:26:19 -05:00
Daniel Agar
c66f7f4a09
EKF drop unused timestamp from collect_gps() and pass data by const reference
2019-03-05 17:26:19 -05:00
Daniel Agar
5cd331055f
cmake standalone build pin PX4/Matrix to commit
...
- https://github.com/PX4/Matrix/commit/6b0777d815cd64902eb0575d56ec52f53aebb4a0
2019-03-05 12:35:37 -05:00
Daniel Agar
1378ec1797
EKF mag_fusion avoid unnecessary double promotion
2019-02-08 08:24:24 -05:00
Daniel Agar
c5554cae96
EKF tests update SWIG usage and use latest containers
2019-02-03 18:27:00 -05:00
Daniel Agar
81eabc1903
Jenkins update all containers to latest tag 2019-01-28
2019-01-31 08:06:00 +11:00
Daniel Agar
a5e6191ba7
EKF add clarity brackets to avoid potential confusion
...
- fixes https://github.com/PX4/ecl/issues/555
2019-01-30 09:15:53 -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
572710ed27
EKF add typed Quatf getter
2018-11-14 22:50:39 +01:00
Daniel Agar
8bbaf898a5
EKF add new simple setIMUData() interface ( #512 )
2018-10-17 15:30:25 -04:00
Daniel Agar
2c3a064942
README.md update Jenkins build status icon and url
2018-09-18 20:16:29 -04:00
Daniel Agar
3c74dc2ce1
ECL_Controller base needs virtual destructor
2018-08-30 12:07:25 -04:00
Daniel Agar
0d39072a6d
EKF add missing header guards
2018-08-30 12:07:25 -04:00
Daniel Agar
34cd1366b7
Jenkins update PX4BuildBot credential usage
2018-08-12 13:38:35 -04:00
Daniel Agar
48a17b5234
cmake ignore doxygen option when not a standalone build ( #488 )
2018-07-30 12:23:24 -04:00
Daniel Agar
41953ab582
EKF angle constants in degrees for readability ( #465 )
...
* EKF angle constants in degrees for readability
* EKF make FILTER_UPDATE_PERIOD_MS static constexpr and add FILTER_UPDATE_PERIOD_S
* EKF controlOpticalFlowFusion() use constants and update comments
* EKF controlMagFusion() use angle in degrees
* EKF move earth spin rate to geo and update usage
* EKF: Fix numerical constant error and clean up comments
Comments do not need to contain numerical values when the code makes these clear.
2018-07-05 08:55:22 +10:00
Daniel Agar
cebdc3d829
ekf run output predictor immediately with new IMU data ( #471 )
...
* EKF collect_imu take const imu sample and populate buffer
* EKF calculateOutputStates cleanup
* EKF add calculate_quaternion output predictor method
* EKF: update documentation
* EKF: remove unnecessary getter function
* EKF calculateOutputStates only apply dt correction to bias
* EKF pytest assert attitude validity, not update() return
* EKF: correct documentation
* EKF: Do not make attitude validity dependent on yaw alignment status
Yaw alignment could fail in flight due to temporary loss of data and yet the quaternions would still usable for stabilisation even though the absolute earth yaw angle wrt true north was uncertain.
2018-07-05 07:59:35 +10:00
Daniel Agar
114ae4116a
geo get_bearing_to_next_waypoint() small optimization
2018-06-30 21:30:35 +00:00
Daniel Agar
b26c2d62b8
geo get_distance_to_arc remove double promotion
2018-06-30 10:09:10 -04: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
a8b73bd139
replace geo _wrap_pi with matrix::wrap_pi
2018-06-11 00:16:17 +02:00
Daniel Agar
5c64879688
Jenkins codecov.io add flag
2018-06-09 21:12:03 -04:00
Daniel Agar
a80b3ab610
set MODULE define for each library
...
- this is needed for INFO, WARN, ERR messages when used within PX4
2018-05-27 20:08:47 +02:00
Daniel Agar
50631e5d98
geo remove use of DBL_EPSILON
...
-this doesn't seem to be (obviously?) available on qurt
2018-05-21 10:59:40 +02:00
Daniel Agar
cb63f16d48
cmake cache ECL source directory path to work with catkin ( #447 )
2018-05-17 12:01:30 -04:00
Daniel Agar
b227aca4a8
geo_lookup fix table bounds
2018-05-06 03:13:00 +02:00
Daniel Agar
e494a4e634
Jenkins set git username and email with environment variables
2018-05-05 18:11:28 -04:00
Daniel Agar
3639087ac6
cmake and Jenkins add basic address santiizer test buld
2018-05-05 16:11:04 -04:00
Daniel Agar
1fba622a80
travis-ci basic build script
2018-05-05 15:25:54 -04:00
Daniel Agar
cde2ee9b6f
cmake ignore missing-field-initializers
2018-05-05 15:25:54 -04:00
Daniel Agar
2100127304
geo: zeroing static unnecessary
2018-05-05 15:25:54 -04:00
Daniel Agar
0f12db5b2c
travis-ci enable coverity_scan
2018-05-05 15:25:54 -04:00
Daniel Agar
aceab8c82c
Jenkins upload coverage to codecov.io
2018-05-05 15:13:52 -04:00
Daniel Agar
5780cd3c6b
Jenkins create PX4/Firmware test branch and push ( #436 )
2018-05-05 14:40:15 -04:00
Daniel Agar
cf957b5831
code coverage cmake and Jenkins support
2018-05-04 01:40:23 -04:00
Daniel Agar
4e0cd45676
doxygen cmake and Jenkins support
2018-05-04 01:22:10 -04:00
Daniel Agar
372f9f430b
EKF pytest save plots to pdf
2018-05-03 22:25:36 -04:00
Daniel Agar
d6a3110918
visual studio build compatibility
2018-05-03 22:25:36 -04:00
Daniel Agar
3a61035ac2
fix and re-enable EKF pytests
2018-05-03 22:25:36 -04:00
Daniel Agar
4dabf7a1a8
Jenkins add OSX build
2018-05-03 22:25:36 -04: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
Daniel Agar
eec71d1a10
EKF get_ekf_soln_status() fix pred_pos_horiz_abs
2018-05-03 00:12:23 -04:00
Daniel Agar
a14434d6dc
EKF always fill position and velocity accuracy ( #425 )
2018-04-23 21:15:29 +10:00
Daniel Agar
bd72f3c521
geo std pressure constants and update usage
2018-04-19 08:57:38 +02:00
Daniel Agar
02e319431b
cmake remove embedded vim settings
2018-04-11 20:50:30 -04:00
Daniel Agar
91b5bfe2bb
attitude_fw remove unused perf include
2018-04-11 20:50:30 -04:00
Daniel Agar
ba2b9dfdd9
update matrix lib usage
2018-03-28 17:57:51 -04:00
Daniel Agar
39b69af9bf
geo_lookup: Update geomagnetism tables.
...
Update declination table to use latest IGRF data
Add lookups for inclination and field strength
2018-03-26 21:52:11 -04:00
Daniel Agar
cd12f049fe
move geo and geo_lookup from PX4 Firmware to ECL
2018-03-26 21:52:11 -04:00
Daniel Agar
35bc2cfcd9
tecs and l1 switch to matrix math library ( #409 )
2018-03-18 21:59:41 -04:00
Daniel Agar
1bc7378414
EKF decrease synthetic sideslip interval 1s -> 150ms ( #407 )
2018-03-15 23:09:42 -04:00
Daniel Agar
341f8962d2
EKF interface add get_wind_status() ( #406 )
2018-03-14 16:41:09 -04:00
Daniel Agar
c8ab806120
EKF pytest temporarily disable
2018-01-05 02:39:02 -05:00
Daniel Agar
ae641020dd
EKF run pytest quick and plot
2018-01-05 02:39:02 -05:00
Daniel Agar
ec0d907d5a
update README build badge (travis-ci -> jenkins)
2018-01-05 02:39:02 -05:00
Daniel Agar
7df4e0f8eb
reenable pytest with px4-dev-ecl
2018-01-05 02:39:02 -05:00
Daniel Agar
f407954207
initial jenkins configuration
2018-01-05 02:39:02 -05:00
Daniel Agar
f0862210c7
EKF initialize _hvelInnovGate
...
- fixes CID 139550
2018-01-03 08:07:28 +01:00
Daniel Agar
8320c8ba14
TECS initialize throttle integrator at cruise if in air
2017-12-21 16:29:14 -05:00
Daniel Agar
e3da71c89d
Ekf initialize all fields
2017-11-26 16:50:16 -05:00
Daniel Agar
d9c8af54bd
EKF add print_status() with memory usage
2017-11-16 14:11:34 -05:00
Daniel Agar
75d1ed894c
EKF simplify RingBuffer allocation check
2017-11-16 13:09:17 -05:00
Daniel Agar
ed9a394029
EKF RingBuffer avoid copying
2017-11-15 18:08:51 -05:00
Daniel Agar
22a51c6afd
PX4_ISFINITE -> ISFINITE
2017-10-22 20:37:40 +02:00
Daniel Agar
9e13a2cb21
tecs move initialization
2017-10-22 20:37:40 +02:00
Daniel Agar
31a8e047d7
tecs one line setters and group
2017-10-22 20:37:40 +02:00
Daniel Agar
4f2d571c89
tecs fix code style
2017-10-22 20:37:40 +02:00
Daniel Agar
9eb860fabd
travis-ci fix gcc and clang compilation jobs ( #344 )
...
- allow the python testing to fail without failing the entire build
2017-10-22 12:19:11 -04:00
Daniel Agar
25bd3ac5e6
attitude_fw delete unused and cleanup
2017-08-26 17:44:24 -04:00
Daniel Agar
99ba1c3745
EKF trivial code style cleanup
2017-08-25 10:09:11 -04:00
Daniel Agar
c44488fdb8
EKF matrix typedef cleanup
2017-06-19 11:10:01 -04:00
Daniel Agar
3e197fdded
EKF tests remove extra semicolon
2017-06-05 01:06:41 +08:00
Daniel Agar
e7ed32fb82
attitude_fw remove extra semicolons
2017-06-05 01:06:41 +08:00
Daniel Agar
6ed8512ff4
EKF parameters use int32_t ( #279 )
2017-06-03 17:16:29 -04:00
Daniel Agar
87fdee440b
EKF estimator_interface coverity fix 139419
2017-04-29 11:48:15 +02:00
Daniel Agar
b3f8fd19e0
EKF estimator_interface coverity fix 140490, 140491
2017-04-29 11:48:15 +02:00
Daniel Agar
3919d60f66
ekf2 initialization fixes
2017-04-24 18:56:50 -04:00
Daniel Agar
eb4f5ecbb9
cmake add all EKF sources ( #243 )
...
- trivial cmake cleanup
- travis-ci build with both gcc and clang
- update matrix to latest (matches PX4)
- closes #240
2017-02-27 00:46:48 -05:00
Daniel Agar
507f48a147
geo NULL to nullptr ( #242 )
2017-02-25 15:27:00 -05:00
Daniel Agar
674ab3f81b
attitude_fw fix style
2017-02-12 11:40:14 +01:00
Daniel Agar
2750961be6
c++11 initialization cleanup ( #237 )
2017-02-05 13:05:10 -05:00
Daniel Agar
7883085e4a
clang-tidy readability-simplify-boolean-expr ( #235 )
2017-02-02 00:17:43 -05:00
Daniel Agar
47b8ef258b
clang-tidy performance-type-promotion-in-math-fn ( #236 )
2017-02-02 00:17:08 -05:00
Daniel Agar
d668a2d798
clang-tidy performance-unnecessary-value-param
2017-01-14 16:26:25 -08:00
Daniel Agar
a7cdef6c5c
clang-tidy modernize-redundant-void-arg
2017-01-14 16:24:45 -08:00
Daniel Agar
983c44088f
fw att fix pitch feedforward constrained roll
2016-11-27 12:34:12 +01:00
Daniel Agar
0d02bb2612
ecl attitude_fw fix excessive body fixed turn offset
...
-limit body fixed turn offset contrained roll to possible
roll setpoint range
-fixes #181
2016-10-06 09:03:48 +02:00
Daniel Agar
22d18d638c
enable Wshadow
2016-05-04 19:45:40 -04:00
Daniel Agar
fe5a337c99
l1 initialize everything
2016-04-25 14:39:11 -04:00
Daniel Agar
861c13f1fe
cmake STACK -> STACK_MAIN
2016-04-16 21:46:50 -04:00
Daniel Agar
82cf1827d4
fw multiply integrator gain in loop
2016-03-25 17:28:39 -04:00
Daniel Agar
2108466a00
initialize ECL_L1 variables
2016-03-03 11:22:07 +01:00