Junwoo Hwang
af839c828d
Set Tune's Volume for Power-Off in Commander to default volume of tune_control message
3 years ago
Daniel Agar
8df3932d6a
icm20948: disable debug output (_debug_enabled=true)
3 years ago
Kirill Shilov
6981a70859
boards: new Sky-Drones AIRLink board support
3 years ago
Daniel Agar
503f97c8bc
logger: add default ground truth logging for HITL/SITL
3 years ago
Silvan Fuhrer
680fe86c05
FlightTaskAuto: fix Weather Vane during landing
...
Weather vane should only set a yawrate setpoint, but no yaw setpoint.
Setting it to NAN when WV is active makes sure that whatever _yaw_setpoint
is set previously (e.g. through Waypoint) is not used.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
ae5725e71a
ROMFS: fix typo in convergence and clair configs
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
bd1b0cab73
Mission: don't do anything in set_current_mission_index() when index=current already
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Daniel Agar
6f87a4546d
platforms/nuttx: cdc_acm_check implement mavlink reboot directly
3 years ago
Daniel Agar
9073f3ccdf
px4flow allow delayed background startup
3 years ago
mcsauder
fef47513f5
Add gyro and accel range register values to the icm42688p driver.
3 years ago
Hamish Willee
e1d3728208
13004_quad+_tailsitter - outputs mixed up
3 years ago
Daniel Agar
435a474dff
Update submodule GPSDrivers to latest Thu Apr 21 12:38:20 UTC 2022
...
- GPSDrivers in PX4/Firmware (e9c07fac6f
): ddb1825fe3
- GPSDrivers current upstream: 6534b050ee
- Changes: ddb1825fe3...6534b050ee
6534b05 2022-04-19 Jonas Perolini - ubx: disable gps heading for in RTK float fix type (#104 )
Co-authored-by: PX4 BuildBot <bot@px4.io>
3 years ago
bresch
e9c07fac6f
EKF: move python tuning tools to EKF module
3 years ago
bresch
49bc5082e7
Tools: add baro pressure coefficient tuning script
3 years ago
bresch
ea7009546b
mc wind: rename MC wind estimor tuning script
3 years ago
Julian Oes
37fa4bccb6
mavsdk_tests: update MAVSDK dependency
...
This should fix the CI issue where the test just hangs trying to
connect.
3 years ago
bresch
3c6b72c33b
commander: improve set_in_air_position
...
- set local home using global pos and global home
- set local home using GNSS pos and global home
- set global home using global ref of local frame and local home
3 years ago
bresch
e9a2b3f260
geofence: remove unused function parameters
3 years ago
bresch
3f3a4ac5c1
navigator: home_positionvalid -> global_home_position_valid
...
This is to make clear that the relevant part of the home position
message for navigator is the global one. Local home position isn't
required as everything is done in global coordinates.
The specific home_alt_valid is used when lat/lon are not used
3 years ago
bresch
d2f2ba59a4
commander: refactor home position setter
...
- always try to set local or global home position when possible
- set global home with GNSS position if global pos from EKF isn't
available
- reset home when significantly moved from home before takeoff (checking
lpos or gpos or GNSS)
- reset home on takeoff transition
- reset home on mavlink arm command
- remove "home required accuracy" parameters, rely on validity flags
3 years ago
RomanBapst
a7683eea07
mission_block: fix vehicle not exiting loiter after reaching exit heading
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
Thomas Stastny
d5a6174e7f
mission block: fix incorrectly calculated ccw loiter exit ( #19487 )
...
* mission block: fix incorrectly calculated ccw loiter exit
* mission block: update comment on orbit exit location
3 years ago
Daniel Agar
5e05d98fe2
output modules simplify locking for mixer reset and load
...
- fixes the deadlock in px4io ioctl mixer reset
- px4io Run() locks (CDev semaphore)
- mixer load goes through px4io ioctl MIXERIOCRESET which calls MixingOutput::resetMixerThreadSafe()
- MixingOutput::resetMixerThreadSafe() stores a Command::Type::resetMixer command in an atomic variable, schedules a work queue cycle, then sleep spins until the command is cleared
- the execution of the cycle eventually calls back into PX4IO::updateOutputs(), which tries to lock (and waits forever)
3 years ago
bazooka joe
5d95cc001f
small cleanup for FlightTask::_evaluateDistanceToGround if-else
3 years ago
Daniel Agar
2e290345d3
boards: px4_fmu-v5_stackcheck disable unused systemcmds to save flash
3 years ago
Daniel Agar
90e2cab3fa
boards: px4_fmu-v5/v5x run default & rtps boards through kconfiglib to cleanup
3 years ago
Daniel Agar
3cdeeb8d64
px4iofirmware: convert most files to c++
3 years ago
Daniel Agar
3211d0ff19
boards: px4_fmu-v2_multicopter disable lightware_laser_serial to save flash
3 years ago
Daniel Agar
d06032d7f3
boards: px4_fmu-v5_uacanv0periph disable systecmds/sd_bench to save flash
3 years ago
stmoon
e7562df13a
boards: px4_fmu_v5x_rtps disable several modules to save flash
3 years ago
Daniel Agar
cbc37f9fcd
boards: px4_fmu-v6x_default disable systemcmds/sd_bench to save flash
3 years ago
alexklimaj
6e0ac66c3c
drivers/optical_flow: new PixArt PAA3905 optical flow driver
3 years ago
Beat Küng
9a9aad98a1
mavlink: add COMPONENT_METADATA message
...
And still support the previous message COMPONENT_INFORMATION for now.
3 years ago
Igor Misic
cdfa65d792
commander/safety: set early safety_button_available
3 years ago
Thomas Debrunner
f6bdc42977
param-reset: Add option to reset all configurable params, but not the ones that store vehicle information
3 years ago
Daniel Agar
3f13c70cae
px4io cleanup LED and heater handling
...
- most px4_io-v2 boards have a blue LED that breathes for status
- the pixhawk 2.1 (hex) re-used this blue LED for as an IMU heater (active low), but kept the same board id (so we have to detect at runtime)
- the new cubepilot boards (yellow, orange) inverted the polarity of this heater pin
- untangle the mess slightly so that things we know statically (eg cubepilot cubeorange LEDs and heater polarity) are handled at build time.
3 years ago
Alessandro Simovic
510ad00024
dronecan beeper: remove unneded var
3 years ago
chris1seto
912962f109
lib/rc: Fix DSM2/DSMX guessing routine and DSM range checking ( #18270 )
...
* Add Orangerx test case
Co-authored-by: Chris Seto <chris.seto@bossanova.com>
3 years ago
PX4 BuildBot
93268a285d
Update submodule mavlink to latest Wed Apr 13 12:39:05 UTC 2022
...
- mavlink in PX4/Firmware (16fd85d9b9133f21a79a5c1bccbf4756f4b3c781): 56a5110d38
- mavlink current upstream: 3b52eac09c
- Changes: 56a5110d38...3b52eac09c
3b52eac0 2022-04-13 Beat Küng - add COMPONENT_METADATA, deprecate COMPONENT_INFORMATION (#1823 )
3 years ago
Daniel Agar
9c381a60b5
Tools/ecl_ekf: fix vibe_metrics usage (moved to vehicle_imu_status instances)
3 years ago
Daniel Agar
b4158c1b48
sensors/vehicle_imu: Integrator use 1 microsecond for minimum DT
...
- this is a more realistic minimum for the system
3 years ago
Daniel Agar
d2f1349d1a
sensors/vehicle_imu: replace coning metric with actual integrator coning correction (averaged)
...
- this saves a relatively expensive higih rate cross product and gives
better visibility into what's actually happening internally
3 years ago
bresch
37cafe7dcd
ekf rng kin: reduce minimum rng variance
3 years ago
bresch
4994649500
ekf rng kin: increase default gate size
...
The user needs to tune the range finder noise parameters properly and we
shouldn't need such a small gate
3 years ago
bresch
1fbe04986f
ekf rng finder consistency: simplify class member names
3 years ago
bresch
4c03f0bc50
ekf: make range finder kin consistency gate tunable by parameter
3 years ago
bresch
079a5e92ba
ekf: run rng consistency check only when not horizontally moving
...
The check assumes a non-moving terrain height
3 years ago
bresch
d903613c9c
ekf: add logging for rng kinematic consistency check
3 years ago
bresch
8693ad15a7
ekf: add logging of range finder consistency check
3 years ago
bresch
baf9cc9597
ekf: use uint64_t for time variables
3 years ago