Roman Bapst
842d98d572
AirspeedValidator: fuse true airspeed before sideslip ( #742 )
...
- the states can be initialised more accurately using an airspeed measurement
and the wind estimator uses the first measurement to initialise
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2020-12-11 09:37:09 +03:00
Daniel Agar
d44e537084
ekf2: update to new ecl to fix fault status getter
...
- estimator_status filter_fault_flags was broken because the union within ecl/EKF has exceeded 16 bits
2020-12-10 12:45:41 -05:00
Daniel Agar
1541e4b414
EKF: update control status and fault status getters
...
- the fault status union exceeded 16 bits, but the getter was get_filter_fault_status(uint16_t *val)
2020-12-10 09:13:12 -05:00
zhaoxiaowei
fbf67bdef9
reset gps height use vacc
2020-12-10 10:07:59 +01:00
Beat Küng
72420dfff3
mavlink_receiver: remove unused _param_com_flight_uuid
2020-12-10 08:47:04 +01:00
PX4 BuildBot
7db555573b
Update submodule ecl to latest Wed Dec 9 12:40:07 UTC 2020
...
- ecl in PX4/Firmware (ef162f7629ce29be8fd556b81357b96720d8e21f): https://github/commit/da7d41e78aecdc07d226bd7d723c747895d1c615
- ecl current upstream: https://github/commit/8f3df7a97b348dd7bf06233004f9821fe2ea88d1
- Changes: https://github/compare/da7d41e78aecdc07d226bd7d723c747895d1c615...8f3df7a97b348dd7bf06233004f9821fe2ea88d1
8f3df7a 2020-12-09 Mathieu Bresciani - flow: restructure optical flow control logic (#928 )
3835800 2020-12-09 kritz - Auto update change indication by github actions
688a054 2020-12-08 Daniel Agar - EKF: controlDragFusion() add parenthesis for readability
944b18c 2020-12-05 Paul Riseborough - EKF: Remove non useful status print
ee94980 2020-12-03 Paul Riseborough - EKF: Clean up wind state activation logic
44ebfb8 2020-12-02 Paul Riseborough - EKF: Don't report local position as valid when in a non-position mode
2020-12-09 13:12:58 -05:00
flbernier
bca2d3139a
Enable dshot driver for fmu-v4pro
2020-12-09 17:56:11 +01:00
Orkun Aşa
f2aa7d3f88
Update ROMFS/px4fmu_common/init.d/rc.sensors
...
parameter comparison logic is changed.
Co-authored-by: Daniel Agar <daniel@agar.ca>
2020-12-09 17:55:38 +01:00
Orkun Aşa
a6b7add2fe
SENS_EN_VL53L1X parameter is implemented to enable VL53L1X distance sensor
2020-12-09 17:55:38 +01:00
Igor Campos
9c3b70d517
remove default value for roll angle
2020-12-09 17:54:53 +01:00
Igor Campos
bbad1bdd6e
add comment.
2020-12-09 17:54:53 +01:00
Igor Campos
33b831efe3
rename variables
2020-12-09 17:54:53 +01:00
Igor Campos
dfcd6a7c16
fix typo
2020-12-09 17:54:53 +01:00
Igor Campos
c316af6ec7
update to match new feature as a new mavlink command Oblique Survey 260
2020-12-09 17:54:53 +01:00
Igor Campos
390ed3765f
disable pseudo-oblique mode if param4 is 0.
2020-12-09 17:54:53 +01:00
Igor Campos
38a5b8a502
fix comment description for pitch angle
2020-12-09 17:54:53 +01:00
Igor Campos
d0ae931543
adjust minimum number of positions to 2.
2020-12-09 17:54:53 +01:00
Igor Campos
0cb3ce4886
fix readability
2020-12-09 17:54:53 +01:00
Igor Campos
e1e06364da
fix formatting
2020-12-09 17:54:53 +01:00
Igor Campos
73f7b08873
add Camera Auto Mount Pseudo Oblique Solution (CAMPOS)
...
add target system and component ids to vmount commands
Signed-off-by: Igor Campos <igor.gama.90@gmail.com>
2020-12-09 17:54:53 +01:00
Thomas
7e2da11d67
reenable WV after FT alignment
2020-12-09 17:36:20 +01:00
Mathieu Bresciani
8f3df7a97b
flow: restructure optical flow control logic ( #928 )
...
- extract motion checks performed on ground
- move all non-timing check to controlOpticalFlowFusion. This simplifies and standardirzes the setOpticalFlowData function. Furthermore, in some cases (SITL, PX4Flow), the dt is forced to 0 when the quality is 0 (which is usual on ground) so the ekf needs to ignore those values on ground to initialize properly the flow fusion.
- add filter convergence test
- move check for dt time max in setOpticalFlowData
- in the simulator, do not update dt as this is the sensor integration
period.
2020-12-09 11:33:00 +01:00
Julian Oes
a1b54eb655
mavlink: check index for out-of-bounds
...
If a MAP_RC_PARAM message is sent with an index > 2, this would lead
to undefined behaviour or a segfault/hardfault.
2020-12-09 08:59:57 +01:00
Mark Sauder
dd4ee5c48c
dshot: breakout driver header file, use static_casts, add const specifiers ( #15908 )
...
* Break out dshot.h from dshot.cpp and rename files to reflect the class name.
Move DShot class specific #defines from drv_pwm_output.h to dshot.h.
Replace c-style casts with static_casts, standardize method naming, single line comment styles, and formatting.
Rename update_dshot_out_state() to enable_dshot_outputs().
2020-12-09 08:51:47 +01:00
Daniel Agar
cf010f44d0
Update submodule sitl_gazebo to latest Wed Dec 9 00:39:59 UTC 2020 ( #16354 )
...
- sitl_gazebo in PX4/Firmware (cd1ffa63cd666149e08b8ff0842a2a2d60627b5e): e01ba8f78c
- sitl_gazebo current upstream: 19981d61cf
- Changes: e01ba8f78c...19981d61cf
19981d6 2020-12-08 Flavio Tonelli - Fix plugin misspelling (#665 )
Co-authored-by: PX4 BuildBot <bot@px4.io>
2020-12-09 08:43:45 +01:00
Daniel Agar
cd1ffa63cd
commander: auto transition to LOITER if disarmed with no RC only requires a valid global position
2020-12-08 18:26:03 -05:00
kritz
38358002bb
Auto update change indication by github actions
...
Co-authored-by: kamilritz <kamilritz@users.noreply.github.com>
2020-12-08 18:05:28 -05:00
Daniel Agar
688a054bdb
EKF: controlDragFusion() add parenthesis for readability
2020-12-08 18:03:04 -05:00
Paul Riseborough
944b18c63e
EKF: Remove non useful status print
...
Local position is never valid when filter is initialised so there is no use printing the status.
2020-12-08 18:03:04 -05:00
Paul Riseborough
ee94980a8f
EKF: Clean up wind state activation logic
...
Ensure wind states are deactivated in one place and always when in a non-position mode.
Activate wind states separately for each observation method.
2020-12-08 18:03:04 -05:00
Paul Riseborough
44ebfb8c43
EKF: Don't report local position as valid when in a non-position mode
2020-12-08 18:03:04 -05:00
Daniel Agar
82746af07a
ekf2: use new IMU and mag bias and variance getters in ecl/EKF
...
- reset IMU bias on calibration change (only works with multi-ekf)
- standardize PX4_INFO/PX4_WARN/PX4_ERR output for multi-ekf with instance number
- https://github.com/PX4/PX4-ECL/pull/924
2020-12-08 16:06:18 -05:00
Daniel Agar
8f5f564c05
commander: preflightcheck only report failure once per sensor type
...
- either way the user action is to recalibrate, so we might as well try
to minimize the noise/annoyance
2020-12-08 13:18:22 -05:00
Daniel Agar
da7d41e78a
EKF: add mag bias reset helper and update IMU bias reset to match ( #924 )
2020-12-08 12:16:59 -05:00
Silvan Fuhrer
edaf9f2bb6
FW Position Controller: consolidate mission throttle adaptions for position and loiter waypoints
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2020-12-08 12:08:36 -05:00
Silvan Fuhrer
6d255df0a8
airspeed selector: disable beta fusion when not in fixed-wing mode
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2020-12-08 11:43:27 -05:00
Silvan Fuhrer
59564af860
wind_estimate message: add identifier for source
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2020-12-08 11:43:27 -05:00
Roman Dvořák
bc1c8fb73a
GPS_DUMP_COMM: dump all gps instances
2020-12-08 11:45:24 +01:00
Julian Oes
fd261b590c
battery: don't init uint16_t with -1.0f
...
This was flagged as undefined behaviour by fuzz testing.
2020-12-08 09:58:29 +01:00
Daniel Agar
681590c510
ekf2: multi-ekf force initial selection (and sensor_selection publication)
...
- depending on the particular sensor configuration and startup timing we were getting an initial sensor_selection publication without valid accel & gyro device ids (only applies to Multi-EKF)
- fix faulty accel and gyro device ids
- initialize unused test ratio fields to NAN for logging clarity
2020-12-07 21:37:24 -05:00
bresch
3276916df9
HomePos: check corresponding validity before using data
2020-12-07 10:24:23 -05:00
bresch
711bd2ce87
Commander: use helper to set home position
2020-12-07 10:24:23 -05:00
bresch
f3e5b86b06
Commander: set home position in air
...
en/dis-able in-air home position via parameter COM_HOME_IN_AIR
2020-12-07 10:24:23 -05:00
JaeyoungLim
e8cefcafbc
Fix gazebo_sitl_multiple_run.sh scripting ( #16340 )
...
This commit fixes the problem when using scripting options. This regression was introduced by #15463
2020-12-07 06:17:15 +01:00
Julian Oes
a2ff53b018
mavlink: remove typedef of anonymous struct
...
Clang doesn't seem to like these.
2020-12-06 23:55:59 -05:00
Julian Oes
8900c6200d
commander: remove typedef of anonymous struct
...
Clang doesn't seem to like these.
2020-12-06 23:55:59 -05:00
David Sidrane
1cd36d4c8c
PX4 NuttX 10.0.0+ With IMX backports
2020-12-04 12:59:09 -05:00
David Sidrane
1b70e5f978
nxp_fmurt1062-v1:Rev B will be Using active CD
2020-12-04 12:59:09 -05:00
David Sidrane
394c2edea3
nxp_fmurt1062-v1:Added Single wire support for SBUS
2020-12-04 12:59:09 -05:00
David Sidrane
171cb7119e
nxp_imxrt,rt106x add imxrt_gpiosetevent
2020-12-04 12:59:09 -05:00