Daniel Agar
2b9ebb7ed6
boards: holybro_kakutef7 disable systemcmds/work_queue to save flash
3 years ago
Thomas Stauber
983dd4db29
don't switch to SETPOINT_TYPE_LOITER during transitions ( #18350 )
3 years ago
Julian Oes
75b8e11b90
commander: make LAND failsafe stick
...
By default we would leave the LAND failsafe as soon as a link comes
back. With this change, we switch to the LAND failsafe like a proper
mode change, immediately disabling the failsafe as such.
This is as the same that is done for RTL in fact.
This is not optimal but a workaround for the problem where we switch out
of failsafe right on landing and then discover takeoff again and start
looping through it again and again without ever disarming.
3 years ago
Daniel Agar
896ad3a627
cmake: fix find_program ozone
3 years ago
Daniel Agar
a519916d79
systemcmds/sd_stress: return -1 on FAIL
3 years ago
Daniel Agar
c271a9e3e6
add sd_stress to all boards and run on test rack
3 years ago
Julian Oes
397b1ed8d6
Add sd_stress command
3 years ago
Julian Oes
4701a513c2
mavlink: fix errno for rename
3 years ago
Julian Oes
59b56dd06f
mavlink: add more error messages
3 years ago
Julian Oes
74b2fe326d
mavlink: don't (mis)use errno as global variable
...
I think it was not the best idea to use errno as a global variable to
keep track of the error code. I saw the errno change from where it was
set to where it was actually used, maybe because part of it is called in
the receive thread and part in the regular update/send() thread.
To be safe, I just created a class variable instead.
3 years ago
Julian Oes
96388f07fd
mavlink: improve debugging around MAVLink FTP
...
- Remove ifdefs with MAVLINK_FTP_DEBUG and use PX4_DEBUG instead
- Add a couple of more PX4_DEBUG lines
3 years ago
Daniel Agar
c35f68b49d
boards: px4_fmu-v5 sync UAVCAN_TIMER_OVERRIDE across all variants
3 years ago
Daniel Agar
00b15798da
Tools/HIL/run_tests.py - temporarily disable flaky dataman test until it can be reviewed
3 years ago
Daniel Agar
1325b9c876
Jenkins: hardware retry checkout if necessary
3 years ago
benjinne
413e15d083
Add vscode cmake-variant for px4_sitl_rtps
3 years ago
Beat Küng
540c024cbb
parameters: avoid printing errors for erased flash devices
...
Errors:
ERROR [parameters] param import failed (-1) attempt 1, retrying
ERROR [parameters] param import failed (-1) attempt 2, retrying
ERROR [parameters] param import failed (-1) attempt 3, retrying
ERROR [parameters] param import failed (-1) attempt 4, retrying
ERROR [param] importing from '/fs/mtd_caldata' failed (-1)
3 years ago
Daniel Agar
cc4152e10d
gyro_fft: require higher SNR for initially tracking a peak
...
- initial frequency peak tracking SNR increased from 10->15 db
- after initial detection the threshold decreases to SNR 5db
- gyro_fft large method refactored into smaller pieces
- sensors/vehicle_angular_velocity: dynamic notch FFT make sample rate
check a percentage and relax lower bound safety threshold
3 years ago
Daniel Agar
6d78054f50
mavlink USB auto start/stop on boards with VBUS
...
- no longer start sercon or mavlink usb by default
- on USB connection (VBUS) monitor serial USB at low rate and start Mavlink if there's a HEARTBEAT or nshterm on 3 consecutive carriage returns
- the mavlink USB instance is automatically stopped and serdis executed if USB is disconnected
- skipping Mavlink USB (and sercon) saves a considerable amount of memory on older boards
3 years ago
bresch
07e307b074
FieldSensorBiasEst: fix bias learning equation
...
Also compensate the tuned learning gains for the new equation to keep
the same tuning
3 years ago
bresch
e0bcc17f5b
mbe: integrate pre-takeoff mag bias estimate in VehicleMagnetometer
3 years ago
bresch
1443f773da
mbe: add module to targets
3 years ago
bresch
ec178c8745
create new mag_bias_estimator module
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
3 years ago
bresch
d858835fd0
mbe: initialize estimator with current measurement
3 years ago
bresch
9067d9cae9
mbe: improve algorithm and fix unit test
3 years ago
Matthias Grob
24dc627e8a
Add MagnetometerBiasEstimator for online magnetometer calibration
3 years ago
bresch
5874b1f87c
mc atune: add module to all targets
...
- adjust flash constrianed targets to fit
3 years ago
bresch
b99dbcc6a7
ModuleDocumentation: add autotune categorie
3 years ago
bresch
61dabca4c8
mavlink_receiver: Add mavlink handler with progress report
3 years ago
bresch
d463dfe2d8
mavlink_receiver: handle auto-tuning command
3 years ago
bresch
cd61065aea
sitl: start MC autotune module
3 years ago
bresch
9681f819a8
mc_att: inject identification signal in att control output
3 years ago
bresch
0498ee92d0
mc atune: add multicopter attitude auto-tuner module
3 years ago
bresch
d3cb806627
pid_design: add model-based PID tuning law based on GMVC
3 years ago
bresch
404145c655
sysID: add system identification library
3 years ago
bresch
d504b49695
mc_rate: compute control energy and publish to status msg
3 years ago
Alex Klimaj
0a662ef22c
Add uavcannode RTCM subscriber
3 years ago
alexklimaj
05ee31072a
Add ARK RTK GPS
3 years ago
Daniel Agar
c1c86bc349
Jenkins: hardware clear ccache stats before compiling
3 years ago
Daniel Agar
a53946649a
sensors/vehicle_magnetometer: only check if sensor enabled after parameters loaded
3 years ago
Daniel Agar
3c8f1f2a50
Jenkins: reduce build agent cpu share
3 years ago
SungTae Moon
2adf3f959b
Update Tools/gazebo_sitl_multiple_run.sh
...
Co-authored-by: JaeyoungLim <jalim@ethz.ch>
3 years ago
stmoon
bc5d55c4a4
fix the problem related to sitl multiple vehicle environment
3 years ago
marcojob
68a13326f0
mavlink: remove unused strncpy ( #18300 )
3 years ago
David Sidrane
7c9903f610
stm32h7:px4io_serial use TRBUFF
...
- includes NuttX with TRBUFF backports
3 years ago
David Sidrane
25a27d26e0
logger:log_writer_file Do not try to store ulog name on systems without hardfault logging
3 years ago
David Sidrane
f56701e72f
micro_hal:Remove px4_savepanic on arch without hardfault logging
3 years ago
David Sidrane
cb47203a9e
NuttX with deglitched GPIO backports
3 years ago
Daniel Agar
f3a904c109
Jenkins: HIL increase timeout
...
- occasionally we have a considerable backlog
3 years ago
David Sidrane
63e29b821c
holybro_can-gps-v1:Ensure sensors are powered
3 years ago
David Sidrane
2abbf791b3
NuttX with deglitched GPIO backports
3 years ago