Thomas Stastny
594a6d6e80
fw pos ctrl: some incremental clean up of the class
...
- documentation of units, params, returns, and descriptions for variables and methods
- rename ambiguous or erroneous state variables
- remove unused or unecessary input arguments to functions
- remove ugly header white space
3 years ago
Silvan Fuhrer
9863c24b40
navigator_main: DO_REPOSITION: only trigger reposition setpoint update if vehicle is armed
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Thomas Stastny
cbf0fe8803
fw pos ctrl: centralize parameter and state resets
3 years ago
Thomas Stastny
ccfbbb553a
fw pos ctrl: only manipulate heading hold yaw in manual position control mode
3 years ago
Thomas Stastny
67d8dd359d
fw pos ctrl: calculate control interval once
...
- Use the same time interval for all position control logic (including TECS)
- Sync naming in control methods
- Remove some unused input arguments
3 years ago
Matthias Grob
f5e7b1e6a8
Commander: switch battery bitflied to dedicated datatype
3 years ago
Matthias Grob
9b2166de72
manual_control_params: configure arm gesture doesn't require reboot
...
I added wrong documentation here.
3 years ago
Matthias Grob
bd50a52c9c
Commander: fix startup sound interrupted by safety button initialization
...
The safetyButtonHandler() reports that the safety statatus
changed on the first loop iteration when safety is disabled which makes
sense to inform the system that safety is off but the tune for the user
should not be played because it interrupts the startup tune.
3 years ago
Matthias Grob
71103e6114
Safety: keep initialized constant flags when safety disabled
3 years ago
Matthias Grob
44c4b8fa85
Style refactoring related to safety button
3 years ago
Daniel Agar
ce70b6f4ac
sensors/vehicle_angular_velocity: add IMU_GYRO_RATEMAX constraints
3 years ago
Daniel Agar
01f0992f49
sensors/vehicle_imu: don't bother checking IMU_GYRO_RATEMAX
3 years ago
Matthias Grob
5df266cedc
MulticopterRateControl: use constructor to copy thrust setpoint array
3 years ago
bresch
4f1091792f
ekf2 preflight: only check innovation of active height sources
3 years ago
Daniel Agar
cb2738e187
Update submodule GPSDrivers to latest Sat Jun 4 12:38:49 UTC 2022 ( #19766 )
...
- GPSDrivers in PX4/Firmware (6e77a084cd43830c8b13018b7fd5470da9bc4ff5): 181fae1a4b
- GPSDrivers current upstream: 016c37cd1f
- Changes: 181fae1a4b...016c37cd1f
016c37c 2022-06-01 Julian Oes - sbf: fix overrun on invalid length
3 years ago
PX4BuildBot
a247b42907
[AUTO COMMIT] update change indication
3 years ago
PX4 BuildBot
e86a74321e
Update world_magnetic_model to latest Sat Jun 4 11:14:10 UTC 2022
3 years ago
Beat Küng
da55256f2f
test_multicopter_failure_injection: remove 'Reject before arming' test
...
Not sure why injection should fail before arming.
3 years ago
Beat Küng
d1142008f6
FailureDetector: check if ESCs have current
...
And increase the timeout to 300ms, as some ESCs only update with 10Hz.
3 years ago
Beat Küng
8bf18e31be
SITL: enable failure command (SYS_FAILURE_EN=1)
3 years ago
Beat Küng
56faaae959
failure: fix invalid memory access
...
failure_units[unit].key was incorrect
3 years ago
Beat Küng
0ab61aee2e
control_allocator: show motor axis for MC (as advanced)
3 years ago
Beat Küng
99a329f937
mc_rate_control: pass through 3D thrust
3 years ago
Beat Küng
82eb71d70b
failure_detector: allow disabling attitude failure (as already documented)
3 years ago
Jaeyoung-Lim
bf68d3433e
Add omnicopter SITL model
...
F
3 years ago
bresch
e2955bdd61
terrain est: clear innovation/var/test ration when aiding stops
3 years ago
Matthias Grob
fad3d46907
Use signNoZero() where possible
3 years ago
abarcis
4fc2640ee3
vehicle_command.msg: unneeded comment closings removed ( #19759 )
...
They cause problems with building px4_msgs in ROS2 Humble Hawksbill and removing them fixes the issue.
Co-authored-by: Agata Barcis <agata.barcis@tii.ae>
3 years ago
BA-ED
b9be783b69
dshot: corrected DShot motor spin direction command
...
Some ESCs don't store DShot_cmd_spin_direction_reversed persistently
3 years ago
Thomas Watson
d390e6d46d
boards/mro/pixracerpro: fix voltage/current monitoring
...
This corrects the board definition to use the proper polarity
for the brick power valid signal, thus allowing the board to
detect the battery and monitor it properly.
3 years ago
Mark Sauder
c19e74784a
attitude_estimator_q: Run() method refactoring ( #19526 )
...
* Refactor attitude_estimator_q_main.cpp Run() method by breaking apart into separate method calls:
* update_vehicle_local_position()
* update_motion_capture_odometry()
* update_visual_odometry()
* update_magnetometer()
* update_vehicle_attitude()
* update_sensors()
* Rename init_attitude_q()
* Standardize whitespace formatting
* Add remaining c++ style initializers.
3 years ago
Daniel Agar
21b1c933dc
ekf2: EKFGSF_yaw delete unnecessary internal state
3 years ago
Daniel Agar
3889b79342
ekf2: yaw estimator add yaw_composite_valid boolean
3 years ago
Igor Mišić
a218f4bfaf
drivers/px4io: support legacy px4io firmware to enter BL
3 years ago
Igor Mišić
25488da944
px4io: replace safety_off state with safety button event ( #19558 )
...
internal PX4IO safety_off state is removed and replaced with a normal safety button event. From this 'commit' commander is taking care of the PX4IO safety.
3 years ago
Matthias Grob
a9cdfff7a3
FlightModeManager: only execute flight task commands when multicopter
3 years ago
Matthias Grob
96b0304049
PreFlightCheck: disallow arming in land mode
...
after the automatic switch to Hold mode was introduced.
3 years ago
Matthias Grob
83c15fca9f
Commander: switch back to Hold mode after autonomous landing
3 years ago
Matthias Grob
33df8b24f2
Commander: differentiate clearly between to arm and to disarm transition
3 years ago
Matthias Grob
400e1f8214
Commander: only initialize to tablet mode and don't switch back on RC loss
3 years ago
Daniel Agar
002579b3e0
Jenkins: reboot after ostest completes
...
- temporary workaround to ostest apparently leaving the system in a bad state
3 years ago
Daniel Agar
5b6e5a0968
boards: NuttX update all boards to preallocated sem holder list
...
- CONFIG_SEM_PREALLOCHOLDERS=32
- CONFIG_SEM_NNESTPRIO=16 (default)
3 years ago
Beat Küng
0074894637
control_allocator: disable backup schedule with lockstep
...
The backup schedule triggers updates too early and leads to simulator errors:
ERROR [simulator] poll timeout 0, 22
3 years ago
Daniel Agar
132a07f53c
boards: test boards add NuttX ostest and run on Jenkins test rack
3 years ago
Daniel Agar
0420d697e5
update NuttX and apps to latest with sem holder fixes and updated ostest
3 years ago
Daniel Agar
cb8b5ae872
mavlink: MavlinkStatustextHandlerTest ignore Wcast-align
3 years ago
Daniel Agar
d97bb168cf
lib/motion_planning: VelocitySmoothingTest delete set but not used variable
3 years ago
Daniel Agar
095e0f0604
ekf2: sensor_simulator fix enum shadow
3 years ago
PX4 BuildBot
63155b5b01
Update submodule mavlink to latest Sat May 28 00:38:55 UTC 2022
...
- mavlink in PX4/Firmware (56106be4805cb2f70d22ad31b87fbd9774f0d0f3): 99e82cad70
- mavlink current upstream: 0909631552
- Changes: 99e82cad70...0909631552
09096315 2022-05-26 Hamish Willee - Clarify and cross reference home position everywhere (#1836 )
38c1a99f 2022-05-25 Julian Oes - WIND_COV: clarify description and unknown value (#1845 )
3 years ago
David Lechner
995265c95e
vscode: remove terminal settings
...
These terminal settings are a matter of personal preference and should
not be part of the project configuration.
3 years ago