Beat Küng
3ac8fdbe29
px4/fmu-v5/stackcheck: disable module to reduce flash
3 years ago
Beat Küng
689ceefada
px4/fmu-v2/fixedwing: disable module to reduce flash
3 years ago
Beat Küng
fc062ffad4
omnibus/f4sd/ekf2: disable module to reduce flash
3 years ago
Konrad
0e464a91be
Remove contradicting geofence parameter description
...
The flight termination action on geofence violation is described as only trigger, when the corresponding circuit breaker is not disabled. However, the description of the circuit breaker states, that the geofence action is not depedning on this circuit breaker. The implementation follows the description of the circuit breaker. Hence the GF_ACTION description is adapted.
3 years ago
Beat Küng
6a35c9f5fe
px4/fmu-v5/protected.px4board: disable module to reduce flash
3 years ago
Beat Küng
639c5c741e
px4/fmu-v2/multicopter.px4board: disable module to reduce flash
3 years ago
Beat Küng
abb37a3d27
holybro/kakutef7: disable module to reduce flash
3 years ago
Beat Küng
5d114329d7
cubepilot/cubeorange/test.px4board: disable module to reduce flash
3 years ago
Beat Küng
adc6472480
cuav/x7pro/test.px4board: disable module to reduce flash
3 years ago
Beat Küng
5cdb6fbd8e
control_allocator: add helicopter mixer
...
Same logic as the existing mixer.
Untested.
3 years ago
Beat Küng
32402f31df
control_allocator: increase max num motors to 12
3 years ago
Beat Küng
9f5c5591a2
ActuatorEffectivenessRotors: fix motor count check
...
Check during init to avoid out-of-bound access.
3 years ago
Daniel Agar
15296ab453
cmake: NuttX check that CONFIG_ARCH_BOARD_CUSTOM_DIR is in PX4_BOARD_DIR
3 years ago
Silvan Fuhrer
5d6c8c986d
Commander: high wind speed handling updates
...
- add logic for detecting high wind speed in Commander,
and handle it toghether with wind speed warning
- trigger and enforce RTL if COM_WIND_MAX is breached
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
1aad82f87d
Commander: add max flight time RTL
...
Adds COM_FLT_TIME_MAX param and logic in Commander to enforce RTL when
flight time is above this value. User can only override to LAND mode,
but not proceed flight beyond that.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Daniel Agar
2e1cdc9e75
boards: modalai_fc-v1 enable dshot on all outputs
3 years ago
Igor Mišić
ce4e9f6690
uavcan: use timer 6 by default on stm32f7
3 years ago
achim
9c12c2a152
boards: matek h743 update unified target
3 years ago
achim
76cf4332d9
boards: matek_h743-mini sync all Matek H743 boards
3 years ago
Thomas Stastny
90789be68f
fw pos ctrl: turn back to takeoff point with npfg
3 years ago
Thomas Stastny
3ef5f433b5
fw pos ctrl: add missing guidance control interval setting to control_manual_position()
3 years ago
Thomas Stastny
1ab9fb22ee
fw pos ctrl: fix state switching logic for takeoff and landing
3 years ago
Matthias Grob
b3776134b8
Commander: ensure diconnected battery is cleared from bit field
3 years ago
Beat Küng
113982e3e7
commander: fix incorrect return in set_link_loss_nav_state()
...
If both local position and altitude were not valid, then both RC loss and
datalink loss would not trigger any failsafe at all, independently from
the configured action.
3 years ago
achim
a71cf21c28
boards: matek_h743-slim_default try to fit as many modules of all categories as possible into the flash.
3 years ago
achim
87ebf17ab0
boards: matek h743 enable 12 pwm outs on slim and wing V1.0 and V1.5
3 years ago
achim
fc887a23af
boards: matek h743 mini
3 years ago
Silvan Fuhrer
20400cbb74
ROMFS: reduce FW_SPOILERS_LND to 0.4 to leave ailerons enough control authority
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Matthias Grob
843c814fb8
MulticopterPositionControl: allow offboard takeoff also when not landed
3 years ago
Matthias Grob
fbc109436f
MultiCopterRateControl: refactor setpoint naming
3 years ago
Matthias Grob
1211a457d7
MulticopterPositionControl: Overwrite vertical acceleration during takeoff rampup only
3 years ago
Matthias Grob
d9a2fe5226
Revert "MCPosControl: fix invalid setpoint race condition"
...
This reverts commit e7a2c1d88e
.
3 years ago
achim
1f3a78b535
boards: mro ctrl zero classic enable all pwm outs
...
* enable all available pwm outs, cause io timer 15 is supported now
3 years ago
mcsauder
2a66be4899
Colocate struct stateSample with other instances of *Sample structs.
3 years ago
mcsauder
a0d9687409
Add c++ style initializers where missing in EKF/common.cpp, standardize tab/space indentation, align comments and format whitespace.
3 years ago
bresch
cab477d715
ekf2: optimize KHP computation
...
Calculating K(HP) takes less operations than (KH)P because K and H are
vectors.
Without considering the sparsity optimization:
- KH (24*24 operations) is then a 24x24 matrix an it takes
24^3 operations to multiply it with P. Total: 14400 op
- HP (24*(24+24-1) operations) is a row vector
and it takes 24 operations to left-multiply it by K. Total:1152 op
3 years ago
achim
3233272cbb
boards: diatone_mamba-f405-mk2_default fix /dev/ttyS2 name
3 years ago
bresch
c890e8bf99
WindEstimator: fix state covariance prediction
...
All the states are stationary so the discrete-time process noise Qk can
be directly added to the state covariance matrix P
3 years ago
Konrad
14a2fdfe55
Removed l1 control slope angle limitation. The maximal approach angle to the line was set to 45°, no the approach angle can be up to 90°.
3 years ago
achim
2bee8bfd45
boards: diatone_mamba-f405-mk2_default
...
- change modules still fit to flash, there is no board variant with sd slot
3 years ago
achim
bf8d759d3d
boards: matek h743 slim support v1 and v1.5 IMU variants
...
- remove temp compensation to still fit into flash
3 years ago
Matthias Grob
46fdc28cf8
MulticopterPositionControl: fix typo "descen{d/t}"
3 years ago
Daniel Agar
7f1bb556e9
Update src/modules/mc_pos_control/MulticopterPositionControl.cpp
...
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
3 years ago
Matthias Grob
3fb4889ab9
MultcopterPositionControl: fix executing a zero setpoint for 200ms
...
This is a combination of the originally introduced delay:
06c10f61c1
then the emergency failsafe being changed to not just land,
position control being rescheduled to not overwrite every setpoint in:
e502214429576ce68ac3fee9d2db19112f4604b9
and it being fixed by overwriting the setpoint but not removing
the long obsolete hystersis here:
114e85d260
3 years ago
Matthias Grob
cb484c5ac7
PositionControl: publish NAN jerk
...
because the controller does not read or write jerk
3 years ago
Matthias Grob
5055fec796
MulticoperPositionControl: explicitly overwrite setpoint timestamp when setpoint is reset
3 years ago
Matthias Grob
424fd8b304
MulticoperPositionControl: remove time_stamp_now alias for timestamp_sample of the local position
...
to make it explicit what is used is not a fresh hrt_absolute_time() call
by this module.
3 years ago
Matthias Grob
8180f931de
MulticopterPositionControl: rename local_pos -> vehicle_local_position
3 years ago
Matthias Grob
4ffe796b4d
MulticopterPositionControl: clarify previous position control naming
3 years ago
Daniel Agar
ad6592f669
mc_pos_control: require current trajectory setpoint to run controller
3 years ago