Matthias Grob
f968a5947d
ArmStateMachine: port arming_state_names into the class
3 years ago
Matthias Grob
074080c816
Commander: separate out arm state machine to class
...
Pure refactoring and just the first step to avoid conflicts on the way.
3 years ago
Daniel Agar
6e9c673262
boards: omnibus_f4sd_ekf2 disable frsky telemetry to save flash (and fix build)
...
- this isn't great, but our options are limited at the moment and this
can be fixed later once the old mixing system is deleted
3 years ago
Thomas Stastny
e4b11c49c3
mathlib: add second order reference model filter with optional rate feedback ( #19246 )
...
mathlib: add second order reference model filter with optional rate feedback (#19246 )
Reference models can be used as filters which exhibit a particular, chosen (reference) dynamic behavior. This PR implements a simple second order transfer function which can be used as such a reference model, additionally with rate feedback. The system is parameterized by explicitly set natural frequency and damping ratio. Another nice externality is that the output state and rate are kinematically consistent. Forward-euler and bilinear transform discretizations for the state space integration step are available.
3 years ago
Igor Misic
80aef942cd
safety and safety button: refactoring #19413
3 years ago
Jacob Dahl
1f17a1470a
uavcan: update safety button
...
updated uavcannode/Publishers/SafetyButton.hpp
tested successfully
make format
revert cannode publishing
3 years ago
Daniel Agar
8c3ba7adb4
commander: silence GPS no longer validity PX4_WARN
3 years ago
Alessandro Simovic
47b08fd698
precland: save flash space
3 years ago
Hovergames
457130fb69
Support for NXP UWB position sensor
...
uwb_sr150 driver for the sensor, and some
modifications in precision landing to allow
landing on a platform using the UWB system.
3 years ago
Beat Küng
3381a5914d
holybro/kakuteh7: fix BOARD_FLASH_SIZE
...
The BL was reporting a flash size of 1703936, whereas it should be 1835008.
3 years ago
Matthias Grob
dd28c3e019
battery: update average current also when no capacity is configured
3 years ago
Matthias Grob
13c3eae6d0
battery: use mechanism to keep an up to date armed state
3 years ago
Silvan Fuhrer
3f6ab5ea19
battery: improve flight time remaining improvements
...
- introduce BAT_AVRG_CURRENT param that is used for init of average current estimate
- increase filtering of average current estimation
- only update average current filter when armed
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Beat Küng
6652718354
metadata.cmake: enable ethernet parameters
3 years ago
alessandro
8af0eeae46
1011_iris_irlock: require precland ( #19431 )
3 years ago
stmoon
179820cead
boards: px4_fmu_v5x_rtps disable common telemetry modules to save flash
3 years ago
Daniel Agar
803cc6814f
boards: px4_fmu-v2_fixedwing disable drivers/camera_trigger to save flash
3 years ago
Daniel Agar
f0be554857
boards: px4_fmu-v5_uavcanv0periph disable modules to save flash
3 years ago
Matthias Grob
3aee2497bb
commander_params: add precision land option for mode switch
3 years ago
David Sidrane
d6db06faf3
px_update_git_header:Extract latest release tag
3 years ago
Daniel Agar
82c1ffb8f8
boards: px4_fmu-v5_stackcheck disable common telemetry modules to save flash
3 years ago
Alex Mikhalev
9e57c5d217
tunes: Print warning if there is a tune error
3 years ago
Alex Mikhalev
f6cda64f0d
tunes: Fixed unspecified behaviour
...
This fixes unspecified behaviour due to evaluation order of args.
It's up to the compiler whether next_number() or next_dots() is executed
first which means that the behaviour is not properly specified.
3 years ago
Kabir Mohammed
d3b3de7159
mavlink: Use round instead of ceil on BATTERY_STATUS percentage
...
Co-authored-by: Alex Mikhalev <alex@corvus-robotics.com>
3 years ago
CUAVmengxiao
1870b9245b
fmu-v5: add macro definitions for different version revisions
3 years ago
CUAVmengxiao
f540335998
spi: get the correct version revision
3 years ago
CUAVmengxiao
c0d5ae2f9f
fmu-v5: Add support for ICM-42688-P
3 years ago
Matthias Grob
7cd57b4415
FlightTaskOrbit: alert user about exceeded radius (mavlink_log)
3 years ago
Matthias Grob
3e8d2fea94
FlightTaskOrbit: alert user about exceeded radius (events)
3 years ago
Matthias Grob
8ad44ee128
FlightModeManager: remove needless space at the end of invalid task error string
3 years ago
Matthias Grob
9bdde98a68
FlightModeManager: refactor flight task switch result condition for vehicle commands
3 years ago
Matthias Grob
ffaef906c4
FlightModeManager: don't ack with result failed when parameters are invalid
...
Command denied is defined as "supported but has invalid parameters"
which matches the case.
3 years ago
Matthias Grob
fc0be6c4fc
FlightModeManager: switch to failsafe task if orbit is rejected
3 years ago
RomanBapst
18074dec5a
simulator: fix conversion from hPa to Pa
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
Daniel Agar
8a552fac78
uavcannode: publish RelPosHeading (from sensor_gnss_relative)
3 years ago
Daniel Agar
84e796c385
drives/gps: add new sensor_gnsss_relative msg
...
- for ublox this corresponds to NAV_RELPOSNED
3 years ago
Daniel Agar
dfe13e16e8
boards: px4_fmu-v2_multicopter disable distance_sensor/tfmini to save flash
3 years ago
Daniel Agar
67920f089b
boards: px4_fmu-v5x_rtps disable unused systemcmds and examples to save flash
3 years ago
Matthias Grob
c7f114a26a
FlightTaskOrbit: increase radius limit
3 years ago
Matthias Grob
d0794c1189
FlightTaskOrbit: don't start Orbit if radius is not in range
3 years ago
Daniel Agar
0595efbd9b
sensors/vehicle_magnetometer: publish sensors_status_mag and other minor updates to stay in sync with air data
3 years ago
Daniel Agar
0c31f63896
sensors: add baro calibration and cleanup
...
- sensor_baro.msg use SI (pressure in Pascals)
- update all barometer drivers to publish directly and remove PX4Barometer helper
- introduce baro cal (offset) mainly as a mechanism to adjust
relative priority
- commander: add simple baro cal that sets baro offsets to align with
GPS altitude (if available)
- create new sensors_status.msg to generalize sensor reporting
3 years ago
Daniel Agar
5800c417c8
boards: px4_fmu-v2_rover disable unused drivers to save flash
3 years ago
Daniel Agar
01eb27c703
Jenkinsfile-compile: skip px4_sitl_rtps for now
3 years ago
Daniel Agar
eb666e94a4
bords: omnibus_f4sd move ekf2 from default to new ekf2 board variant
...
- temporary solution to flash overflow
3 years ago
Daniel Agar
bc26b73c07
px4io: only publish valid input_rc
3 years ago
Daniel Agar
3d08e031d2
rc_update: improve manual_switches simple protections
...
- require back to back matching switch decode to match within 1 second
- clear any previous manual switches if RC is unstable
3 years ago
Daniel Agar
875a2cc423
commander: remove loop counters and update UI LED control to use monotonic time
3 years ago
Daniel Agar
879622547c
commander: only process one vehicle_command/action_request per cycle
...
- things like arming requests can be dependent on current nav state
that might requested by a previous command, but the state machine
transition will only happen after command processing
3 years ago
Daniel Agar
e528eb5dc4
commander: fix status flags usage (condition_global_position_valid->global_position_valid)
...
- broken due to the merge timing of https://github.com/PX4/PX4-Autopilot/pull/19378 and https://github.com/PX4/PX4-Autopilot/pull/19351
3 years ago