Commit Graph

43618 Commits

Author SHA1 Message Date
PX4 BuildBot 374f256584 Update submodule cyclonedds to latest Mon Mar 25 12:39:30 UTC 2024
- cyclonedds in PX4/Firmware (1797e4b13f): https://github/commit/314887ca403c2fb0a0316add22672102936ed36c
    - cyclonedds current upstream: https://github/commit/b6fe21d5206e0d5195abfb2340e853fa1ae86ddb
    - Changes: https://github/compare/314887ca403c2fb0a0316add22672102936ed36c...b6fe21d5206e0d5195abfb2340e853fa1ae86ddb

    b6fe21d5 2023-08-24 Erik Boasson - dynsub: fix bounded strings
72d6d6d7 2023-08-22 Erik Boasson - Fix ddsi_tran_write_msgfrags_t alignment on stack
19ac0090 2023-08-18 Wade Hunkapiller - Issue #1312: Generated include guards are insufficient
2b65deb9 2023-08-19 Erik Boasson - Reject NaN in uf_int64_unit
71fe82b0 2023-08-11 Erik Boasson - Avoid qsort_r because of older MUSL versions
a6954ca0 2023-06-14 Marcel Jordense - Update raweth to DDS-TSN spec with vlan-tagging
2864be6a 2023-07-27 Erik Boasson - Clean up and move add_addresses_to_addrset
46876ef4 2023-07-27 Erik Boasson - Generalize uf_int64_unit and use it more often
ff972d47 2023-08-14 Erik Boasson - OSS-Fuzz now needs position indepenedent code
7fcd6bef 2023-08-14 Dennis Potman - Fix cdrstream bug for union types (#1800)
d6cdd367 2023-08-10 reicheratwork - Separated idl to c code generator off into own library (#1752)
bde20096 2023-08-07 Dennis Potman - Add CI build for Python language binding and tests
63f702e9 2023-08-08 Michel van den Hoek - add missing DDS_EXPORT in ddsi_sertype.c
3b0f8f8f 2023-08-03 Dennis Potman - Cdrstream fix for extracting key from delimited type
ef2f6e39 2023-08-01 Dennis Potman - Fixes in typebuilder
fe916533 2023-08-03 Dennis Potman - Fix duplicate condition in validate_remote_identity test and add missing copyright headers in security plugin tests
f7688ce7 2023-08-03 Patrick Masselink - Improve Zephyr port in-tree build support
4f6fe9f6 2023-08-03 Patrick Masselink - Add version info to the Zephyr port usage instructions
2bfc386f 2023-07-17 Patrick Masselink - Update Zephyr port to support Zephyr V3.4.0
8638e1fa 2023-08-01 Dennis Potman - Add typelib ifdefs in include files
96eecce2 2023-08-01 Dennis Potman - Export additional typebuilder and cdrstream functions that are used in python binding
e40a2005 2023-07-31 Dennis Potman - Fix unused parameter warning in ddsi_wait_for_type_resolved (in case of a release build with typelib, without type discovery)
a4e00a76 2023-07-26 Dennis Potman - Add ENABLE_TYPELIB build option
23864587 2023-07-31 Dennis Potman - Some minor improvements in cdrstream xcdrv1 key-size calculation
beca5b04 2023-06-07 Dennis Potman - Fix field order in key-only sample serialization
aee37ee2 2023-07-27 Erik Boasson - Use a named constant for "random port number"
5fde54ec 2023-07-25 Erik Boasson - Test locator list parsing
c0b539ee 2023-07-25 Erik Boasson - Reject locators with port = 0 in discovery
f6a4c0cb 2023-07-21 Erik Boasson - Improve tests for sample_rank
085b8209 2023-07-21 Erik Boasson - improve ucunit fatal assert handling
cfb19e78 2023-07-20 Erik Boasson - Test sample ranks also when skipping some samples
cb969915 2023-07-20 Erik Boasson - Fix off-by-1 error in sample_rank, add test
41d2c746 2023-07-13 Erik Boasson - read_w_qminv_inst_validsamples: remove wrong comment
3c57f440 2023-07-13 Erik Boasson - Fix comment about sample info ranks in "collect"
d7f41b2b 2023-07-13 Erik Boasson - dds_read_with_collector: rank set in sample info
9b03d1ed 2023-06-30 Erik Boasson - Add dds_read/take_with_collector API and refactor
43af028d 2023-07-13 Martijn Reicher - Fix transientlocal unittest to also check sample contents
28f47061 2023-05-26 Martijn Reicher - Fixed qosmatch unittest no later matching assumption
44f20ecf 2023-07-13 Martijn Reicher - Fix instance handle tests
8b6989cf 2023-07-13 Martijn Reicher - Fix for entity status tests
4af76a1d 2023-07-13 Martijn Reicher - Fixes for entity hierarchy tests
b0eb340d 2023-07-24 Andrianov Roman - Fix MISRA rule 22-1. (#1765)
8d120b96 2023-07-24 Andrianov Roman - Fix MISRA-RULE 11.1 (#1757)
a1ed0ff0 2023-07-20 eboasson - Merge pull request #1776 from dpotman/dynsub-fixes
e06fc3ea 2023-07-19 Dennis Potman - Fix cleaning-up the type_hashid_map hash table
a2955279 2023-07-19 Dennis Potman - Fix type wrapper memory leak for custom annotations
1e50d475 2023-07-19 Dennis Potman - Fix static analyzer issue in dynsub
718e747f 2023-07-18 Erik Boasson - Remove incorrect assert in serdata_pserop_fix
7e538d22 2023-07-18 Dennis Potman - Split dynsub example into multiple files
2ae86e94 2023-07-18 Erik Boasson - Add support for additional data types in dynsub example
c4d81639 2023-07-06 mosfet80 - Delete .travis.yml
d9d6d556 2023-07-18 Erik Boasson - Remove some more superfluous asserts from tests
42db07c2 2023-07-14 Erik Boasson - Eliminate Conan, CUnit
748f19f0 2023-07-11 Dennis Potman - Fix type object validation for types with no members/labels
5ca03776 2023-07-06 Erik Boasson - Do not assert on encoding in serdata_pserop_new
c968671b 2023-07-06 Michel van den Hoek - sockets.h: add doxygen comments
fd1d979e 2023-07-05 Andrianov Roman - Fix MISRA rule 9-1 (#1732)
50d2daf0 2023-06-02 Erik Hendriks - Fixed missing callbacks for pending events When setting a listener, any pending (i.e. unhandled) event received before would not result in an immediate callback. Now the set_listener call also checks for pending events, and invokes the registered callbacks when appropriate. This fix is a prerequisite for #https://github.com/eclipse-cyclonedds/cyclonedds-cxx/issues/410
dd1e7ff1 2023-07-03 Erik Hendriks - Modify deadline testcase to become less sensitive to non-determinism in timing.
c334f863 2023-07-03 Splinter1984 - Fix MISRA rule 8-8
ddfd3982 2023-07-03 Andrianov Roman - Fix MISRA rule 22-8. (#1747)
dd43d2f5 2023-07-03 Andrianov Roman - Fix MISRA rule 8-3(1/2) 'declarations of a function same name and type' (#1742)
fa72b181 2023-06-30 Andrianov Roman - Fix misra rule 5 3 (#1745)
93ff10fc 2023-06-29 Michel - ifaddrs.h: add doxygen comments (#1734)
db27066f 2023-06-28 Julien Enoch - example/throughput/readme.rst fixes
2ce79ea2 2023-06-28 Michel - cdtors.h: add doxygen comments (#1727)
d38e63ff 2023-06-28 Andrianov Roman - Fix MISRA 17.4 (missing violation) (#1740)
cc11c7d1 2023-06-27 Erik Boasson - Use bool, format & document XML parser
5e18b0a4 2023-06-27 Erik Boasson - Use "bool" where applicable in RHC
fcfcb9db 2023-06-27 Erik Boasson - Use "bool" type in hopscotch hash tables
30203925 2023-06-27 Andrianov Roman - Fix misra rule 8 2 (missing files violations) (#1739)
56424c29 2023-06-26 Splinter1984 - fix MISRA rule 8.2
07caac2e 2023-06-16 Michel van den Hoek - bswap.h: fixup
c5857a2b 2023-06-15 Michel van den Hoek - bswap.h: add doxygen comments
367fa84a 2023-06-16 Michel van den Hoek - countargs.h: add doxygen comments
97e76fcc 2023-06-26 Erik Boasson - Fix sertype_plist_realloc_samples
fc51ab7e 2023-06-16 Splinter1984 - Fix MISRA rule 17-4
fd9ad36e 2023-06-15 Splinter1984 - update codeql rules
1bcbdf10 2023-06-15 Splinter1984 - Fix MISRA rule 21-19
5e0dfea0 2023-06-15 SeanYu81 - remove leading and trailing white spaces from distinguished name when… (#1719)
47c04a7c 2023-04-20 Michel van den Hoek - atomics: add doxygen comments for arm, sun, gcc, msvc
fd93d8f3 2023-04-14 Michel van den Hoek - atomics.h: add doxygen comments
0a2ff5ef 2023-06-14 Erik Boasson - Use enum for whether a HB requires an ACK
ff4f318d 2023-06-14 Erik Boasson - Document struct ddsi_hbcontrol
320f9e4a 2023-06-14 Erik Boasson - Clean up return type of write_flush
4a3f3ed5 2023-04-25 Erik Boasson - Support dds_write_flush on publisher, participant
ea8c2910 2023-04-25 Erik Boasson - oneliner: add a blocking read/take
7242a294 2023-04-25 Erik Boasson - Add test flag suppressing flush on piggybacked HB
0f9add5b 2023-04-25 Erik Boasson - oneliner: add writer batching + flushing
9e119b95 2023-06-08 Martijn Reicher - Fix for idl_generate_generic with files directly on BASE_DIR
3c50f321 2023-05-08 Michel van den Hoek - fibheap.h: process review
b0127986 2023-05-02 Michel van den Hoek - fibheap.h: add doxygen comments
edc5854c 2023-06-13 Erik Boasson - IDLC fix leak of multi-dim array bounds on failure
01b0ed4d 2023-06-13 Erik Boasson - IDLC: reject arrays of 0 elements
4d086a01 2023-06-13 Erik Boasson - Reject 0-dimensional arrays and empty arrays
d907eafa 2023-06-13 Erik Boasson - Add DDSRT_STATIC_ASSERT_IS_UNSIGNED definition
5dfd2c07 2023-06-06 Michel - add doxygen comments to mh3.h and md5.h (#1718)
c7b8a961 2023-04-25 Erik Boasson - Add netinet/tcp.h so TCP_NODELAY is defined
7c1e561a 2023-06-02 Erik Boasson - Fix "structurally dead code" in test (CID 442820)
97ab5b19 2023-06-02 Erik Boasson - assert that cdrstream_desc.ops is non-null in test (CID 436275)
c21cde3a 2023-06-02 Erik Boasson - Fix possible leak in secure ppant creation (CID 377025)
0bff56fb 2023-06-02 Erik Boasson - Check ddsi_type_new, add_typeobj result (CID 455743)
0f682399 2023-06-01 Erik Boasson - Fix buffer allocation size in test (CID 436274)
a52cc15e 2023-05-29 Plamen Terziev - Remove enum forward declarations
955288bf 2023-05-27 Timo Röhling - Move project() statements below cmake_minimum_required()
708b9211 2023-05-30 Dennis Potman - Fix error handling for aggregated types in add_[min/compl]_typeobj in xt wrapper
090b62ee 2023-05-30 Dennis Potman - Fix error handling for ddsi_type_ref_proxy in OSS fuzz type object test
aa35c3cc 2023-05-24 Julien Enoch - cdr target: add required bswap.c as source
f3790fa0 2023-05-17 Dennis Potman - Add test for dynamic type API that compares generated type-info and type-map with the IDLC generated ones
02780a13 2023-05-17 Dennis Potman - Dynamic type API fixes
495515e4 2023-05-17 Dennis Potman - Fix type-info and type-map construction in dynamic type API
48aa8b3c 2023-05-22 Erik Boasson - Avoid accessing xevent sync_state outside lock
a10ced3c 2023-05-15 Dennis Potman - Replace incorrect use of @see @ref in doxygen comments
33209b75 2023-05-03 Troy Karan Harrison - [CP-277] Fix MISRA 10.2 violation in `ddsi::type_is_numeric`
b7afe964 2023-05-03 Troy Karan Harrison - [CP-277] Fix simple violations of 10.2 via cast to `char`
a44179aa 2023-05-03 Troy Karan Harrison - Add regression check for MISRA rule 10.2
2024-03-25 12:39:30 +00:00
Eric Katzfey 4a553938fb
VOXL2: HRT updates for synchronization with Qurt time (#22881)
- Added offset to Posix hrt time to account for synchronization with Qurt hrt time
- Added new Kconfig to configure synchronization of HRT timestamps on VOXL2
- Moved voxl2 libfc sensor library submodule from muorb module to boards directory
- Added check to make sure hrt_elapsed_time can never be negative
2024-03-22 15:24:51 -04:00
Daniel Agar c024ea396a boards/px4/fmu-v5x: remove legacy rover_pos_control to reduce flash usage 2024-03-22 15:17:03 -04:00
Eric Katzfey 69028f37a9
New platform independent Serial interface (#21723) 2024-03-21 21:00:23 -04:00
Thomas Frans bb9f4d42f3 gps: fix incorrect task id in module startup 2024-03-21 20:58:59 -04:00
Beat Küng 2e12e14a23 boards/px4/fmu-v5x: remove sd_stress & reflect to reduce flash usage 2024-03-21 20:58:21 -04:00
Thomas Frans d0251b8688
add `.editorconfig` for consistent code style across editors (#22916)
EditorConfig is a well-known convention to share style settings across
different editors. Adding one will make it easier for new contributors
or people who like to use a different editor to contribute.
2024-03-21 20:56:20 -04:00
Eric Katzfey 82a1aa37db
uORB: fix for uORB communicator, only send most recent data for new subscription (#22893) 2024-03-21 20:54:43 -04:00
Eric Katzfey 5f6dc1c5d0
uORB: SubscriptionBlocking purged the broken attempt to set the mutex protocol in constructor 2024-03-21 20:53:34 -04:00
Øyvind Taksdal Stubhaug 710286da72
uavcan: publish new can interface status as uorb topic (#22873) 2024-03-20 12:38:47 -04:00
Daniel Agar 34c19b2e5a
boards/px4/fmu-v5x: default remove systemcmds/sd_stress to save flash 2024-03-20 12:35:34 -04:00
alexklimaj af16544809 boards: ark septentrio update flash size and enable ekf2 2024-03-20 11:17:05 -04:00
Daniel Agar 35532609c9
mathlib: utilities refactor float to function template (for optional double precision usage)
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
2024-03-20 11:10:37 -04:00
bresch 62b8db153b mpc: fix PositionControl unit test
The unit test assumes the position controller is in "decoupled" mode
2024-03-20 14:16:12 +01:00
bresch 638e17d551 ekf: update change indicator 2024-03-20 14:13:49 +01:00
bresch 6d819343aa ekf2: fix direct state measurement update for suboptimal K case
The duration of a unit test had to be increased because the incorrect
covariance matrix update, was making the unit test passing faster
(over-optimistic variance).
2024-03-20 14:13:49 +01:00
bresch cb2bb2e098 ekf2: add no gyro bias estimate test case
This makes the ekf unstable and creates NANs during initialization
2024-03-20 14:13:49 +01:00
bresch c9221b91ad ekf2: fix gnss yaw unit test 2024-03-20 14:04:19 +01:00
Drone-Lab 37caddedbb
navigator: update mission after changing home position (#22834) 2024-03-20 08:37:19 +01:00
muramura 63850873eb sd_bench: Display maximum time for maximum write time 2024-03-20 08:35:33 +01:00
Hamish Willee 95627ea098
SMART_BATTERY_INFO to BATTERY_INFO (#22875)
* Update submodule mavlink to latest Wed Mar 13 01:02:16 UTC 2024

    - mavlink in PX4/Firmware (497327e916103ef05ff8f08f47d33b9a19bc28d7): c4a5c49737
    - mavlink current upstream: a3558d6b33
    - Changes: c4a5c49737...a3558d6b33

    a3558d6b 2024-03-07 Hamish Willee - common - DO_FENCE_ENABLE/PARACHUTE fix (#2090)
b9730e0f 2024-03-06 olliw42 - update RADIO_RC_CHANNELS to latest, remove all mlrs from storm32.xml (#1919)
7fed0268 2024-03-06 Patrick José Pereira - common: MAV_CMD_DO_SET_SYS_CMP_ID: Add first version (#2082)
2909b481 2024-03-06 Hamish Willee - Update Pymavlink (#2089)
e9b532a9 2024-03-05 Randy Mackay - common: add set-camera-source command (#2079)
bcdbeb7f 2024-03-01 auturgy - Allow individual fences to be enabled and disabled (#2085)
2f8403d1 2024-02-29 Hamish Willee - MAV_CMD_ODID_SET_EMERGENCY -  (#2086)
daa59c02 2024-02-22 Peter Barker - common.xml: add a command to deal with safety switch (#2081)
977332e2 2024-02-14 Hamish Willee - COMPONENT_INFORMATION_BASIC - add manufacturer date (#2078)
4fef7de2 2024-02-07 Randy Mackay - Common: rename SMART_BATTERY_INFO to BATTERY_INFO and add SOH (#2070)
3865b311 2024-02-01 Hamish Willee - FLIGHT_INFORMATION - description to match PX4 (#2067)
f80e6818 2024-01-31 KonradRudin - development.xml: merge both MAV_CMD enums together (#2074)

* SMART_BATTERY_INFO to BATTERY_INFO on new mavlink module

* Update src/modules/mavlink/streams/BATTERY_INFO.hpp

* fix trivial whitespace

---------

Co-authored-by: PX4 BuildBot <bot@px4.io>
Co-authored-by: Daniel Agar <daniel@agar.ca>
2024-03-20 11:33:37 +13:00
bresch 2e6dd243af mpc: add possibility to generate tilt using full 3D accel
Using full 3D acceleration provides better horizontal acceleration
tracking but also creates a sometimes unwanted behavior because the tilt
is directly coupled with the vertical acceleration setpoint.
2024-03-19 12:29:34 -04:00
muramura 32aa3263a6 EKF: Change a typo 2024-03-18 10:29:44 +01:00
Beat Küng 70346a5b2f failsafe: set cause to generic when fallback mode is activated
Previously when triggering low battery RTL and then losing GPS, the fallback
to Descend would still have low battery as cause.
2024-03-15 14:06:58 +01:00
Silvan Fuhrer da39d075ac Commander enums: shorten failsafe event messages
Such that the focus is on the important keywords.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 10:25:18 +01:00
Silvan Fuhrer f6430a27d6 Commander enums: capitalize battery level key words
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 10:25:18 +01:00
Silvan Fuhrer 4ae2fbd171 Commander enums: capitalize flight mode names
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 10:25:18 +01:00
Silvan Fuhrer 6e15dd5328 Commander: trigger warning when arming denied due to check failure
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 09:34:11 +01:00
Silvan Fuhrer d330d47495 EstimatorCheck: GNSS data fusion stopped as INFO if local position is already invalid
Helps to reduce spamming of less important warnings.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 09:33:56 +01:00
Silvan Fuhrer 6d8273483c Commander: set vehicle_status.failsafe flag only if action for failed check is more than warning
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-15 09:33:41 +01:00
bresch 7c6ecd95a8 mc_wind_estimator_tuning: optionally use GNSS velocity
Sometimes GNSS is logged but not used
2024-03-14 21:06:24 +01:00
bresch b2f1122372 ekf2: remove old yaw 321 and 312 derivations 2024-03-14 11:33:45 -04:00
bresch ee63f3e664 update change indicator 2024-03-14 11:33:45 -04:00
bresch e3f67d5c1a ekf2: new yaw derivation
Instead of euler angles, compute measurement jacobian using a small
global perturbation around the vertical axis
2024-03-14 11:33:45 -04:00
Silvan Fuhrer 6373d8d243
commander: low flight time failsafe: set UserTakeoverAllowed::Auto to enter Hold first (#22887)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-14 16:30:06 +01:00
Silvan Fuhrer 68fcfc43ef
mro-zero classic: remove gyro fft module to save flash (#22878)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-14 14:20:51 +01:00
Eric Katzfey ae947513d7
add load_mon support for Qurt platform (#22883)
- Added check in commander to see if CPU load monitoring has been disabled before signalling overload
2024-03-13 21:33:58 -04:00
Alexander Lampalzer ad50afda10
update msg_files to PARENT_SCOPE (#22800) 2024-03-13 09:34:47 +01:00
Niklas Hauser 23c5c0b12d dataman: Add client sync perf counter and increase default timeout to 5s 2024-03-13 09:22:38 +01:00
Daniel Agar a1cce7e961 uxrce_dds_client: optimizations and instrumentation
- skip ping session if data flowing bidirectionally
 - add perf counters for loop time and interval
 - skip blocking poll if there's input data to read
2024-03-12 16:22:26 -04:00
Daniel Agar b115d3cd44 uxrce_dds_client: refactor init to retry indefinitely
- move init from UxrceddsClient to init() method so that retry is
   possible for both serial and UDP init
2024-03-12 16:22:26 -04:00
Silvan Fuhrer 9f4ae0a85d
vtol: only publish generic warning through mavlink to safe flash (#22870)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-12 13:27:13 +01:00
Silvan Fuhrer 00cc68baa1
Commander: make low remaining flight time configurable and fix clearing condition (#22863)
* Commander: make low remaining flight time configurable and do not clear

- add _ACT param to disable/warning/RTL this feature
- publish rtl flight time estimate also in RTL, and thus fix re-validation
- make failure message clearer, distinguish from battery low

* battery check: add hysteresis for declaring battery_low_remaining_time false again


---------

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Co-authored-by: KonradRudin <98741601+KonradRudin@users.noreply.github.com>
2024-03-12 12:56:01 +01:00
Silvan Fuhrer 7fe5ee64fe rtl_direct: fix on_inactive()
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-12 11:27:49 +01:00
Silvan Fuhrer 7f370ac6df Tiltrotor: disable MC yaw fade out during front transition blending
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-12 11:26:07 +01:00
Thomas Stauber 1ad83a8002
mavlink: OPEN_DRONE_ID_SYSTEM stream publish operator altitude in geodetic frame (#22866) 2024-03-11 19:49:11 -04:00
Eric Katzfey 18d53c3bfd
boards/modalai/voxl2: Add new capabilities to Qurt platform HITL driver
* Added new sensor control options and test capability in dsp_hitl
* HITL working in VIO mode only
* Fixed units on GPS HIL input
2024-03-11 19:47:15 -04:00
Eric Katzfey f4ebfa6130
parameters: support for an optional remote parameter database (#22836)
The voxl2 has a split architecture. PX4 runs on a posix platform and a Qurt platform. The two communicate uorb topics back and forth with the muorb module. But each has it's own parameters database and they need to stay in sync with each other. This PR adds support to keep the 2 parameter databases in sync. The main parameters database running on Linux has file system support while the Qurt one does not. The Linux side is considered the primary and the Qurt side is considered the remote.
2024-03-11 13:52:22 -04:00
Konrad c5fde63440 mission: The mission check on activation should only be performed for a mission, not RTL.
We need to make sure that when the RTL is triggered, it should not reevaluate it, as when it was valid but evaluated to false on activation, it can't do a RTL.
2024-03-11 17:08:56 +01:00
Silvan Fuhrer cb8520427c rtl direct: fix setting of previous altitude (abs vs rel)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-03-11 14:04:02 +01:00