Beat Küng
ca6df035b4
px4/fmu-v5x: add arch_io_pins dependency (required in init.cpp)
3 years ago
Beat Küng
0d1d454a4c
mavlink: add missing 'sensor_calibration' lib dependency
3 years ago
alexklimaj
31af09f8e7
Fix uavcan distance sensor not being logged
3 years ago
Silvan Fuhrer
24d871f792
FW land detector: tighten thresholds in airspeed-less case
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
PX4 BuildBot
16621b19b3
Update submodule sitl_gazebo to latest Fri Dec 10 00:38:56 UTC 2021
...
- sitl_gazebo in PX4/Firmware (95222baa33
): ffb87ef4a3
- sitl_gazebo current upstream: 27298574ce
- Changes: ffb87ef4a3...27298574ce
2729857 2021-12-06 Silvan Fuhrer - Plane.sdf: reduce flaps and aileron effectiveness by reducing the angle-to-lift ratio
3 years ago
Thomas Debrunner
ade4a1930c
trajectory-planning: Added option for PositionSmoothing library with single target waypoint that disables L1 guidance
3 years ago
Jukka Laitinen
77af102cab
px4_work_queue: Use px4_task_spawn_cmd for WorkQueueRunner in NuttX protected
...
In NuttX protected build there are separate work queues in kernel and user sides.
pthreads are only available in user side, so use tasks and kthreads for
memory protected builds.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
3aab4d2daf
px4_task_spawn_cmd: launch kernel thread in protected/kernel build on kernel side
...
Also task name is accessible only in kernel side for protected/kernel build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
8185e2a384
boards: board_app_initialize() don't return early on failure
...
- depending on the situation we're more likely to get actionable user
feedback by allowing boot to complete rather than silently failing
3 years ago
Daniel Agar
08ee3208b2
mavlink: stop_command fix potential dead lock
3 years ago
Cindy Hsieh
ca90c785e9
correct pin in the comment, no code changed
3 years ago
Thomas Stastny
95222baa33
fix incorrect L1 period param documentation ( #18811 )
...
* fix incorrect L1 period param documentation
* reduce minimum L1 period
3 years ago
Daniel Agar
8b1543e3b0
mavlink: destroy all instances fix potential dead lock
3 years ago
Silvan Fuhrer
b00ebe53bb
FlightTaskAuto: use MPC_VEL_MAX instead of MPC_XY_CRUISE for emergency braking thresholds
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Julian Oes
94884594bb
mavsdk_tests: check gzserver and gz model calls
...
This adds two checks to make sure gzserver has actually started before
continuing, and also whether the gz model call was successful.
3 years ago
Daniel Agar
51c0e5553e
vmount: adjust MNT_RANGE_PITCH and MNT_RANGE_ROLL defaults
...
- this seems like a much more reasonable default
3 years ago
Daniel Agar
3b94742117
vmount: adjust timeout 50 -> 20 ms (50 Hz)
3 years ago
Julian Oes
9cb2bf389c
vmount: add param to use RC input for angular rate
...
Until now RC input was translated to angles only. I added the param
MNT_RC_IN_MODE which allows the RC input to be used for angular rate.
3 years ago
Daniel Agar
08b0ac9654
dataman: retry file read/write failures and report seek errors
3 years ago
Matthias Grob
495f1c9165
battery: don't initialize _source without constructor
3 years ago
Matthias Grob
68e2940f58
math: support max of three values additional to min and use it everywhere
3 years ago
Matthias Grob
e8676fe87a
BATTERY_STATUS: improve filling cell voltage
...
according to review comment
3 years ago
Matthias Grob
b41e345a5b
battery: correct updateBatteryStatus() description
3 years ago
Matthias Grob
ee3bc6673a
AnalogBattery: make update variables const
3 years ago
Matthias Grob
fdc40880d0
battery: separate out publishing from updating
...
to allow smart battery drivers to use the battery class and
filling in additional information in case it makes sense.
3 years ago
Matthias Grob
e70d70468a
battery: pass voltage and current by setter
3 years ago
Matthias Grob
39641494da
battery: pass connected flag in by setter
3 years ago
Matthias Grob
38d23f5345
battery: pass priority in by setter
3 years ago
Matthias Grob
f9fc9a9af6
battery: pass source in by constructor
3 years ago
Matthias Grob
b965923c08
battery: fetch throttle value inside of class
3 years ago
Matthias Grob
ddc6b6bc9c
battery: move MAVLink specific handling out of battery class
3 years ago
Matthias Grob
da2fdf923e
battery parameters: allow usage of 1S battery
3 years ago
Jukka Laitinen
d0d7f29422
platforms/common/shutdown.cpp: Enable boardctl functions for shutdown and poweroff
...
Shutdown and poweroff must go through boardctl in NuttX protected build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
7185bb3243
vmount: output rc simple protections
3 years ago
bresch
c947562183
ekf: get rid of intermediate variable "fuse_height"
3 years ago
bresch
9651f78b0a
ekf: centralize the height fusion decision
3 years ago
bresch
d583ef6b79
ekf2: move height fusion code to separate source file
3 years ago
Daniel Agar
452a7199a6
Jenkins: HIL stop modules before running certain tests
3 years ago
Daniel Agar
f9faa97d85
Tools/HIL/run_nsh_cmd.py increase timeout 3->4 minutes
3 years ago
Daniel Agar
01e60e853e
navigator: increase stack slightly
3 years ago
Daniel Agar
41378fcef9
ms5611: lower SPI clock 20 MHz -> 16 MHz
...
- this was necessary to get the secondary ms5611 working reliably on a
particular CubeOrange
- the sensor is transferring very little data, so lowering the speed by
default everywhere is harmless
3 years ago
Daniel Agar
8cd517f533
dataman: PX4_ERR on create_work_item failure
3 years ago
Daniel Agar
9ab633c18f
drivers/imu/invensense: check register bank during probe if necessary
...
- the WHO_AM_I is only accessible in register bank 0, which might not
be currently selected if the sensor didn't have a clean reset
3 years ago
Daniel Agar
4bf1b46e47
boards: free up flash on crazyflie and omnibus
3 years ago
Daniel Agar
2256def180
Jenkins: hardware run param dump
3 years ago
Daniel Agar
1f6acd0171
parameters: add simple backup and restore mechanism
3 years ago
Daniel Agar
e692f4ca01
ROMFS: rcS param import fail try to gather data
...
- startup tune and console message to notify user
- save dmesg and param bson copy to microsd
- run param dump to show full contents of bson
3 years ago
Daniel Agar
674b92df18
parameters: sleep 10 ms before retrying a failed import/export
3 years ago
Daniel Agar
7bfebf5289
parameters: add param dump to read and decode bson to console
3 years ago
Daniel Agar
7560d45c61
parameters: import tolerate unhanlded BSON types
3 years ago