Matthias Grob
ffff35a597
Unit tests: use EXPECT_FLOAT_EQ for float comparisons
...
as precaution to prevent failing tests because of small potential
rounding errors on certain platforms or compilares.
2019-12-26 12:53:07 +01:00
PX4 BuildBot
b6b8a9a76e
Update submodule matrix to latest Tue Dec 24 12:39:27 UTC 2019
...
- matrix in PX4/Firmware (0aa62a3bfff12d854d6a8e378a518bd8646a9f4b): https://github.com/PX4/Matrix/commit/4f3565da94d00c4cd1feb560f1f72a81296522f8
- matrix current upstream: https://github.com/PX4/Matrix/commit/e81483a808ce7b0217c11d3dc0fce90685f44353
- Changes: https://github.com/PX4/Matrix/compare/4f3565da94d00c4cd1feb560f1f72a81296522f8...e81483a808ce7b0217c11d3dc0fce90685f44353
e81483a 2019-12-18 kritz - Catch quaternion canonical corner cases (#116 )
2019-12-24 13:15:42 -05:00
Christian Clauss
6dc55f97d4
More fixes for Python 3 compatibility ( #13008 )
...
* More fixes for Python 3 compatibility
* Workaround if the six module is not pip installed
* Lose the semicolons
2019-12-19 02:05:55 -08:00
Matthias Grob
1a5b06d0cf
FlightTasks: refactor NAN initializations, spacing
2019-12-18 15:57:48 +01: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
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
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
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
kamilritz
d7b95870b9
Update to merged ECL commit
2019-12-05 11:29:29 +01:00
kamilritz
5d0965e83a
Log height innovation sensor specific
2019-12-05 11:29:29 +01:00
Daniel Agar
22e4e85eeb
collision_prevention: don't unadvertise mavlink_log in destructor
2019-12-05 07:04:50 +01:00
Daniel Agar
1a395fb6d9
ST ISM330DLC IMU driver
2019-12-03 16:16:49 -05:00
PX4 BuildBot
db904839c3
Update submodule matrix to latest Sat Nov 30 21:21:29 UTC 2019
...
- matrix in PX4/Firmware (572fb4751b6e01512ec358b00aa795b234179d85): https://github.com/PX4/Matrix/commit/dba84236cb55cf30a8730f77c71a000babf6d204
- matrix current upstream: https://github.com/PX4/Matrix/commit/a8009a36a3668da0cbab0cb028b6997cd8179dc1
- Changes: https://github.com/PX4/Matrix/compare/dba84236cb55cf30a8730f77c71a000babf6d204...a8009a36a3668da0cbab0cb028b6997cd8179dc1
a8009a3 2019-11-26 Daniel Agar - Quaternion multiply inline return
2019-11-30 17:58:08 -05:00
Daniel Agar
6f512cc2f1
differential_pressure drivers update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Beat Küng
5ff83ef740
gyro calibration: remove unused scale parameters
2019-11-29 11:28:17 -05:00
RomanBapst
e360dd34f9
battery: make battery states not sticky
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-11-29 10:23:08 +03:00
PX4 BuildBot
fda7d71d16
Update submodule matrix to latest Thu Nov 28 12:39:45 UTC 2019
...
- matrix in PX4/Firmware (f2d08df777 ): https://github.com/PX4/Matrix/commit/de85dcff9760b77ad0d2cd06682f44b3f3c9716c
- matrix current upstream: https://github.com/PX4/Matrix/commit/dba84236cb55cf30a8730f77c71a000babf6d204
- Changes: https://github.com/PX4/Matrix/compare/de85dcff9760b77ad0d2cd06682f44b3f3c9716c...dba84236cb55cf30a8730f77c71a000babf6d204
dba8423 2019-11-28 Daniel Agar - Vector3f cross product directly return result (#109 )
2019-11-28 12:45:52 -05:00
Daniel Agar
580308ff07
Update submodule matrix to latest Thu Nov 28 00:39:53 UTC 2019
...
- matrix in PX4/Firmware (1618e9d38fb8f0c76e6b5b7dfc25da565c22bbee): https://github.com/PX4/Matrix/commit/a172c3cdac9260369fb5805fcce19067121566e5
- matrix current upstream: https://github.com/PX4/Matrix/commit/de85dcff9760b77ad0d2cd06682f44b3f3c9716c
- Changes: https://github.com/PX4/Matrix/compare/a172c3cdac9260369fb5805fcce19067121566e5...de85dcff9760b77ad0d2cd06682f44b3f3c9716c
de85dcf 2019-11-26 Matthias Grob - Vector: switch read only functions to const (#108 )
2019-11-28 00:37:17 -05:00
bresch
09c8c8f706
ekf: use PDOP instead of GDOP as TDOP (part of GDOP) is not given by the GNSS receiver
2019-11-27 10:33:27 +01:00
bresch
63e99db29b
ecl update
2019-11-25 21:15:55 +01:00
Daniel Agar
a8ea55d9b6
remove all <cmath> usage
...
* the NuttX c++ library is incomplete, let's avoid including it until we have a real standard library in place
2019-11-25 10:04:04 -05:00
Matthias Grob
4a28c8180b
FlightTaskManualAltitude: yawspeed filter remove line with no effect, comments
...
FlightTaskManualAltitude: declaration order
Addressing @bkueng's review comments.
2019-11-25 11:55:47 +01:00
bresch
cd2b5e7479
FlightTaskManualAltitude: Use dedicated member variable for yawspeed filter state insted of using the previous setpoint
2019-11-25 11:55:47 +01:00
bresch
ffee103ae0
FlightTask: add 1st order lpf on yawrate satepoint for smooth motion
2019-11-25 11:55:47 +01:00
Daniel Agar
75da6e351b
mixer: organize by type
2019-11-22 16:48:10 -05:00
Daniel Agar
f271efaf62
local_position_estimator: move to WQ and delete unused SubscriptionPollable
2019-11-22 16:02:54 -05:00
Daniel Agar
a255789be4
mixer: px_generate_mixer use static constexpr
2019-11-22 15:00:25 -05:00
Daniel Agar
cc7807c066
mixer: update to List<> container
2019-11-22 15:00:25 -05:00
Daniel Agar
79dc676c8f
mixer: move MixerGroup out of Mixer hierarchy and delete mixer.h header
2019-11-22 15:00:25 -05:00
Daniel Agar
011186b8a5
mixer: delete copy constructors and operators
2019-11-22 15:00:25 -05:00
Daniel Agar
a172858db2
mixer: move scale() and scale_check() to SimpleMixer
2019-11-22 15:00:25 -05:00
Daniel Agar
9a572b0cf2
mixer: delete unused SimpleMixer::pwm_input()
2019-11-22 15:00:25 -05:00
Daniel Agar
37ec78dc2a
mixer library split into separate headers and name consistently
2019-11-22 15:00:25 -05:00
Silvan Fuhrer
ebdc29bc5f
Airspeed Selector: enable airspeed_validated in control modules ( #12887 )
...
* FW attitude controller, FW position controller and VTOL attitude controller subscribe to airspeed_validated topic
* add possibility to switch off the airspeed valid checks
* remove airspeed valid checks from commander
* clean up of VTOL transition logic
* Airspeed Selector: remove dynamic allocation of airspeed validators (depending on number of connected sensors) but do it statically for the maximum number allowed. Check for number of connected sensors not only during start up, but always when vehicle is disarmed.
* Airspeed Selector: change work queue from lp to att_pos_ctrl as this module is safety-critical
* add airspeed selector to px4_fmu-v2 defaults
2019-11-21 14:14:25 -05:00
Julien Lecoeur
a46581987c
Update matrix submodule and add pseudoinverse tests (tests matrix)
2019-11-21 13:06:59 -05:00
Tanja Baumann
5d3a6d8213
collision_prevention: improve behavior in case of range data loss
...
* add test for no incoming range data
2019-11-21 11:13:28 -05:00
Daniel Agar
1af7af02db
bmp388: cleanup main and add to px4_fmu-v5x board_config.h
2019-11-20 13:12:03 -05:00
Matthias Grob
b64abf48b2
mc_pos_control: reset velocity derivatives
2019-11-19 22:18:01 +01:00
Beat Küng
a543169f1e
CollisionPrevention: avoid unnecessary cast from uint16_t to int
2019-11-19 09:32:30 +01:00
PX4 BuildBot
6369ae858a
Update submodule matrix to latest Wed Nov 13 22:07:30 UTC 2019
...
- matrix in PX4/Firmware (d3184c866c3012105c8950a9f6652a9722fa3296): https://github.com/PX4/Matrix/commit/93d42947b612733d2bd05e66ae093ada3e35ba12
- matrix current upstream: https://github.com/PX4/Matrix/commit/cd185c995b6b28c12e06d20a2743a94bd68be7c2
- Changes: https://github.com/PX4/Matrix/compare/93d42947b612733d2bd05e66ae093ada3e35ba12...cd185c995b6b28c12e06d20a2743a94bd68be7c2
cd185c9 2019-11-13 Daniel Agar - add braces around statements and cleanup formatting (#107 )
38e966c 2019-11-12 kritz - Add min, max, constrain function for Matrix (#105 )
2019-11-13 19:07:24 -05:00
Daniel Agar
7996ee496c
lib: name folders consistently
2019-11-13 09:29:21 -05:00
Daniel Agar
c5520cbaca
mpu9250: start building "NuttX" driver for Linux and QuRT
2019-11-13 09:21:02 -05:00