Daniel Agar
67437396f1
mpu6000: add USER_CTRL I2C_MST_EN bit to checked registers
3 years ago
Daniel Agar
8fbb241c2e
mpu6000: add gyro/accel self test bits to checked registers
3 years ago
Daniel Agar
bffcdd6fad
boards: modalai_fc-v2 fix bootloader board type
3 years ago
Matthias Grob
f55590ce78
FlightTaskOrbit: remove duplicate newlines
3 years ago
Matthias Grob
6cea707330
FlightTaskOrbit: increase acceptance radius from 1 to 2m
...
to avoid reaproaching when tracking is not perfect while
acc/deccelerating by stick.
3 years ago
Matthias Grob
eda9dce033
FlightTaskOrbit: fix direction change via MAVLink command
3 years ago
Thomas Debrunner
d450afead6
FlightTaskOrbit: Direct orbit approach with slowdown at intersection point
3 years ago
Thomas Debrunner
0d0b87e193
Update src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
...
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
3 years ago
Thomas Debrunner
9bd46be124
Orbit: Switch to PositionSmoothing library.
...
This also fixes the bug with altitude not follows and smoothes orbit approach trajectory
3 years ago
Vatsal Asitkumar Joshi
ea1ae73526
Support for Raspberry PI RP2040 MCU ( #18083 )
3 years ago
Daniel Agar
8f6fd5f37b
sensors/vehicle_angular_velocity: gyro RPM dynamic notch filter handle negative RPM
...
- some UAVCAN ESCs report negative RPM for reverse rotation
- lower hard coded safety limit RPM limit to 10 Hz (600 RPM)
- avoid disabling notch filters that weren't configured
3 years ago
Peter van der Perk
c6f249f7f1
Kconfig merge_config only set to 'n' when BOOL
...
Run make updateconfig to fix delta's of derived configs
3 years ago
Daniel Agar
fec0d6c5ed
ekf2: change indication further reduce data precision
3 years ago
bresch
1317b1a6e1
[AUTO COMMIT] update change indication
3 years ago
bresch
9e54c6d1aa
ekf2: move generic functions to control.cpp
...
these functions aren't specific to GPS fusion
3 years ago
bresch
e90734881b
ekf2_test: add more GPS fusion control tests
3 years ago
bresch
8aae39e82a
ekf2: move GPS control logic to separate source file
3 years ago
bresch
689ab12845
ekf2: refactor gps vel/pos fusion control logic
3 years ago
bresch
9afc390552
ekf2: move gps yaw reset in starting function
3 years ago
Daniel Agar
1461eb0e32
logger: increase optimization to ${MAX_CUSTOM_OPT_LEVEL}
...
- ${MAX_CUSTOM_OPT_LEVEL} is -O2 on boards that aren't flash constrained
3 years ago
Thomas Debrunner
32be88404a
commander: Only run estimator navigation checks when armed
3 years ago
PX4 BuildBot
7006b0aee9
Update submodule jMAVSim to latest Thu Oct 28 12:38:55 UTC 2021
...
- jMAVSim in PX4/Firmware (c9b89ee869
): 0a5a8c6d9d
- jMAVSim current upstream: b23dc53d55
- Changes: 0a5a8c6d9d...b23dc53d55
b23dc53 2021-10-08 Ilya Petrov - Use low resolution texture also on Windows
3 years ago
Harrison MG
c9b89ee869
fixed ulanding_radar autostart command
3 years ago
Daniel Agar
be5c5856e7
cmake: px4_add_module always add module to PX4_MODULE_PATHS so that parameters aren't pruned
3 years ago
Peter van der Perk
51abb804ac
UAVCANv1 Fix NodeClient header and Kconfig merge logic
3 years ago
Beat Küng
0decdb1c7b
github action: run ./Tools/generate_board_targets_json.py in container
...
As it requires kconfiglib
3 years ago
Silvan Fuhrer
e715e6c245
Fixed-wing position control: set yaw_sp to yaw_current instead of nav_bearing when not controlled
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
b53808d11b
fixed-wing: set yaw_sp to yaw_current instead of 0 when not controlled
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
da4d6dc657
L1: increase the max allowed tangential velocity in the opposite direction to 2m/s
...
There is logic in L1 that prevents the vehicle from trying to achieve
an impossible loiter entry (e.g. due to wind). That check makes the
vehicle track the loiter center if the tangential velocity is in the wrong
direction while loitering. After the vehicle flies through the center, it can
then turn the other way around to join the loiter.
This check is though too sensitive if it purely checks for the wrong direction,
and it can end in delayed loiter entry for no reason.
This commit increases the threshold to 2m/s of tangential velocity
in the wrong direction to trigger the check.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
RomanBapst
eee5f501cd
navigator: fix flyaway when altitude change is commanded without a valid
...
triplet
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
RomanBapst
bf6a47ba6a
navigator: cleanup of set_loiter_item
...
Unwraps the set_loiter_item() to solve the issue where the altitdue setpoint
in a MC takeoff wasn't correctly used.
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
Silvan Fuhrer
cb78ba34d7
Mission: for tangential loiter exit, set current position setpoint typ to position
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
4b21c0c49e
Fw Pos C: always reset pos_sp type from LOITER to POSITION if far away
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
RomanBapst
d678e792cc
mission_block: don't require an exiting heading when loitering if the next
...
waypoint is within the loiter radius of the current waypoint
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
Michael Schaeuble
5e1f62e9d0
Add option to warn the pilot in case of strong magnetic interference but still allow arming.
...
This PR changes the COM_ARM_MAG_STR parameter to accept values. If the parameter is set to 2, the check is performed and a warning is logged but the vehicle can still arm.
3 years ago
ponomarevda
2b6bd452df
fix hardpoint hardfault by checking argc before std::strcmp
3 years ago
Beat Küng
de488f0f40
omnibus/f4sd: add topic listener & change timer order
...
So it matches the usage in the channel definition order
3 years ago
Beat Küng
8476875b4d
Kconfig: add missing serial ports
3 years ago
Beat Küng
48344c6e2a
state_machine_helper: add missing 'break' (no behavior change)
3 years ago
Daniel Agar
6d0c6bb6ce
lib/world_magnetic_model: cmake remove helper target BYPRODUCTS
...
- otherwise ninja will try to rebuild these
3 years ago
dagar
a2801bab80
[AUTO COMMIT] update change indication
3 years ago
Daniel Agar
88a979cf1d
lib/world_magnetic_model: add cmake helpers for updating tables
...
- `world_magnetic_model_update` to fetch latest geo_magnetic_tables.hpp
- `world_magnetic_model_tests_update` to fetch latest test_geo_lookup.cpp
3 years ago
Peter van der Perk
24ab430466
Tools/generate_board_targets_json.py: fix json board targets regression from #17100
3 years ago
bresch
d0f89f7fff
ekf2: refactor wind reset functions
3 years ago
bresch
456dfcb4b9
ekf2: update getter for true airspeed
3 years ago
bresch
3927c183de
ekf2_test: adjust airspeed unit test
...
an airpseed of > 2m/s is required to start the fusion (set by param)
fw mode is also required
Given the larger estimated windspeed after those changes, the change of
static pressure is larger and the height estimate takes more time to
reach the final value
3 years ago
bresch
6e8f0e92ff
ekf2: refactor airspeed fusion control logic
3 years ago
bresch
8873e92c7c
ekf: force fallback to baro if GPS is stopped while in GPS height mode
...
Otherwise, no height aiding source is used
3 years ago
bresch
0a140ec59a
ekf2_test: add GPS height to baro fallback
3 years ago
bresch
f4c21cedd9
ekf2_test: use motion_planning for dynamic yaw emergency test
3 years ago