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
Silvan Fuhrer
138772386f
FW Position control: explicitly set spoiler/flaps in every control mode
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
089673ff35
only allow positive spoiler and flap controls
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
64ff31aa08
VTOL: add flap and spoiler support
...
- including slew rate limiting
- adds option to set spoiler setting during the Land phase (hover)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
4b8f93de5c
FW: rework spoiler/flap control logic
...
- remove separate flaperon controls input to mixer instead enable spoiler support
- add slew rate limiting on both flap and spoiler controls
- add spoiler configuration for Landing and Descend
- add trimming from spoiler deflection
- FW Attitude control: remove FW_FLAPS_SCL param -->
The flap settings for takeoff and landing are now specified relative to full range.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
21a2892f47
use actuator_controls[8] for collective tilt for tiltrotor VTOL, instead of [4]
...
[4] is reserved for Flaps, so also having the tilt on it was preventing us from
using flaps on tiltrotors, and other ripple effects.
By using [8] the tilt is separated from all other channels - it requires to increase the size of
actuator_controls by 1 to 9.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Peter van der Perk
7e6aa28106
Added LTO targets for CI
3 years ago
Peter van der Perk
108c98a691
Added experimental LTO kconfig option
3 years ago
Beat Küng
8da02e2233
dshot: avoid using pwm failsafe params when dynamic mixing is enabled
3 years ago
Daniel Agar
7784cd1f40
boards: mro_ctrl-zero-classic updates to sync with ctrl-zero-h7-oem
3 years ago
Daniel Agar
6fc857772d
ekf2: remove unnecessary const references
3 years ago
ShiauweiZhao
4a6e958100
add tattu_can smart battery kconfig
3 years ago
Vincent Poon
080ba4458a
holybro/kakuteh7: change Product ID to show board name properly in QGC
...
https://github.com/mavlink/qgroundcontrol/pull/10270
3 years ago
Beat Küng
d94ec84e46
logged_topics: remove unused vehicle_angular_acceleration_setpoint, extend add_high_rate_topics
3 years ago
Beat Küng
4338976247
ActuatorEffectivenessRotors: add missing getEffectivenessMatrix
...
Fixes MOTORS_6DOF
3 years ago
Beat Küng
efdf5b8fce
vehicle_{thrust,torque}_setpoint.msg: fix comment
3 years ago
Beat Küng
a9129ea003
logger watchdog: also check main thread
...
There was a time window where if a task with higher priority than the main
logger thread would busy-loop, it would block both logging threads and the
watchdog would not trigger if the writer was in idle state.
This can happen for fast SD card writes.
3 years ago
Beat Küng
9e0a8050a9
fix dshot: remove setAllFailsafeValues
...
Fixes a regression from c1e5e666f0
,
where with static mixers the dshot outputs would go to max instead of 0
in a failsafe case.
3 years ago
Daniel Agar
a15432fac1
drivers/rc_input: RC_INPUT_PROTO parameter minimal implementation ( #19539 )
...
Co-authored-by: chris1seto <chris12892@gmail.com>
Co-authored-by: chris1seto <chris12892@gmail.com>
3 years ago
Daniel Agar
fc7e979d84
boards: px4_fmu-v5_uavcanv0periph disable modules to save flash
3 years ago
Daniel Agar
7ab9b0c6e2
boards: cubepilot_cubeorange_test disable examples/fake_gps to save flash
3 years ago
Daniel Agar
f390f52058
drivers/differential_pressure: remove lib/drivers/airspeed dependency and cleanup
...
- split ms4525_airspeed into separate ms4515 and ms4525 drivers
3 years ago
Daniel Agar
d1d15a6f6d
differential pressure remove filters from drivers and average in sensors/airspeed
3 years ago
Daniel Agar
258f558fea
apply differential pressure calibration (SENS_DPRES_OFF) centrally
...
- remove drv_airspeed.h and ioctls
3 years ago
JaeyoungLim
c6ab4c466e
Separate takeoff and landing to individual fixed wing states for FW pos control ( #19495 )
3 years ago
Daniel Agar
d6210d1725
boards: px4_fmu-v6x_default disable common barometers to save flash
3 years ago
Daniel Agar
3d7a6b4021
mc_pos_control: silence invalid setpoint warning when disarmed
3 years ago
Daniel Agar
b2bcd2631a
boards/diatone/mamba-f405-mk2: disable modules to save flash
3 years ago
Daniel Agar
c8d2d83e55
boards: px4_fmu-v2 restore systemcmds/ver needed for board init
3 years ago
Daniel Agar
7bb789cb23
boards: update bootloaders to latest
3 years ago
Daniel Agar
d8a57e15b0
boards/mro/ctrl-zero-classic: fix code style
3 years ago
Daniel Agar
248f42f9ec
boards/diatone/mamba-f405-mk2: fix code style
3 years ago
achim
adacdad32d
boards: add new Diatone Mamba F405 mk2
3 years ago
achim
1bf16cb4df
boards: add new mRo Control Zero Classic
3 years ago
Daniel Agar
3d590af115
mc_att_control: only apply quat reset if estimate is newer than setpoint
3 years ago
Daniel Agar
23c89429ac
systemcmds/param: set-default should mark parameter active to avoid race conditions
3 years ago
bresch
e32a484906
[AUTO COMMIT] update change indication
3 years ago
bresch
db0274e19b
ekf: robustify bad_acc_vertical check
...
when the vertical pos or vel innov ratio is above the threshold, the
other one needs to be significant too and not just positive to trigger
the failure
3 years ago
Daniel Agar
980f696023
commander: mag calibration tolerate fit failure if sensor disabled
3 years ago
Daniel Agar
89374b2e1d
mavlink: delete Mavlink instance if early startup fails
3 years ago
Alex Mikhalev
45dff7f71a
commander: Add prearm check for flight termination
3 years ago
Daniel Agar
6359c8c008
mavlink: shell expand locking ( #19308 )
...
- on some H7 boards (cuav x7pro tested) there's an occasional hard fault when starting the mavlink shell that is no longer reproducible with the slightly expanded locking
- this is likely just changing the timing (holding the sched lock for longer), but this should be harmless for now until we can identify the root cause
3 years ago
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