Daniel Agar and PX4 BuildBot
5e6189ee5a
Update submodule mavlink v2.0 to latest Fri Dec 4 00:39:20 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (dce7cfbddefe53fd0381582121883134a4df1b73): https://github.com/mavlink/c_library_v2/commit/1de17e039b27c541ccdb9ed214ea41aaaf180ae0
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/8f481688d70541e8f91ee8c4fc233ca70cd7fad9
- Changes: https://github.com/mavlink/c_library_v2/compare/1de17e039b27c541ccdb9ed214ea41aaaf180ae0...8f481688d70541e8f91ee8c4fc233ca70cd7fad9
Co-authored-by: PX4 BuildBot <bot@px4.io >
2020-12-03 23:49:28 -05:00
Daniel Agar
cc979d2249
Update submodule GPSDrivers to latest Fri Dec 4 00:39:25 UTC 2020
...
- devices in PX4/Firmware (1303a8f17c5174a02b1c3ed22acd88da499e5a53): https://github/commit/0bf63c9820f4af997d0a48743dcc1008d119e49c
- devices current upstream: https://github/commit/5afc11588b2b6ec0861ecf9ef673c7a9e2109129
- Changes: https://github/compare/0bf63c9820f4af997d0a48743dcc1008d119e49c...5afc11588b2b6ec0861ecf9ef673c7a9e2109129
5afc115 2020-11-30 Beat Küng - gps_helper: define M_PI_F if not defined (was missing for ubx)
2020-12-03 23:48:29 -05:00
Daniel Agar
01620420fa
ekf2: update to latest ecl with RingBuffer minor improvements
...
- includes https://github.com/PX4/PX4-ECL/pull/938
2020-12-03 21:17:22 -05:00
Daniel Agar
378c0b5093
parameters: find and get perf counters aren't threadsafe
2020-12-02 10:11:42 -05:00
Daniel Agar
e69aea0a9b
parameters: don't keep in memory if set to default
2020-12-02 10:11:42 -05:00
Daniel Agar
c305774fae
commander: move vehicle_status into class
2020-12-02 10:20:50 +01:00
Daniel Agar
b7de10fca3
commander: move vehicle_status_flags to class
2020-12-02 10:20:50 +01:00
Daniel Agar
dc435c4c90
commander: control_status_leds() use _armed directly
2020-12-02 10:20:50 +01:00
Daniel Agar
8ac2581d7b
commander: handle_command() use _armed directly
2020-12-02 10:20:50 +01:00
Daniel Agar
741a0b43e8
commander: move mavlink_log_pub into class
2020-12-02 10:20:50 +01:00
Daniel Agar
a03b91c01e
commander: move answer_command() to class
2020-12-02 10:20:50 +01:00
Daniel Agar
d5dc7e2873
commander: move actuator_armed state into class
2020-12-02 10:20:50 +01:00
Daniel Agar
85f3ab1960
rc_update: only decode if RC input is stable (channel count and source)
2020-12-01 09:40:24 -05:00
Daniel Agar
d654be761c
ms4525: remove old voltage corrections
...
- this isn't correct for all boards and we now have airspeed scale
factor estimation
2020-12-01 09:34:47 -05:00
Daniel Agar
ec9f8998a7
commander: limit mode switch re-evaluation logic on estimate validity changes
...
- re-evaluating mode switches on altitude or position validity change can create confusing when also relying on mode changes via mavlink
- limiting this logic to only apply when disarmed solves the original problem (respecting initial switch position) without introducing potential problems mid-flight
- fixes https://github.com/PX4/PX4-Autopilot/issues/16235
2020-11-25 21:14:55 -05:00
Daniel Agar
5e855c6747
commander: preflightcheck and calibration remove hash (#) from mavlink message
...
- QGroundControl is reading these as "Hash" and I don't think it's ambiguous if removed
2020-11-23 21:56:23 -05:00
Daniel Agar
71306f7f83
update all container tags to 2020-11-18
2020-11-19 13:37:57 -05:00
Daniel Agar
1425d87640
boards: px4_fmu-v5 sync all defconfigs
2020-11-19 11:21:47 -05:00
Daniel Agar
7baeb78964
mavlink: STATUSTEXT track missed mavlink_log messages
2020-11-17 19:47:06 -05:00
Daniel Agar
e1168070d1
mavlink: decrease task stack
2020-11-17 19:47:06 -05:00
Daniel Agar
3f9e5a6934
drivers/device/ringbuffer: move into crazyflie syslink (only remaining user)
2020-11-17 19:47:06 -05:00
Daniel Agar
ed8a30d73e
mavlink: STATUSTEXT directly use mavlink_log subscription
...
- ORB_ID(mavlink_log) increase queue depth now that mavlink ringbuffer is gone
2020-11-17 19:47:06 -05:00
Daniel Agar
fb1f360724
mavsdk_tests: consistent 180s disarm timeout
2020-11-16 15:55:10 -05:00
Daniel Agar
f5660c6b0c
mavsdk_tests: adjust px4 and gzserver priority relative to mavsdk_test
...
- this is to avoid starving the test runner
2020-11-16 15:55:10 -05:00
Daniel Agar
22fbcf98cf
Tools/setup: requirements.txt add pymavlink
...
- needed for Tools/mavlink_shell.py
2020-11-16 12:14:41 -05:00
Daniel Agar
ce51a01822
boards: cubepilot orange and yellow start isolated sensor bus (SPI4) first
...
- this makes the isolated sensors primary by default
2020-11-16 09:31:12 -05:00
Daniel Agar
f7452bff4d
ROMFS: startup remove bootlog.txt
2020-11-16 09:19:35 -05:00
Daniel Agar
eb3135e79c
systemcmds/tests: always build with optimization
...
- needed to keep Matrix stack usage reasonable
- split matrix tests to further minimize stack usage
2020-11-15 19:15:56 -05:00
Daniel Agar
963d101375
boards: fmu-v5 debug and stackcheck increase interrupt stack
2020-11-15 17:00:11 -05:00
Daniel Agar
053bf7e732
Jenkins HIL tolerate certain failures
...
- px4_fmu-v5 debug and stackcheck builds initial configuration is best effort
- nxp_fmuk66-v3 allow overall tests command to fail due to intermittent serial console issues
2020-11-13 21:50:13 -05:00
Daniel Agar
ee9ce1087a
IMU_DGYRO_CUTOFF add conservative default (0 Hz -> 30 Hz)
2020-11-13 21:26:35 -05:00
Daniel Agar
174c5c5797
Jenkins HIL fmu-v5 debug and stackcheck attempt to config conservative defaults before flashing
...
- keep minimal rate for expensive fmu-v5 debug and stackcheck builds
2020-11-13 18:03:09 -05:00
Daniel Agar
dd3c1a3653
Tools/HIL: relax command retry for now
2020-11-13 18:03:09 -05:00
Daniel Agar
29658961ef
mavlink: move DISTANCE_SENSOR to streams header
2020-11-13 10:05:22 -05:00
Daniel Agar
860a7fd1db
mavlink: move ALTITUDE to streams header
2020-11-13 10:05:22 -05:00
Daniel Agar
a8f0987028
mavlink: move WIND_COV to streams header
2020-11-13 10:05:22 -05:00
Daniel Agar
4a9f293596
mavlink: move MOUNT_ORIENTATION to streams header
2020-11-13 10:05:22 -05:00
Daniel Agar
4a6c90b8ea
mavlink: STATUSTEXT check TX buffer before sending
...
- Note the TX buffer size check is lazily ignoring the possibility of messages that span multiple Mavlink STATUSTEXT. This at least accommodates the calibration use case and it's no worse than before for longer messages.
2020-11-13 09:52:05 -05:00
Daniel Agar
d14b4221f1
sensor calibration: apply board level adjustment to external sensors ( #16127 )
...
- apply SENS_BOARD_{X,Y,Z}_OFF to external sensors to prevent unnecessary misalignment with internal IMU
2020-11-12 10:37:30 -05:00
Daniel Agar
3cf072debc
HIL tests remove deleted smoothz test
2020-11-11 20:22:06 -05:00
Daniel Agar
1659447abb
px4_work_queue: reduce INS (ekf2) stack by 1200 bytes
2020-11-11 20:17:52 -05:00
Daniel Agar
5d7ea62190
estimator_innovations: remove unimplemented fake vel & pos fields
...
- easy to readd if and when they're needed
2020-11-11 20:17:52 -05:00
Daniel Agar
880dc6accd
ekf2: compile at MAX_CUSTOM_OPT_LEVEL
2020-11-11 20:17:52 -05:00
Daniel Agar
1e03285405
ekf2: avoid storing in_ground_effect state
2020-11-11 20:17:52 -05:00
Daniel Agar
26de630dc5
ekf2: remove landed flag and use control_status directly
2020-11-11 20:17:52 -05:00
Daniel Agar
89ab6a5dbf
ekf2: preflight checks only reset on STANDBY change
...
- avoid storing unnecessary state and call setVehicleCanObserveHeadingInFlight() directly
2020-11-11 20:17:52 -05:00
Daniel Agar
b9fff2c221
ekf2: sensor_selection only updated in non-multi mode
...
- publish attitude as soon as possible
2020-11-11 20:17:52 -05:00
Daniel Agar
7264577eec
ekf2: split perf counters (full update or not) and reorganize Run() slightly
2020-11-11 20:17:52 -05:00
Daniel Agar
a68fe4dbd7
ekf2: move parameter update to beginning of cycle
2020-11-11 20:17:52 -05:00
Daniel Agar
5ae7c80a18
ekf2: move rangeSample update to UpdateRangeSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
991015c5c6
ekf2: move magSample update to UpdateMagSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
68f49619b7
ekf2: move gps_message update to UpdateGpsSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
0db706011a
ekf2: move FlowSample update to UpdateFlowSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
8ee197acad
ekf2: move vehicle_odometry_aligned publication to PublishOdometryAligned()
2020-11-11 20:17:52 -05:00
Daniel Agar
b29f3c7ce5
ekf2: move ExtVisionSample update to UpdateExtVisionSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
0f56793116
ekf2: move BaroSample update to UpdateBaroSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
6b30f01daf
ekf2: move AuxVelSample update to UpdateAuxVelSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
651e292d42
ekf2: move AirspeedSample update to UpdateAirspeedSample()
2020-11-11 20:17:52 -05:00
Daniel Agar
f4f3ba47a2
ekf2: move mag calibration to UpdateMagCalibration()
2020-11-11 20:17:52 -05:00
Daniel Agar
96178a6fb0
ekf2: publish yaw estimator status last
2020-11-11 20:17:52 -05:00
Daniel Agar
05de61ff15
ekf2: move estimator innovations publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
387186c11d
ekf2: move estimator innovation test ratios publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
3b9965ff8d
ekf2: move estimator innovation variances publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
94415a45fa
ekf2: move estimator status publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
03388f4656
ekf2: move estimator states publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
98334d1325
ekf2: move local position publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
c09a5e0d9f
ekf2: move global position publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
8616345346
ekf2: move estimator_sensor_bias publication to method
...
- only publish if there's a change in bias
- publish current estimated mag bias, including saved mag bias
2020-11-11 20:17:52 -05:00
Daniel Agar
e397cbf8bb
ekf2: move ekf_gps_drift publication to method
2020-11-11 20:17:52 -05:00
Daniel Agar
0d657c74bf
ekf2: rename publish helpers mixed case (google style guide)
2020-11-11 20:17:52 -05:00
Daniel Agar
68f24954cf
imu/st/lsm9ds1: refactor to same form as other new IMU drivers
...
- register configuration captured in table and checked periodically
- simple state machine
- all driver sleeps removed
- driver respects IMU_GYRO_RATEMAX
2020-11-11 19:22:12 -05:00
Daniel Agar
a8f665739d
mavsdk_tests: manual fly forward for slightly longer
2020-11-11 19:16:39 -05:00
Daniel Agar
756609c3e8
mavsdk_tests: relax corridor radius default for missions
2020-11-11 19:16:39 -05:00
Daniel Agar
b50e6bda69
cmake: NuttX apps build updates
...
- NuttX Apps no longer generates the .built file
2020-11-11 12:06:39 -05:00
Daniel Agar
9767a73619
ROMFS: silently compare optional parameters
...
- not all build configurations have these parameters/modules
2020-11-11 08:03:48 +01:00
Daniel Agar
7ba73b46ca
uORB: tests decrease stack
...
- save a bit of memory for running on older boards
2020-11-10 23:44:02 -05:00
Daniel Agar
3924792c20
Jenkins: HIL improve run_tests.py and run_nsh_cmd.py helper
...
- switch to python3
- run_nsh_cmd.py return error if command fails
- decrease timeout in checking for output
- Jenkins hardware tests tolerate certain command failures that aren't available on all boards (flash constrained, etc)
2020-11-10 22:45:50 -05:00
Daniel Agar
b491929ad6
Jenkins: HIL tests only finish on PASSED, FAILED, or timeout
2020-11-10 16:41:13 -05:00
Daniel Agar
d33a48eb24
systemcmds/topic_listener: remove excludes
...
- this is a bit wasteful, but we can afford it for now everywhere listener is enabled
2020-11-10 13:46:48 -05:00
Daniel Agar
c8dfcf7f0d
Github Actions: break up MAVSDK SITL tests
...
- run only 1 vehicle type per location
2020-11-10 13:11:51 -05:00
Daniel Agar
38fbb452da
vscode add navio2 variant and native debug launch
2020-11-10 10:38:46 -05:00
Daniel Agar
c60743b306
boards: NuttX increase file name max 32 -> 40
2020-11-08 12:51:59 -05:00
Daniel Agar
bde5cadba7
ROMFS: replay automatically create replay_params.txt
2020-11-04 11:47:01 -05:00
Daniel Agar
142452f80c
replay: print parameter changes and error on mismatch
2020-11-04 11:47:01 -05:00
Daniel Agar and igalloway
03aa2dd46c
ROMFS: create NXP HoverGames airframe (SYS_AUTOSTART 4017)
...
Co-authored-by: igalloway <iaintravelgalloway@gmail.com >
2020-11-04 11:43:20 -05:00
Daniel Agar
ea2fced6ad
Tools/check_submodules.sh: always update if within vscode cmake configure
...
- the interactive portion of check_git_submodule with hang waiting for user input
2020-11-03 23:40:12 -05:00
Daniel Agar
ba5ef28f23
uORB_tests: add uORB::SubscriptionMultiArray tests
2020-11-03 09:10:54 -05:00
Daniel Agar
817285ec64
commander: gyro calibration use MedianFilter
2020-11-02 12:58:46 -05:00
Daniel Agar
d14deb0e5a
FFT add simple median filter
2020-11-02 12:58:46 -05:00
Daniel Agar
4578b8cdcc
Update submodule ecl to latest Mon Nov 2 09:57:32 EST 2020
...
- ecl in PX4/Firmware (f87b19f31b9918f73d336d10e68d39c659037582): https://github/commit/48a8992caf7a95e09a5e17235133894c072b96bd
- ecl current upstream: https://github/commit/a21092804a784d012939f96cc633e7da5f5e8cde
- Changes: https://github/compare/48a8992caf7a95e09a5e17235133894c072b96bd...a21092804a784d012939f96cc633e7da5f5e8cde
a210928 2020-11-01 Daniel Agar - EKF: remove virtual getters from estimator_interface
2020-11-02 12:44:14 -05:00
Daniel Agar
a1ef4d1469
ekf2: only advertise immediately in multi-EKF mode
2020-11-01 15:48:35 -05:00
Daniel Agar
6b9dde59d6
update ecl to latest
...
- fmu-v5 debug and stackcheck builds now need to be CONSTRAINED_FLASH to fit
- delete unused holybro_durandal-v1_stackcheck build (also CONSTRAINED_FLASH)
2020-10-29 18:56:52 -04:00
Daniel Agar
81aa8a914f
boards: px4_fmu-v2 disable ver command line to save flash
2020-10-29 18:56:52 -04:00
Daniel Agar
d5894bea5c
cmake: NuttX debug skip SVD print if not found
2020-10-29 15:07:47 -04:00
Daniel Agar
216a0eb3a0
cmake: NuttX redirect libapps build stdout to log file
2020-10-29 15:07:47 -04:00
Daniel Agar
b13422dd80
gitmodules update URLs to renamed PX4 repositories
2020-10-29 15:06:59 -04:00
Daniel Agar
ecb462f325
ekf2: EKF2.cpp using matrix Eulerf, Quatf, Vector3f
2020-10-29 10:22:57 -04:00
Daniel Agar
d1af095c0b
ekf2: don't store vehicle_status_s
2020-10-29 10:22:57 -04:00
Daniel Agar
d27573b797
ekf2: don't store vehicle_land_detected_s
2020-10-29 10:22:57 -04:00
Daniel Agar
7757aeda94
ekf2: don't store sensor_selection_s copy
2020-10-29 10:22:57 -04:00