Matthias Grob
e047972cde
Add new C++ PID library
2024-11-26 16:13:48 +01:00
Daniel Agar
e194a52907
ekf2: derivation.py remove sideslip small angle approximation
2024-11-25 08:53:57 +01:00
bresch
14fe6c2167
ekf2: resetHeightTo -> resetAltitudeTo
...
The vertical position state is now an altitude, not just a local height
2024-11-22 15:13:47 +01:00
bresch
93c690f133
ekf2: do not inline getPosition
2024-11-22 15:13:47 +01:00
bresch
a224d38e52
lla: move implementation to cpp file
...
This reduces flash usage
2024-11-22 15:13:47 +01:00
bresch
aeb182a8ed
ekf2: rename resetAltitudeTo to initialiseAltitudeTo
...
This is to better show that the altitude is also used to set the origin.
2024-11-22 15:13:47 +01:00
bresch
30d98885b7
update change indicator
2024-11-22 15:13:47 +01:00
bresch
814a2706f5
ekf2: compensate for coriolis and transport rate accelerations
2024-11-22 15:13:47 +01:00
bresch
842212df6c
ekf2: update earth rate also without GNSS
2024-11-22 15:13:47 +01:00
bresch
6becccb217
update change indicator
2024-11-22 15:13:47 +01:00
bresch
a492457322
ekf2-derivation: build state struct based on type
2024-11-22 15:13:47 +01:00
bresch
13c5bd4412
ekf-flow: do not reset position when resetting to flow
...
Flow only provides velocity information
2024-11-22 15:13:47 +01:00
bresch
b19a6ee3b5
ekf2: store position state as lat/lon/alt
...
The position error state is still defined in a body-fixed NED frame but the
position state itself is latitude-longitude-altitude.
2024-11-22 15:13:47 +01:00
Silvan Fuhrer
2f65644aeb
mixer module: remove unused functions
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-11-21 11:57:50 -05:00
Julian Oes
746e26bf9e
listener: clear screen on multiple output
...
I suggest to clear the screen when using the listener with -n.
This way the updates don't just scroll by which isn't legible but
instead stay in place and update, similar to the top command.
2024-11-21 11:56:23 -05:00
Beat Küng
8ccd43dc1b
refactor commander: remove unused argument is_armed in Report class
2024-11-21 14:16:22 +01:00
Beat Küng
be300b767d
commander: ensure health report is always sent out before failsafe notificaation
...
As the failsafe message can reference the health report, the health report
needs to be sent out first. This is generally the case, except there is a
rate limiter set to 2 seconds. So if the report changes quickly, it is
sent out delayed (potentially after the failsafe report).
2024-11-21 14:16:22 +01:00
Matthias Grob
044d13635d
Commander: Change user facing messages to "Remote ID" instead of "OpenDroneID"
...
Apprently users reference the system like that and OpenDroneID
might already be too technical, less understandable to some.
2024-11-21 11:38:23 +01:00
Claudio Chies
db13b9cb50
CollisionPrevention: Added Case where velocity gets reduced to zero if we are closer to the obstacle than the minimal distance
2024-11-21 11:36:03 +01:00
Matthias Grob
bbc59dcde7
CollisionPrevention: prevent illegal array index with malicious obstacle_dsitance message
2024-11-21 11:36:03 +01:00
Matthias Grob
1410325c62
CollisionPrevention: follow parameter variable naming convention
2024-11-21 11:36:03 +01:00
Matthias Grob
30eec33e09
CollisionPrevention: slightly simplify _transformSetpoint()
2024-11-21 11:36:03 +01:00
Matthias Grob
399a8ad5b7
CollisionPrevention: fix early return and use unified bin count + array size 72
2024-11-21 11:36:03 +01:00
Claudio Chies
f41a08aea8
CollisionPrevention: changed to resolution of 5 degrees, and adapted tests to reflect the change
...
rewrite of obstacle_distance merging methods, and fix of various issues
2024-11-21 11:36:03 +01:00
Matthias Grob
2ef2911c36
Remove FlightTaskManualPositionSmoothVel
...
The default implementation for multicopter Position mode is FlightTaskManualAcceleration.
The last missing piece was support for CollisionPrevention in this implementation.
2024-11-21 11:36:03 +01:00
Matthias Grob
b74dd57e7c
CollisionPrevention: restore rate limited warning for no data, minor cleanup
2024-11-21 11:36:03 +01:00
Matthias Grob
4c8c5fbb37
CollisionPrevention: only save quaternion and yaw on attitude update
2024-11-21 11:36:03 +01:00
Matthias Grob
001d722abd
CollisionPrevention: move main functions to the top in the order they get called
2024-11-21 11:36:03 +01:00
Matthias Grob
1fa76ac71d
CollisionPrevention: reduce internal array size, zero initialize what's possible
2024-11-21 11:36:03 +01:00
Matthias Grob
c879ca531d
CollisionPrevention: Clarify bin size definitions, move wrap functions into class
2024-11-21 11:36:03 +01:00
Matthias Grob
84dbbb4351
CollisionPrevention: clarify mode switch command to hold/loiter
2024-11-21 11:36:03 +01:00
Matthias Grob
50ee5bd1b4
CollisionPrevention: Sanitize input of _getObstacleDistance()
...
It could cause array out of bound problems before.
2024-11-21 11:36:03 +01:00
Matthias Grob
eb06ace8e4
CollisionPrevention: fix matrix namespace
...
don't use it in header such that clients are free to redefine the names
but include it in cpp files and make use of that.
2024-11-21 11:36:03 +01:00
Matthias Grob
079f3ca67c
StickAccelerationXY: Simplify collision prevention call
2024-11-21 11:36:03 +01:00
Claudio Chies
0cd6a553b9
CollisionPrevention: rewrite for Acceleration based manual flight mode
2024-11-21 11:36:03 +01:00
PX4 BuildBot
2f8460da91
Update submodule mavlink to latest Wed Nov 20 13:16:31 UTC 2024
...
- mavlink in PX4/Firmware (7e594e898b2281e7d3f6ef4057f1add829643058): e221d46d46
- mavlink current upstream: 0e420102db
- Changes: e221d46d46...0e420102db
0e420102 2024-11-20 David Sastre - development.xml: change OPERATOR_CONTROL id to 32100: (#2174 )
01e0cc2f 2024-11-14 Hamish Willee - SMART_BATTERY_INFO - revert and renumber BATTERY_INFO (#2173 )
2024-11-20 22:33:21 -05:00
Julian Oes
7c507f136c
bmp280: disable device filter
...
It looks like the BMP280 was heavily filtered, leading to a step
response of around 3 seconds. Comparing it to baro logs of BMP388 and
MS5611, it looks very slow.
I therefore suggest to disable the on device IIR filter which makes the
log data look more like the other baros.
2024-11-20 13:06:07 -05:00
Matthias Grob
3f83a8fa7a
mavlink: remove reference to COLLISION message I had missed
...
Should have been part of
b5d18c613181f0935890aef91cbc1da4d06e00c3
2024-11-20 13:02:59 -05:00
Marco Hauswirth
a191e1e14e
always allow disabling uncalibrated baro ( #23782 )
...
* always set baro calibration id and prio param
* change to ParametersSave
* only save baro calib param if not calibrated
2024-11-20 14:05:46 +01:00
Matthias Grob
53d920ea33
batteryCheck: fix enabling circuit breaker still causing battery failsafes
...
Failing checks caused failsafe flags to stay true when enabling the circuit breaker but not rebooting.
Resetting the failsafe flags state when the circuit breaker is set resolves this issue.
2024-11-20 13:25:20 +01:00
somebody-once-told-me
3943025f32
Centralize yaw margin ( #23982 )
2024-11-20 09:52:36 +01:00
jmackay2
5b66a1eff1
Fix generate component regex escape sequence
2024-11-19 09:31:11 +01:00
S.W Develish
b955588b26
bugfix: NMEA GPS update rate was 0 since num_bytes_read was not being… ( #23957 )
...
* bugfix: NMEA GPS update rate was 0 since num_bytes_read was not being updated
* Update gps.cpp
style fix
* make format
---------
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com>
2024-11-17 16:16:50 -09:00
PX4 BuildBot
a85a9eccf7
boards: update all NuttX defconfigs
2024-11-15 21:14:12 -05:00
PX4 BuildBot
11fe5580cb
Update submodule libevents to latest Sat Nov 16 00:40:14 UTC 2024
...
- libevents in PX4/Firmware (1f29c55e82fa22b95313bb0d10b63918718f9c0c): 7c1720749d
- libevents current upstream: 9ef591c447
- Changes: 7c1720749d...9ef591c447
9ef591c 2024-10-14 Beat Küng - pylint: increase max-positional-arguments from 5 to 7
7901a0c 2024-10-14 Beat Küng - pylint: update config (pylint version 14.2.1)
edc472e 2024-10-11 Beat Küng - refactor: change libevents to an INTERFACE library
2024-11-15 21:12:18 -05:00
Silvan Fuhrer
08155d20f8
estimatorCheck: have low position warning as health component failure to fix reporting
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-11-15 15:32:53 -05:00
Silvan Fuhrer
3093c593a5
Commander: put action for low position estimation accuracy into parameter
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-11-15 15:32:53 -05:00
Alexander Lerach
b6daf83088
Un-inlined get_table_data
2024-11-15 12:01:06 -05:00
Alexander Lerach
6d0b7f7ed1
Un-inlined rotate_3
2024-11-15 12:01:06 -05:00
Patrick José Pereira
bc8f98c9ad
drivers/magnetometer/ak09916: Add support to AK09915 ( #23909 )
...
The only difference between the ak09915 and ak09916 is the communication method
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-11-14 11:32:51 -09:00