diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 9b550c2f..b697b176 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -121,7 +121,7 @@ jobs: - message: denm script: ./utils/codegen/codegen-py/asn1ToRosMsg.py asn1/raw/denm_en302637_3/DENM-PDU-Descriptions.asn asn1/raw/denm_en302637_3/cdd/ITS-Container.asn -t denm -o etsi_its_msgs/etsi_its_denm_msgs/msg - message: cpm_ts - script: ./utils/codegen/codegen-rust/asn1ToRosMsg.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn asn1/raw/cpm_ts103324/asn/CPM-PerceptionRegionContainer.asn asn1/raw/cpm_ts103324/asn/CPM-SensorInformationContainer.asn asn1/patched/cpm_ts103324/asn/cdd/ETSI-ITS-CDD.asn -t cpm_ts -o etsi_its_msgs/etsi_its_cpm_ts_msgs/msg -di rgen:ci + script: ./utils/codegen/codegen-py/asn1ToRosMsg.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn asn1/raw/cpm_ts103324/asn/CPM-PerceptionRegionContainer.asn asn1/raw/cpm_ts103324/asn/CPM-SensorInformationContainer.asn asn1/patched/cpm_ts103324/asn/cdd/ETSI-ITS-CDD.asn -t cpm_ts -o etsi_its_msgs/etsi_its_cpm_ts_msgs/msg - message: mapem_ts script: ./utils/codegen/codegen-py/asn1ToRosMsg.py asn1/raw/is_ts103301/MAPEM-PDU-Descriptions.asn asn1/raw/is_ts103301/cdd/ITS-Container.asn asn1/raw/is_ts103301/iso-patched/ISO24534-3_ElectronicRegistrationIdentificationVehicleDataModule-patched.asn asn1/raw/is_ts103301/build/asn1/ISO-TS-19091-addgrp-C-2018-patched.asn asn1/patched/is_ts103301/build/asn1/ISO14816_AVIAEINumberingAndDataStructures.asn -t mapem_ts -o etsi_its_msgs/etsi_its_mapem_ts_msgs/msg - message: spatem_ts @@ -140,13 +140,6 @@ jobs: cache: pip - name: Install dependencies run: pip install -r ./utils/codegen/codegen-py/requirements.txt - - name: Download rgen-image (artifact) - uses: actions/download-artifact@v4 - with: - name: rgen-image - path: /tmp - - name: Load rgen-image - run: docker load --input /tmp/rgen-image.tar - name: etsi_its_${{ matrix.message }}_msgs run: | ./asn1/external/download.sh @@ -173,7 +166,7 @@ jobs: - message: denm script: ./utils/codegen/codegen-py/asn1ToConversionHeader.py asn1/raw/denm_en302637_3/DENM-PDU-Descriptions.asn asn1/raw/denm_en302637_3/cdd/ITS-Container.asn -t denm -o etsi_its_conversion/etsi_its_denm_conversion/include/etsi_its_denm_conversion - message: cpm_ts - script: ./utils/codegen/codegen-rust/asn1ToConversionHeader.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn asn1/raw/cpm_ts103324/asn/CPM-PerceptionRegionContainer.asn asn1/raw/cpm_ts103324/asn/CPM-SensorInformationContainer.asn asn1/patched/cpm_ts103324/asn/cdd/ETSI-ITS-CDD.asn -t cpm_ts -o etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion -di rgen:ci + script: ./utils/codegen/codegen-py/asn1ToConversionHeader.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn asn1/raw/cpm_ts103324/asn/CPM-PerceptionRegionContainer.asn asn1/raw/cpm_ts103324/asn/CPM-SensorInformationContainer.asn asn1/patched/cpm_ts103324/asn/cdd/ETSI-ITS-CDD.asn -t cpm_ts -o etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion - message: mapem_ts script: ./utils/codegen/codegen-py/asn1ToConversionHeader.py asn1/raw/is_ts103301/MAPEM-PDU-Descriptions.asn asn1/raw/is_ts103301/cdd/ITS-Container.asn asn1/raw/is_ts103301/iso-patched/ISO24534-3_ElectronicRegistrationIdentificationVehicleDataModule-patched.asn asn1/raw/is_ts103301/build/asn1/ISO-TS-19091-addgrp-C-2018-patched.asn asn1/patched/is_ts103301/build/asn1/ISO14816_AVIAEINumberingAndDataStructures.asn -t mapem_ts -o etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion - message: spatem_ts @@ -192,13 +185,6 @@ jobs: cache: pip - name: Install dependencies run: pip install -r ./utils/codegen/codegen-py/requirements.txt - - name: Download rgen-image (artifact) - uses: actions/download-artifact@v4 - with: - name: rgen-image - path: /tmp - - name: Load rgen-image - run: docker load --input /tmp/rgen-image.tar - name: etsi_its_${{ matrix.message }}_conversion run: | ./asn1/external/download.sh diff --git a/.gitlab-ci.codegen.yml b/.gitlab-ci.codegen.yml index b0bbb9f9..2a1d44c7 100644 --- a/.gitlab-ci.codegen.yml +++ b/.gitlab-ci.codegen.yml @@ -170,7 +170,6 @@ etsi_its_spatem_ts_coding: etsi_its_cam_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -182,7 +181,6 @@ etsi_its_cam_msgs: etsi_its_cam_ts_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -194,7 +192,6 @@ etsi_its_cam_ts_msgs: etsi_its_denm_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -206,10 +203,9 @@ etsi_its_denm_msgs: etsi_its_cpm_ts_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > - ./utils/codegen/codegen-rust/asn1ToRosMsg.py + ./utils/codegen/codegen-py/asn1ToRosMsg.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn @@ -219,13 +215,11 @@ etsi_its_cpm_ts_msgs: -o etsi_its_msgs/etsi_its_cpm_ts_msgs/msg -td /builds/$CI_PROJECT_PATH/tmp -t cpm_ts - -di ${_RGEN_CI_IMAGE} - rm -rf /builds/$CI_PROJECT_PATH/tmp - if [[ ! -z "$(git status --porcelain)" ]]; then echo "Code generation script resulted in changes to the repository" && git diff; exit 1; fi etsi_its_vam_ts_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -237,7 +231,6 @@ etsi_its_vam_ts_msgs: etsi_its_mapem_ts_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -252,7 +245,6 @@ etsi_its_mapem_ts_msgs: etsi_its_spatem_ts_msgs: stage: ROS Messages - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToRosMsg.py @@ -267,7 +259,6 @@ etsi_its_spatem_ts_msgs: etsi_its_cam_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -279,7 +270,6 @@ etsi_its_cam_conversion: etsi_its_cam_ts_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -291,7 +281,6 @@ etsi_its_cam_ts_conversion: etsi_its_denm_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -303,10 +292,9 @@ etsi_its_denm_conversion: etsi_its_cpm_ts_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > - ./utils/codegen/codegen-rust/asn1ToConversionHeader.py + ./utils/codegen/codegen-py/asn1ToConversionHeader.py asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn asn1/raw/cpm_ts103324/asn/CPM-PerceivedObjectContainer.asn @@ -316,13 +304,11 @@ etsi_its_cpm_ts_conversion: -t cpm_ts -o etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion -td /builds/$CI_PROJECT_PATH/tmp - -di ${_RGEN_CI_IMAGE} - rm -rf /builds/$CI_PROJECT_PATH/tmp - if [[ ! -z "$(git status --porcelain)" ]]; then echo "Code generation script resulted in changes to the repository" && git diff; exit 1; fi etsi_its_vam_ts_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -334,7 +320,6 @@ etsi_its_vam_ts_conversion: etsi_its_mapem_ts_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -349,7 +334,6 @@ etsi_its_mapem_ts_conversion: etsi_its_spatem_ts_conversion: stage: Conversion Headers - needs: ["rgen-docker"] script: - > ./utils/codegen/codegen-py/asn1ToConversionHeader.py diff --git a/.vscode/launch.json b/.vscode/launch.json index 7191732f..cd5f85bf 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -197,7 +197,7 @@ "preLaunchTask": "Patch ASN.1 files", "type": "debugpy", "request": "launch", - "program": "utils/codegen/codegen-rust/asn1ToRosMsg.py", + "program": "utils/codegen/codegen-py/asn1ToRosMsg.py", "args": [ "asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn", "asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn", @@ -218,7 +218,7 @@ "preLaunchTask": "Patch ASN.1 files", "type": "debugpy", "request": "launch", - "program": "utils/codegen/codegen-rust/asn1ToConversionHeader.py", + "program": "utils/codegen/codegen-py/asn1ToConversionHeader.py", "args": [ "asn1/raw/cpm_ts103324/asn/CPM-PDU-Descriptions.asn", "asn1/raw/cpm_ts103324/asn/CPM-OriginatingStationContainers.asn", diff --git a/README.md b/README.md index 8ab297d6..1f74bb2a 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,8 @@ cam.cam.cam_parameters.high_frequency_container.basic_vehicle_container_high_fre A given ASN.1 definition is used to generate corresponding C-structures, ROS message definitions, as well as conversion functions between those two formats. The raw ASN.1 definitions of the supported message types are included as Git submodules in the [`asn1/raw` subdirectory](./asn1/raw/). Make sure to clone recursively or initialize the submodules after cloning (`git submodule update --init --recursive`). Note that some of these definitions need to be downloaded and patched before code generation by running [`./asn1/external/download.sh`](./asn1/external/download.sh) and [`./asn1/patches/patch.sh`](./asn1/patches/patch.sh). +The [currently used code generation tool is Python-based](./utils/codegen/codegen-py/). There is also an [alternative Rust-based implementation](./utils/codegen/codegen-rust/) that is currently not maintained anymore (added in #17, replaced again in #28, #48), but kept for reference. + If you would like to re-run the generation of supported message types, we recommend to use the [*VS Code* debugging configurations](https://code.visualstudio.com/docs/editor/debugging) pre-configured in [`.vscode/launch.json`](./.vscode/launch.json). All script calls defined there can obviously also run outside of *VS Code*. Note that *Python* and *Docker* are required for code generation. If you would like to run the generation for new message types or message type versions, call the scripts defined in [`.vscode/launch.json`](./.vscode/launch.json) on your custom ASN.1 definitions. diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAcceleration3dWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAcceleration3dWithConfidence.h index fb3f3b11..f855b3cd 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAcceleration3dWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAcceleration3dWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationCartesian.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationCartesian.h index 6086513e..79f5d20c 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationCartesian.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationCartesian.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationComponent.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationComponent.h index 48874543..a5a157b2 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationComponent.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationComponent.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationConfidence.h index e9bd5905..f2b88e9a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitude.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitude.h index a7365637..04aa6421 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitude.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitude.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitudeValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitudeValue.h index e6dbe134..257928cb 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitudeValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationMagnitudeValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationPolarWithZ.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationPolarWithZ.h index 0272d22a..aaa459be 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationPolarWithZ.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationPolarWithZ.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationValue.h index 6eb34f61..1a64657a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAccelerationValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitude.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitude.h index 2aea289d..9cc87226 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitude.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitude.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeConfidence.h index ed3bac16..bee6c80c 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeValue.h index 48816a51..3a630bcb 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAltitudeValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngleConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngleConfidence.h index 6f3d2d2b..48e07777 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngleConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngleConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngularSpeedConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngularSpeedConfidence.h index b23a4e9d..96915aff 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngularSpeedConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertAngularSpeedConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber1B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber1B.h index 591c68a7..b9cf8d23 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber1B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber1B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber3b.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber3b.h index 1a836994..5359203b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber3b.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCardinalNumber3b.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngle.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngle.h index 00362c4f..fc713d40 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngle.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngle.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngleValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngleValue.h index 6ea96b4d..6e69f55d 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngleValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngleValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponent.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponent.h index c3d40417..805a5d7c 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponent.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponent.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponentValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponentValue.h index b7c35a8f..8dd74883 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponentValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianAngularVelocityComponentValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinate.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinate.h index 010713bb..f27a1179 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinate.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinate.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateLarge.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateLarge.h index e862abf0..57f5c7a2 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateLarge.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateLarge.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateSmall.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateSmall.h index ef2e624e..d85ba390 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateSmall.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateSmall.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateWithConfidence.h index ac85ef16..5109f6d3 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianCoordinateWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3d.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3d.h index 4bcca582..fcbb2f54 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3d.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3d.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3dWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3dWithConfidence.h index fea7e720..da99f5b9 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3dWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCartesianPosition3dWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCircularShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCircularShape.h index 5ae1c0ae..b0871f59 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCircularShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCircularShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCollectivePerceptionMessage.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCollectivePerceptionMessage.h index 669ba6d1..9cf3e8b5 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCollectivePerceptionMessage.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCollectivePerceptionMessage.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConfidenceLevel.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConfidenceLevel.h index fb76eaf2..f850c586 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConfidenceLevel.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConfidenceLevel.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConstraintWrappedCpmContainers.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConstraintWrappedCpmContainers.h index 2307a791..bd969941 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConstraintWrappedCpmContainers.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertConstraintWrappedCpmContainers.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCoordinateConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCoordinateConfidence.h index 4f25571f..62d5dc2a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCoordinateConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCoordinateConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationCellValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationCellValue.h index aaf670c9..3ed3d755 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationCellValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationCellValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationColumn.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationColumn.h index 7fd78062..f189c5ef 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationColumn.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCorrelationColumn.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmContainerId.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmContainerId.h index 8c2045fd..33fac453 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmContainerId.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmContainerId.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmPayload.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmPayload.h index 237e629f..cfa3fba7 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmPayload.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertCpmPayload.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertDeltaTimeMilliSecondSigned.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertDeltaTimeMilliSecondSigned.h index 2200d367..0ebfe938 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertDeltaTimeMilliSecondSigned.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertDeltaTimeMilliSecondSigned.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEllipticalShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEllipticalShape.h index a886d37a..467484df 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEllipticalShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEllipticalShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEulerAnglesWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEulerAnglesWithConfidence.h index a63c1579..ea4c806f 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEulerAnglesWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertEulerAnglesWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertHeadingValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertHeadingValue.h index 3d44b4ef..b5033d5b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertHeadingValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertHeadingValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier1B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier1B.h index aecb6c0e..7aa0bad7 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier1B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier1B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier2B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier2B.h index 2fc593bd..876c4f76 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier2B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIdentifier2B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIntersectionReferenceId.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIntersectionReferenceId.h index d00478ea..3ea9cdf4 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIntersectionReferenceId.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertIntersectionReferenceId.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertItsPduHeader.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertItsPduHeader.h index 3178c742..7369040c 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertItsPduHeader.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertItsPduHeader.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLatitude.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLatitude.h index 2f4991e4..3812eda8 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLatitude.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLatitude.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitude.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitude.h index 2b2dfbee..50259d98 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitude.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitude.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePosition.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePosition.h index d82513bf..70563ab1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePosition.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePosition.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionConfidence.h index 0b77fe00..d149f713 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionValue.h index ec89c157..f4d953b9 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLongitudinalLanePositionValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrices.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrices.h index 831daf9a..f57f358d 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrices.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrices.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include -#include +#include #include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrix.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrix.h index 51f06414..8bff67db 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrix.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrix.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrixColumns.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrixColumns.h index 49ddca07..16fa001a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrixColumns.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertLowerTriangularPositiveSemidefiniteMatrixColumns.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertManagementContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertManagementContainer.h index 371002c2..52a78b4b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertManagementContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertManagementContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapPosition.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapPosition.h index fdfbdbc2..afbde97b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapPosition.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapPosition.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapReference.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapReference.h index d0a7127e..692f99ec 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapReference.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMapReference.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMatrixIncludedComponents.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMatrixIncludedComponents.h index 5246d4aa..8d0ba57e 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMatrixIncludedComponents.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMatrixIncludedComponents.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageId.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageId.h index 7ddd4f98..d515d99b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageId.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageId.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateHz.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateHz.h index 95b93e83..f15e4faa 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateHz.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateHz.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateRange.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateRange.h index 265bb3ce..56505828 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateRange.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageRateRange.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageSegmentationInfo.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageSegmentationInfo.h index 39fb2307..bd8c87b2 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageSegmentationInfo.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertMessageSegmentationInfo.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClass.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClass.h index c16eebed..20ac2eb0 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClass.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClass.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassDescription.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassDescription.h index b87134d3..b02a8c9a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassDescription.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassDescription.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include -#include +#include #include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassWithConfidence.h index 0eab6a68..f2e58cad 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectClassWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimension.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimension.h index 38043b35..d44dca54 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimension.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimension.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionConfidence.h index 5524de7b..a4255b87 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionValue.h index 10146332..bcd33c1a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectDimensionValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectPerceptionQuality.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectPerceptionQuality.h index 0732f7fb..435c39b3 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectPerceptionQuality.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertObjectPerceptionQuality.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber1B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber1B.h index 40aa7071..f9584bda 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber1B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber1B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber3b.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber3b.h index ae22d305..1055b374 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber3b.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOrdinalNumber3b.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingRsuContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingRsuContainer.h index 6baefd2a..f532db80 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingRsuContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingRsuContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingVehicleContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingVehicleContainer.h index fdaac4ae..9200776c 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingVehicleContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOriginatingVehicleContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOtherSubClass.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOtherSubClass.h index f37d2b3e..f79acbfd 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOtherSubClass.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertOtherSubClass.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObject.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObject.h index 36052957..fab1dddc 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObject.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObject.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectContainer.h index bb336b18..9d37332d 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectIds.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectIds.h index d2a53975..f2ffa3b1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectIds.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjectIds.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjects.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjects.h index 3a4079da..4a2422e6 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjects.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceivedObjects.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegion.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegion.h index 1e8b03c8..9294ed84 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegion.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegion.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegionContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegionContainer.h index f569e33d..a9829bbc 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegionContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPerceptionRegionContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPolygonalShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPolygonalShape.h index 596c7b40..2d4b9db2 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPolygonalShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPolygonalShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPosConfidenceEllipse.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPosConfidenceEllipse.h index 2daed5f0..031d1907 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPosConfidenceEllipse.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertPosConfidenceEllipse.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShape.h index bce61f73..3d7e7ba1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapeDetails.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapeDetails.h index 9cc4d4c2..25170c8a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapeDetails.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapeDetails.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapes.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapes.h index 22968ab4..940655a2 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapes.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapes.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapesList.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapesList.h index 56c34892..475a78fe 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapesList.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRadialShapesList.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRectangularShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRectangularShape.h index a7870c1e..9b9ce300 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRectangularShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRectangularShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertReferencePosition.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertReferencePosition.h index 4a269b07..8585f286 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertReferencePosition.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertReferencePosition.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRoadSegmentReferenceId.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRoadSegmentReferenceId.h index 7c26b934..a73e05de 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRoadSegmentReferenceId.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertRoadSegmentReferenceId.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSemiAxisLength.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSemiAxisLength.h index 12ce1b5b..fffddeab 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSemiAxisLength.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSemiAxisLength.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformation.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformation.h index 232c6270..8e03c12e 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformation.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformation.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformationContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformationContainer.h index 323135a5..c35b7d55 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformationContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorInformationContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorType.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorType.h index e0c80152..731195dd 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorType.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSensorType.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfCartesianPosition3d.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfCartesianPosition3d.h index 03e9534e..8c88e0e6 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfCartesianPosition3d.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfCartesianPosition3d.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfIdentifier1B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfIdentifier1B.h index 36059163..22faa190 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfIdentifier1B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSequenceOfIdentifier1B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertShape.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertShape.h index b0be13ae..d124286f 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertShape.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertShape.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeed.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeed.h index c2bd0521..43eb8a52 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeed.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeed.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedConfidence.h index 103d6074..383fa4a4 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedValue.h index cb022623..d219c532 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertSpeedValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength12b.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength12b.h index 94a6dedc..131de69a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength12b.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength12b.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength1B.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength1B.h index d4d25c5c..9d913c28 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength1B.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStandardLength1B.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStationId.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStationId.h index a3b3a038..c8204c01 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStationId.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertStationId.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTimestampIts.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTimestampIts.h index aed7c7b2..a3afa783 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTimestampIts.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTimestampIts.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrafficParticipantType.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrafficParticipantType.h index 2cc8b7f6..1d8a2497 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrafficParticipantType.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrafficParticipantType.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerData.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerData.h index f2893cbd..16f1b2c1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerData.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerData.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerDataSet.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerDataSet.h index 74766705..4ea26dbf 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerDataSet.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertTrailerDataSet.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVehicleWidth.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVehicleWidth.h index b468e995..e573550b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVehicleWidth.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVehicleWidth.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocity3dWithConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocity3dWithConfidence.h index ece15806..714ad3f8 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocity3dWithConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocity3dWithConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityCartesian.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityCartesian.h index 1029ed2f..f6b3b42e 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityCartesian.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityCartesian.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponent.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponent.h index 1141e3c3..234b173a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponent.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponent.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponentValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponentValue.h index 86804d43..3f6f6c22 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponentValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityComponentValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityPolarWithZ.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityPolarWithZ.h index 3449cb55..0ba35983 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityPolarWithZ.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVelocityPolarWithZ.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterInformation.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterInformation.h index 00b02688..f1399517 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterInformation.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterInformation.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterProfiles.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterProfiles.h index cac48ecc..05332dc1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterProfiles.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruClusterProfiles.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruProfileAndSubprofile.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruProfileAndSubprofile.h index 79af4cfc..69956300 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruProfileAndSubprofile.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruProfileAndSubprofile.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileAnimal.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileAnimal.h index 083c7e0b..fa9ce957 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileAnimal.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileAnimal.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileBicyclist.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileBicyclist.h index d57bd238..aaa585e1 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileBicyclist.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileBicyclist.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileMotorcyclist.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileMotorcyclist.h index 98fffedf..77b3486b 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileMotorcyclist.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfileMotorcyclist.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfilePedestrian.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfilePedestrian.h index c644041c..4fb1e3cb 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfilePedestrian.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertVruSubProfilePedestrian.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84Angle.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84Angle.h index aab21efd..e56b631a 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84Angle.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84Angle.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleConfidence.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleConfidence.h index bf293d4d..89620f23 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleConfidence.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleConfidence.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleValue.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleValue.h index 01387f53..b2bf7717 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleValue.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWgs84AngleValue.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainer.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainer.h index 21c7d041..4491d48e 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainer.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainer.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -47,27 +46,25 @@ namespace etsi_its_cpm_ts_conversion { void toRos_WrappedCpmContainer(const cpm_ts_WrappedCpmContainer_t& in, cpm_ts_msgs::WrappedCpmContainer& out) { toRos_CpmContainerId(in.containerId, out.container_id); - switch (in.containerData.present) { - case cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingVehicleContainer: - toRos_OriginatingVehicleContainer(in.containerData.choice.OriginatingVehicleContainer, out.container_data.originating_vehicle_container); - out.container_data.choice.value = cpm_ts_msgs::CpmContainerId::ORIGINATING_VEHICLE_CONTAINER; - break; - case cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingRsuContainer: - toRos_OriginatingRsuContainer(in.containerData.choice.OriginatingRsuContainer, out.container_data.originating_rsu_container); - out.container_data.choice.value = cpm_ts_msgs::CpmContainerId::ORIGINATING_RSU_CONTAINER; - break; - case cpm_ts_WrappedCpmContainer__containerData_PR_SensorInformationContainer: - toRos_SensorInformationContainer(in.containerData.choice.SensorInformationContainer, out.container_data.sensor_information_container); - out.container_data.choice.value = cpm_ts_msgs::CpmContainerId::SENSOR_INFORMATION_CONTAINER; - break; - case cpm_ts_WrappedCpmContainer__containerData_PR_PerceptionRegionContainer: - toRos_PerceptionRegionContainer(in.containerData.choice.PerceptionRegionContainer, out.container_data.perception_region_container); - out.container_data.choice.value = cpm_ts_msgs::CpmContainerId::PERCEPTION_REGION_CONTAINER; - break; - case cpm_ts_WrappedCpmContainer__containerData_PR_PerceivedObjectContainer: - toRos_PerceivedObjectContainer(in.containerData.choice.PerceivedObjectContainer, out.container_data.perceived_object_container); - out.container_data.choice.value = cpm_ts_msgs::CpmContainerId::PERCEIVED_OBJECT_CONTAINER; - break; + if (in.containerData.present == cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingVehicleContainer) { + toRos_OriginatingVehicleContainer(in.containerData.choice.OriginatingVehicleContainer, out.container_data_originating_vehicle_container); + out.container_id.value = cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_ORIGINATING_VEHICLE_CONTAINER; + } + if (in.containerData.present == cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingRsuContainer) { + toRos_OriginatingRsuContainer(in.containerData.choice.OriginatingRsuContainer, out.container_data_originating_rsu_container); + out.container_id.value = cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_ORIGINATING_RSU_CONTAINER; + } + if (in.containerData.present == cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_SensorInformationContainer) { + toRos_SensorInformationContainer(in.containerData.choice.SensorInformationContainer, out.container_data_sensor_information_container); + out.container_id.value = cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_SENSOR_INFORMATION_CONTAINER; + } + if (in.containerData.present == cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_PerceptionRegionContainer) { + toRos_PerceptionRegionContainer(in.containerData.choice.PerceptionRegionContainer, out.container_data_perception_region_container); + out.container_id.value = cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEPTION_REGION_CONTAINER; + } + if (in.containerData.present == cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_PerceivedObjectContainer) { + toRos_PerceivedObjectContainer(in.containerData.choice.PerceivedObjectContainer, out.container_data_perceived_object_container); + out.container_id.value = cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER; } } @@ -75,27 +72,25 @@ void toStruct_WrappedCpmContainer(const cpm_ts_msgs::WrappedCpmContainer& in, cp memset(&out, 0, sizeof(cpm_ts_WrappedCpmContainer_t)); toStruct_CpmContainerId(in.container_id, out.containerId); - switch (in.container_data.choice.value) { - case cpm_ts_msgs::CpmContainerId::ORIGINATING_VEHICLE_CONTAINER: - toStruct_OriginatingVehicleContainer(in.container_data.originating_vehicle_container, out.containerData.choice.OriginatingVehicleContainer); + if (in.container_id.value == cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_ORIGINATING_VEHICLE_CONTAINER) { + toStruct_OriginatingVehicleContainer(in.container_data_originating_vehicle_container, out.containerData.choice.OriginatingVehicleContainer); out.containerData.present = cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingVehicleContainer; - break; - case cpm_ts_msgs::CpmContainerId::ORIGINATING_RSU_CONTAINER: - toStruct_OriginatingRsuContainer(in.container_data.originating_rsu_container, out.containerData.choice.OriginatingRsuContainer); + } + if (in.container_id.value == cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_ORIGINATING_RSU_CONTAINER) { + toStruct_OriginatingRsuContainer(in.container_data_originating_rsu_container, out.containerData.choice.OriginatingRsuContainer); out.containerData.present = cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_OriginatingRsuContainer; - break; - case cpm_ts_msgs::CpmContainerId::SENSOR_INFORMATION_CONTAINER: - toStruct_SensorInformationContainer(in.container_data.sensor_information_container, out.containerData.choice.SensorInformationContainer); + } + if (in.container_id.value == cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_SENSOR_INFORMATION_CONTAINER) { + toStruct_SensorInformationContainer(in.container_data_sensor_information_container, out.containerData.choice.SensorInformationContainer); out.containerData.present = cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_SensorInformationContainer; - break; - case cpm_ts_msgs::CpmContainerId::PERCEPTION_REGION_CONTAINER: - toStruct_PerceptionRegionContainer(in.container_data.perception_region_container, out.containerData.choice.PerceptionRegionContainer); + } + if (in.container_id.value == cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEPTION_REGION_CONTAINER) { + toStruct_PerceptionRegionContainer(in.container_data_perception_region_container, out.containerData.choice.PerceptionRegionContainer); out.containerData.present = cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_PerceptionRegionContainer; - break; - case cpm_ts_msgs::CpmContainerId::PERCEIVED_OBJECT_CONTAINER: - toStruct_PerceivedObjectContainer(in.container_data.perceived_object_container, out.containerData.choice.PerceivedObjectContainer); + } + if (in.container_id.value == cpm_ts_msgs::WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER) { + toStruct_PerceivedObjectContainer(in.container_data_perceived_object_container, out.containerData.choice.PerceivedObjectContainer); out.containerData.present = cpm_ts_WrappedCpmContainer__containerData_PR::cpm_ts_WrappedCpmContainer__containerData_PR_PerceivedObjectContainer; - break; } } diff --git a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainers.h b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainers.h index cbdc0f60..4ff8ce31 100644 --- a/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainers.h +++ b/etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion/convertWrappedCpmContainers.h @@ -2,7 +2,6 @@ MIT License Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,13 +28,16 @@ SOFTWARE. #include +#include #include +#include #include -#include #ifdef ROS1 +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs; #else +#include #include namespace cpm_ts_msgs = etsi_its_cpm_ts_msgs::msg; #endif diff --git a/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/CAM.msg b/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/CAM.msg index 4d509bd7..c1d833ec 100644 --- a/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/CAM.msg +++ b/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/CAM.msg @@ -36,6 +36,8 @@ # */ # CAM ::= SEQUENCE { # header ItsPduHeader (WITH COMPONENTS {... , protocolVersion (2), messageId(cam)}), +# cam CamPayload +# } # ------------------------------------------------------------------------------ ItsPduHeader header diff --git a/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/LowFrequencyContainer.msg b/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/LowFrequencyContainer.msg index 1be2ad05..69d9408e 100644 --- a/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/LowFrequencyContainer.msg +++ b/etsi_its_msgs/etsi_its_cam_ts_msgs/msg/LowFrequencyContainer.msg @@ -34,6 +34,8 @@ # */ # LowFrequencyContainer ::= CHOICE { # basicVehicleContainerLowFrequency BasicVehicleContainerLowFrequency (WITH COMPONENTS {..., pathHistory (SIZE (0..23))}), +# ... +# } # ------------------------------------------------------------------------------ uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/CMakeLists.txt b/etsi_its_msgs/etsi_its_cpm_ts_msgs/CMakeLists.txt index 90579978..afd117e7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/CMakeLists.txt +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/CMakeLists.txt @@ -44,7 +44,6 @@ if(${ROS_VERSION} EQUAL 2) "msg/CorrelationCellValue.msg" "msg/CorrelationColumn.msg" "msg/CpmContainerId.msg" - "msg/CpmContainers.msg" "msg/CpmPayload.msg" "msg/DeltaTimeMilliSecondSigned.msg" "msg/EllipticalShape.msg" diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Acceleration3dWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Acceleration3dWithConfidence.msg index 1fc02b59..bb7ccc18 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Acceleration3dWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Acceleration3dWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,44 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents an acceleration vector with associated confidence value. +# * +# * It shall include the following components: +# * +# * @field polarAcceleration: the representation of the acceleration vector in a polar or cylindrical coordinate system. +# * +# * @field cartesianAcceleration: the representation of the acceleration vector in a cartesian coordinate system. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # Acceleration3dWithConfidence::= CHOICE { # polarAcceleration AccelerationPolarWithZ, # cartesianAcceleration AccelerationCartesian # } # ------------------------------------------------------------------------------ -# -# -# -# -# -# -# -# -# -# -# Specification of CDD Data Frames: -# -# -# -# -# -# -# -# -# -# -#* -# * This DF represents an acceleration vector with associated confidence value. -# * -# * It shall include the following components: -# * -# * @field polarAcceleration: the representation of the acceleration vector in a polar or cylindrical coordinate system. -# * -# * @field cartesianAcceleration: the representation of the acceleration vector in a cartesian coordinate system. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationCartesian.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationCartesian.msg index 7aede0bb..3f77e4d4 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationCartesian.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationCartesian.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a acceleration vector in a cartesian coordinate system. +# +# * It shall include the following components: +# * +# * @field xAcceleration: the x component of the acceleration vector with the associated confidence value. +# * +# * @field yAcceleration: the y component of the acceleration vector with the associated confidence value. +# * +# * @field zAcceleration: the optional z component of the acceleration vector with the associated confidence value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AccelerationCartesian::= SEQUENCE{ # xAcceleration AccelerationComponent, # yAcceleration AccelerationComponent, # zAcceleration AccelerationComponent OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a acceleration vector in a cartesian coordinate system. -# -# * It shall include the following components: -# * -# * @field xAcceleration: the x component of the acceleration vector with the associated confidence value. -# * -# * @field yAcceleration: the y component of the acceleration vector with the associated confidence value. -# * -# * @field zAcceleration: the optional z component of the acceleration vector with the associated confidence value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# AccelerationComponent x_acceleration diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationComponent.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationComponent.msg index 1a0ac691..7cb72083 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationComponent.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationComponent.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents an acceleration component along with a confidence value. +# * +# * It shall include the following components: +# * +# * @field value: the value of the acceleration component which can be estimated as the mean of the current distribution. +# * +# * @field confidence: the confidence value associated to the provided value. +# * +# * @category: Kinematic Information +# * @revision: Created in V2.1.1 +# */ # AccelerationComponent ::= SEQUENCE { # value AccelerationValue, # confidence AccelerationConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents an acceleration component along with a confidence value. -# * -# * It shall include the following components: -# * -# * @field value: the value of the acceleration component which can be estimated as the mean of the current distribution. -# * -# * @field confidence: the confidence value associated to the provided value. -# * -# * @category: Kinematic Information -# * @revision: Created in V2.1.1 -# AccelerationValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationConfidence.msg index 42241d2b..1621ceb3 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,37 +25,38 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the acceleration confidence value which represents the estimated absolute accuracy of an acceleration value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 101`) if the confidence value is equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, +# * - `101` if the confidence value is out of range i.e. greater than 10 m/s^2, +# * - `102` if the confidence value is unavailable. +# * +# * The value 0 shall not be used. +# * +# * @note: The fact that an acceleration value is received with confidence value set to `unavailable(102)` can be caused by several reasons, such as: +# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, +# * - the sensor cannot calculate the accuracy due to lack of variables, or +# * - there has been a vehicle bus (e.g. CAN bus) error. +# * In all 3 cases above, the acceleration value may be valid and used by the application. +# * +# * @note: If an acceleration value is received and its confidence value is set to `outOfRange(101)`, it means that the value is not valid and therefore cannot be trusted. Such value is not useful for the application. +# * +# * @unit 0,1 m/s^2 +# * @category: Kinematic information +# * @revision: Description revised in V2.1.1 +# */ # AccelerationConfidence ::= INTEGER { # outOfRange (101), # unavailable (102) # } (0..102) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the acceleration confidence value which represents the estimated absolute accuracy of an acceleration value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 101`) if the confidence value is equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, -# * - `101` if the confidence value is out of range i.e. greater than 10 m/s^2, -# * - `102` if the confidence value is unavailable. -# * -# * The value 0 shall not be used. -# * -# * @note: The fact that an acceleration value is received with confidence value set to `unavailable(102)` can be caused by several reasons, such as: -# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, -# * - the sensor cannot calculate the accuracy due to lack of variables, or -# * - there has been a vehicle bus (e.g. CAN bus) error. -# * In all 3 cases above, the acceleration value may be valid and used by the application. -# * -# * @note: If an acceleration value is received and its confidence value is set to `outOfRange(101)`, it means that the value is not valid and therefore cannot be trusted. Such value is not useful for the application. -# * -# * @unit 0,1 m/s^2 -# * @category: Kinematic information -# * @revision: Description revised in V2.1.1 -# uint8 value uint8 MIN = 0 uint8 MAX = 102 uint8 OUT_OF_RANGE = 101 uint8 UNAVAILABLE = 102 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitude.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitude.msg index b3d13a78..4ab9336f 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitude.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitude.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the magnitude of the acceleration vector and associated confidence value. +# * +# * It shall include the following components: +# * +# * @field accelerationMagnitudeValue: the magnitude of the acceleration vector. +# * +# * @field accelerationConfidence: the confidence value of the magnitude value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AccelerationMagnitude::= SEQUENCE { # accelerationMagnitudeValue AccelerationMagnitudeValue, # accelerationConfidence AccelerationConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the magnitude of the acceleration vector and associated confidence value. -# * -# * It shall include the following components: -# * -# * @field accelerationMagnitudeValue: the magnitude of the acceleration vector. -# * -# * @field accelerationConfidence: the confidence value of the magnitude value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# AccelerationMagnitudeValue acceleration_magnitude_value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitudeValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitudeValue.msg index 311b0edb..5d429c13 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitudeValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationMagnitudeValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the magnitude of the acceleration vector in a defined coordinate system. +# * +# * The value shall be set to: +# * - `0` to indicate no acceleration, +# * - `n` (`n > 0` and `n < 160`) to indicate acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, +# * - `160` for acceleration values greater than 15,9 m/s^2, +# * - `161` when the data is unavailable. +# * +# * @unit 0,1 m/s^2 +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AccelerationMagnitudeValue ::= INTEGER { # positiveOutOfRange (160), # unavailable (161) # } (0.. 161) # ------------------------------------------------------------------------------ -# * -# * This DE represents the magnitude of the acceleration vector in a defined coordinate system. -# * -# * The value shall be set to: -# * - `0` to indicate no acceleration, -# * - `n` (`n > 0` and `n < 160`) to indicate acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, -# * - `160` for acceleration values greater than 15,9 m/s^2, -# * - `161` when the data is unavailable. -# * -# * @unit 0,1 m/s^2 -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 uint8 MAX = 161 uint8 POSITIVE_OUT_OF_RANGE = 160 uint8 UNAVAILABLE = 161 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationPolarWithZ.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationPolarWithZ.msg index 0ab8ff30..5027a9f9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationPolarWithZ.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationPolarWithZ.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents an acceleration vector in a polar or cylindrical coordinate system. +# +# * It shall include the following components: +# * +# * @field accelerationMagnitude: magnitude of the acceleration vector projected onto the reference plane, with the associated confidence value. +# * +# * @field accelerationDirection: polar angle of the acceleration vector projected onto the reference plane, with the associated confidence value. +# * +# * @field zAcceleration: the optional z component of the acceleration vector along the reference axis of the cylindrical coordinate system, with the associated confidence value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AccelerationPolarWithZ::= SEQUENCE{ # accelerationMagnitude AccelerationMagnitude, # accelerationDirection CartesianAngle, # zAcceleration AccelerationComponent OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents an acceleration vector in a polar or cylindrical coordinate system. -# -# * It shall include the following components: -# * -# * @field accelerationMagnitude: magnitude of the acceleration vector projected onto the reference plane, with the associated confidence value. -# * -# * @field accelerationDirection: polar angle of the acceleration vector projected onto the reference plane, with the associated confidence value. -# * -# * @field zAcceleration: the optional z component of the acceleration vector along the reference axis of the cylindrical coordinate system, with the associated confidence value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# AccelerationMagnitude acceleration_magnitude diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationValue.msg index 7985d995..7b167368 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AccelerationValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the value of an acceleration component in a defined coordinate system. +# * +# * The value shall be set to: +# * - `-160` for acceleration values equal to or less than -16 m/s^2, +# * - `n` (`n > -160` and `n <= 0`) to indicate negative acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, +# * - `n` (`n > 0` and `n < 160`) to indicate positive acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, +# * - `160` for acceleration values greater than 15,9 m/s^2, +# * - `161` when the data is unavailable. +# * +# * @note: the formula for values > -160 and <160 results in rounding up to the next value. Zero acceleration is indicated using n=0. +# * @unit 0,1 m/s^2 +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AccelerationValue ::= INTEGER { # negativeOutOfRange (-160), # positiveOutOfRange (160), # unavailable (161) # } (-160 .. 161) # ------------------------------------------------------------------------------ -# * -# * This DE represents the value of an acceleration component in a defined coordinate system. -# * -# * The value shall be set to: -# * - `-160` for acceleration values equal to or less than -16 m/s^2, -# * - `n` (`n > -160` and `n <= 0`) to indicate negative acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, -# * - `n` (`n > 0` and `n < 160`) to indicate positive acceleration equal to or less than n x 0,1 m/s^2, and greater than (n-1) x 0,1 m/s^2, -# * - `160` for acceleration values greater than 15,9 m/s^2, -# * - `161` when the data is unavailable. -# * -# * @note: the formula for values > -160 and <160 results in rounding up to the next value. Zero acceleration is indicated using n=0. -# * @unit 0,1 m/s^2 -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -160 @@ -54,3 +53,4 @@ int16 MAX = 161 int16 NEGATIVE_OUT_OF_RANGE = -160 int16 POSITIVE_OUT_OF_RANGE = 160 int16 UNAVAILABLE = 161 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Altitude.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Altitude.msg index cd23af7a..73b51e84 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Altitude.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Altitude.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,25 +25,25 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides the altitude and confidence level of an altitude information in a WGS84 coordinate system. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * It shall include the following components: +# * +# * @field altitudeValue: altitude of a geographical point. +# * +# * @field altitudeConfidence: confidence level of the altitudeValue. +# * +# * @note: this DF is kept for backwards compatibility reasons only. It is recommended to use the @ref AltitudeWithConfidence instead. +# * @category: GeoReference information +# * @revision: Description revised in V2.1.1 +# */ # Altitude ::= SEQUENCE { # altitudeValue AltitudeValue, # altitudeConfidence AltitudeConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF provides the altitude and confidence level of an altitude information in a WGS84 coordinate system. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * It shall include the following components: -# * -# * @field altitudeValue: altitude of a geographical point. -# * -# * @field altitudeConfidence: confidence level of the altitudeValue. -# * -# * @note: this DF is kept for backwards compatibility reasons only. It is recommended to use the @ref AltitudeWithConfidence instead. -# * @category: GeoReference information -# * @revision: Description revised in V2.1.1 -# AltitudeValue altitude_value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeConfidence.msg index 45e848bd..370c3c60 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,41 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the altitude confidence value which represents the estimated absolute accuracy of an altitude value of a geographical point with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - 0 - `alt-000-01` - if the confidence value is equal to or less than 0,01 metre, +# * - 1 - `alt-000-02` - if the confidence value is equal to or less than 0,02 metre and greater than 0,01 metre, +# * - 2 - `alt-000-05` - if the confidence value is equal to or less than 0,05 metre and greater than 0,02 metre, +# * - 3 - `alt-000-10` - if the confidence value is equal to or less than 0,1 metre and greater than 0,05 metre, +# * - 4 - `alt-000-20` - if the confidence value is equal to or less than 0,2 metre and greater than 0,1 metre, +# * - 5 - `alt-000-50` - if the confidence value is equal to or less than 0,5 metre and greater than 0,2 metre, +# * - 6 - `alt-001-00` - if the confidence value is equal to or less than 1 metre and greater than 0,5 metre, +# * - 7 - `alt-002-00` - if the confidence value is equal to or less than 2 metres and greater than 1 metre, +# * - 8 - `alt-005-00` - if the confidence value is equal to or less than 5 metres and greater than 2 metres, +# * - 9 - `alt-010-00` - if the confidence value is equal to or less than 10 metres and greater than 5 metres, +# * - 10 - `alt-020-00` - if the confidence value is equal to or less than 20 metres and greater than 10 metres, +# * - 11 - `alt-050-00` - if the confidence value is equal to or less than 50 metres and greater than 20 metres, +# * - 12 - `alt-100-00` - if the confidence value is equal to or less than 100 metres and greater than 50 metres, +# * - 13 - `alt-200-00` - if the confidence value is equal to or less than 200 metres and greater than 100 metres, +# * - 14 - `outOfRange` - if the confidence value is out of range, i.e. greater than 200 metres, +# * - 15 - `unavailable` - if the confidence value is unavailable. +# * +# * @note: The fact that an altitude value is received with confidence value set to `unavailable(15)` can be caused +# * by several reasons, such as: +# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, +# * - the sensor cannot calculate the accuracy due to lack of variables, or +# * - there has been a vehicle bus (e.g. CAN bus) error. +# * In all 3 cases above, the altitude value may be valid and used by the application. +# * +# * @note: If an altitude value is received and its confidence value is set to `outOfRange(14)`, it means that the +# * altitude value is not valid and therefore cannot be trusted. Such value is not useful for the application. +# * +# * @category: GeoReference information +# * @revision: Description revised in V2.1.1 +# */ # AltitudeConfidence ::= ENUMERATED { # alt-000-01 (0), # alt-000-02 (1), @@ -45,41 +79,6 @@ # unavailable (15) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the altitude confidence value which represents the estimated absolute accuracy of an altitude value of a geographical point with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - 0 - `alt-000-01` - if the confidence value is equal to or less than 0,01 metre, -# * - 1 - `alt-000-02` - if the confidence value is equal to or less than 0,02 metre and greater than 0,01 metre, -# * - 2 - `alt-000-05` - if the confidence value is equal to or less than 0,05 metre and greater than 0,02 metre, -# * - 3 - `alt-000-10` - if the confidence value is equal to or less than 0,1 metre and greater than 0,05 metre, -# * - 4 - `alt-000-20` - if the confidence value is equal to or less than 0,2 metre and greater than 0,1 metre, -# * - 5 - `alt-000-50` - if the confidence value is equal to or less than 0,5 metre and greater than 0,2 metre, -# * - 6 - `alt-001-00` - if the confidence value is equal to or less than 1 metre and greater than 0,5 metre, -# * - 7 - `alt-002-00` - if the confidence value is equal to or less than 2 metres and greater than 1 metre, -# * - 8 - `alt-005-00` - if the confidence value is equal to or less than 5 metres and greater than 2 metres, -# * - 9 - `alt-010-00` - if the confidence value is equal to or less than 10 metres and greater than 5 metres, -# * - 10 - `alt-020-00` - if the confidence value is equal to or less than 20 metres and greater than 10 metres, -# * - 11 - `alt-050-00` - if the confidence value is equal to or less than 50 metres and greater than 20 metres, -# * - 12 - `alt-100-00` - if the confidence value is equal to or less than 100 metres and greater than 50 metres, -# * - 13 - `alt-200-00` - if the confidence value is equal to or less than 200 metres and greater than 100 metres, -# * - 14 - `outOfRange` - if the confidence value is out of range, i.e. greater than 200 metres, -# * - 15 - `unavailable` - if the confidence value is unavailable. -# * -# * @note: The fact that an altitude value is received with confidence value set to `unavailable(15)` can be caused -# * by several reasons, such as: -# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, -# * - the sensor cannot calculate the accuracy due to lack of variables, or -# * - there has been a vehicle bus (e.g. CAN bus) error. -# * In all 3 cases above, the altitude value may be valid and used by the application. -# * -# * @note: If an altitude value is received and its confidence value is set to `outOfRange(14)`, it means that the -# * altitude value is not valid and therefore cannot be trusted. Such value is not useful for the application. -# * -# * @category: GeoReference information -# * @revision: Description revised in V2.1.1 -# uint8 value uint8 ALT_000_01 = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeValue.msg index 5cda57d3..64b5615d 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AltitudeValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the altitude value in a WGS84 coordinate system. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `-100 000` if the altitude is equal to or less than -1 000 m, +# * - `n` (`n > -100 000` and `n < 800 000`) if the altitude is equal to or less than n x 0,01 metre and greater than (n-1) x 0,01 metre, +# * - `800 000` if the altitude greater than 7 999,99 m, +# * - `800 001` if the information is not available. +# * +# * @note: the range of this DE does not use the full binary encoding range, but all reasonable values are covered. In order to cover all possible altitude ranges a larger encoding would be necessary. +# * @unit: 0,01 metre +# * @category: GeoReference information +# * @revision: Description revised in V2.1.1 (definition of 800 000 has slightly changed) +# */ # AltitudeValue ::= INTEGER { # negativeOutOfRange (-100000), # postiveOutOfRange (800000), # unavailable (800001) # } (-100000..800001) # ------------------------------------------------------------------------------ -# * -# * This DE represents the altitude value in a WGS84 coordinate system. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `-100 000` if the altitude is equal to or less than -1 000 m, -# * - `n` (`n > -100 000` and `n < 800 000`) if the altitude is equal to or less than n x 0,01 metre and greater than (n-1) x 0,01 metre, -# * - `800 000` if the altitude greater than 7 999,99 m, -# * - `800 001` if the information is not available. -# * -# * @note: the range of this DE does not use the full binary encoding range, but all reasonable values are covered. In order to cover all possible altitude ranges a larger encoding would be necessary. -# * @unit: 0,01 metre -# * @category: GeoReference information -# * @revision: Description revised in V2.1.1 (definition of 800 000 has slightly changed) -# int32 value int32 MIN = -100000 @@ -54,3 +53,4 @@ int32 MAX = 800001 int32 NEGATIVE_OUT_OF_RANGE = -100000 int32 POSTIVE_OUT_OF_RANGE = 800000 int32 UNAVAILABLE = 800001 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngleConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngleConfidence.msg index 8c68734c..5a2877e5 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngleConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngleConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the angle confidence value which represents the estimated absolute accuracy of an angle value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 126`) if the accuracy is equal to or less than n * 0,1 degrees and greater than (n-1) x * 0,1 degrees, +# * - `126` if the accuracy is out of range, i.e. greater than 12,5 degrees, +# * - `127` if the accuracy information is not available. +# * +# * @unit: 0,1 degrees +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # AngleConfidence ::= INTEGER { # outOfRange (126), # unavailable (127) # } (1..127) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the angle confidence value which represents the estimated absolute accuracy of an angle value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 126`) if the accuracy is equal to or less than n * 0,1 degrees and greater than (n-1) x * 0,1 degrees, -# * - `126` if the accuracy is out of range, i.e. greater than 12,5 degrees, -# * - `127` if the accuracy information is not available. -# * -# * @unit: 0,1 degrees -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 uint8 MAX = 127 uint8 OUT_OF_RANGE = 126 uint8 UNAVAILABLE = 127 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngularSpeedConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngularSpeedConfidence.msg index 38a7c74b..f8270c82 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngularSpeedConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/AngularSpeedConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the angular speed confidence value which represents the estimated absolute accuracy of an angular speed value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * For correlation computation, maximum interval levels can be assumed. +# * +# * The value shall be set to: +# * - 0 - `degSec-01` - if the accuracy is equal to or less than 1 degree/second, +# * - 1 - `degSec-02` - if the accuracy is equal to or less than 2 degrees/second and greater than 1 degree/second, +# * - 2 - `degSec-05` - if the accuracy is equal to or less than 5 degrees/second and greater than 2 degrees/second, +# * - 3 - `degSec-10` - if the accuracy is equal to or less than 10 degrees/second and greater than 5 degrees/second, +# * - 4 - `degSec-20` - if the accuracy is equal to or less than 20 degrees/second and greater than 10 degrees/second, +# * - 5 - `degSec-50` - if the accuracy is equal to or less than 50 degrees/second and greater than 20 degrees/second, +# * - 6 - `outOfRange` - if the accuracy is out of range, i.e. greater than 50 degrees/second, +# * - 7 - `unavailable` - if the accuracy information is unavailable. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # AngularSpeedConfidence ::= ENUMERATED { # degSec-01 (0), # degSec-02 (1), @@ -37,24 +54,6 @@ # unavailable (7) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the angular speed confidence value which represents the estimated absolute accuracy of an angular speed value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * For correlation computation, maximum interval levels can be assumed. -# * -# * The value shall be set to: -# * - 0 - `degSec-01` - if the accuracy is equal to or less than 1 degree/second, -# * - 1 - `degSec-02` - if the accuracy is equal to or less than 2 degrees/second and greater than 1 degree/second, -# * - 2 - `degSec-05` - if the accuracy is equal to or less than 5 degrees/second and greater than 2 degrees/second, -# * - 3 - `degSec-10` - if the accuracy is equal to or less than 10 degrees/second and greater than 5 degrees/second, -# * - 4 - `degSec-20` - if the accuracy is equal to or less than 20 degrees/second and greater than 10 degrees/second, -# * - 5 - `degSec-50` - if the accuracy is equal to or less than 50 degrees/second and greater than 20 degrees/second, -# * - 6 - `outOfRange` - if the accuracy is out of range, i.e. greater than 50 degrees/second, -# * - 7 - `unavailable` - if the accuracy information is unavailable. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 DEG_SEC_01 = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber1B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber1B.msg index 5e90825d..2bd89688 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber1B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber1B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents a cardinal number that counts the size of a set. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CardinalNumber1B ::= INTEGER(0..255) # ------------------------------------------------------------------------------ -# * -# * The DE represents a cardinal number that counts the size of a set. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber3b.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber3b.msg index 151cdf26..7a718efc 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber3b.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CardinalNumber3b.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents a cardinal number that counts the size of a set. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CardinalNumber3b ::= INTEGER(1..8) # ------------------------------------------------------------------------------ -# * -# * The DE represents a cardinal number that counts the size of a set. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngle.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngle.msg index b554fbd9..9184f91c 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngle.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngle.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a general Data Frame to describe an angle component along with a confidence value in a cartesian coordinate system. +# * +# * It shall include the following components: +# * +# * @field value: The angle value which can be estimated as the mean of the current distribution. +# * +# * @field confidence: The confidence value associated to the provided value. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CartesianAngle ::= SEQUENCE { # value CartesianAngleValue, # confidence AngleConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a general Data Frame to describe an angle component along with a confidence value in a cartesian coordinate system. -# * -# * It shall include the following components: -# * -# * @field value: The angle value which can be estimated as the mean of the current distribution. -# * -# * @field confidence: The confidence value associated to the provided value. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# CartesianAngleValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngleValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngleValue.msg index a588607f..f35496f2 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngleValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngleValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,28 +25,29 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents an angle value described in a local Cartesian coordinate system, per default counted positive in +# * a right-hand local coordinate system from the abscissa. +# * +# * The value shall be set to: +# * - `n` (`n >= 0` and `n < 3600`) if the angle is equal to or less than n x 0,1 degrees, and greater than (n-1) x 0,1 degrees, +# * - `36001` if the accuracy information is not available. +# * +# * The value 3600 shall not be used. +# * +# * @unit 0,1 degrees +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CartesianAngleValue ::= INTEGER { # valueNotUsed (3600), # unavailable (3601) # } (0..3601) # ------------------------------------------------------------------------------ -# * -# * This DE represents an angle value described in a local Cartesian coordinate system, per default counted positive in -# * a right-hand local coordinate system from the abscissa. -# * -# * The value shall be set to: -# * - `n` (`n >= 0` and `n < 3600`) if the angle is equal to or less than n x 0,1 degrees, and greater than (n-1) x 0,1 degrees, -# * - `36001` if the accuracy information is not available. -# * -# * The value 3600 shall not be used. -# * -# * @unit 0,1 degrees -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 uint16 MAX = 3601 uint16 VALUE_NOT_USED = 3600 uint16 UNAVAILABLE = 3601 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponent.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponent.msg index 71358e72..3c263f01 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponent.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponent.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents an angular velocity component along with a confidence value in a cartesian coordinate system. +# * +# * It shall include the following components: +# * +# * @field value: The angular velocity component. +# * +# * @field confidence: The confidence value associated to the provided value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # CartesianAngularVelocityComponent ::= SEQUENCE { # value CartesianAngularVelocityComponentValue, # confidence AngularSpeedConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents an angular velocity component along with a confidence value in a cartesian coordinate system. -# * -# * It shall include the following components: -# * -# * @field value: The angular velocity component. -# * -# * @field confidence: The confidence value associated to the provided value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# CartesianAngularVelocityComponentValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponentValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponentValue.msg index bdd6c856..6379a232 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponentValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianAngularVelocityComponentValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents an angular velocity component described in a local Cartesian coordinate system, per default counted positive in +# * a right-hand local coordinate system from the abscissa. +# * +# * The value shall be set to: +# * - `-255` if the velocity is equal to or less than -255 degrees/s, +# * - `n` (`n > -255` and `n < 255`) if the velocity is equal to or less than n x 1 degree/s, and greater than (n-1) x 1 degree/s, +# * - `255` if the velocity is greater than 254 degrees/s, +# * - `256` if the information is unavailable. +# * +# * @unit: degree/s +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # CartesianAngularVelocityComponentValue ::= INTEGER { # negativeOutofRange (-255), # positiveOutOfRange (255), # unavailable (256) # } (-255..256) # ------------------------------------------------------------------------------ -# * -# * This DE represents an angular velocity component described in a local Cartesian coordinate system, per default counted positive in -# * a right-hand local coordinate system from the abscissa. -# * -# * The value shall be set to: -# * - `-255` if the velocity is equal to or less than -255 degrees/s, -# * - `n` (`n > -255` and `n < 255`) if the velocity is equal to or less than n x 1 degree/s, and greater than (n-1) x 1 degree/s, -# * - `255` if the velocity is greater than 254 degrees/s, -# * - `256` if the information is unavailable. -# * -# * @unit: degree/s -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -255 @@ -53,3 +52,4 @@ int16 MAX = 256 int16 NEGATIVE_OUTOF_RANGE = -255 int16 POSITIVE_OUT_OF_RANGE = 255 int16 UNAVAILABLE = 256 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinate.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinate.msg index 003f3d7d..b8352862 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinate.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinate.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the value of a cartesian coordinate with a range of -327,68 metres to +327,66 metres. +# * +# * The value shall be set to: +# * - `-32 768` if the longitudinal offset is out of range, i.e. less than or equal to -327,68 metres, +# * - `n` (`n > -32 768` and `n < 32 767`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, +# * - `32 767` if the longitudinal offset is out of range, i.e. greater than + 327,66 metres. +# * +# * @unit 0,01 m +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CartesianCoordinate::= INTEGER{ # negativeOutOfRange (-32768), # positiveOutOfRange (32767) # } (-32768..32767) # ------------------------------------------------------------------------------ -# * -# * This DF represents the value of a cartesian coordinate with a range of -327,68 metres to +327,66 metres. -# * -# * The value shall be set to: -# * - `-32 768` if the longitudinal offset is out of range, i.e. less than or equal to -327,68 metres, -# * - `n` (`n > -32 768` and `n < 32 767`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, -# * - `32 767` if the longitudinal offset is out of range, i.e. greater than + 327,66 metres. -# * -# * @unit 0,01 m -# * @category: Basic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -32768 int16 MAX = 32767 int16 NEGATIVE_OUT_OF_RANGE = -32768 int16 POSITIVE_OUT_OF_RANGE = 32767 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateLarge.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateLarge.msg index 076cf52b..dfe14a04 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateLarge.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateLarge.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the value of a cartesian coordinate with a range of -1 310,72 metres to +1 310,70 metres. +# * +# * The value shall be set to: +# * - `-131072` if the longitudinal offset is out of range, i.e. less than or equal to -1 310,72 metres, +# * - `n` (`n > 131 072` and `n < 131 071`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, +# * - `131 071` if the longitudinal offset is out of range, i.e. greater than + 1 310,70 metres. +# * +# * @unit 0,01 m +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CartesianCoordinateLarge::= INTEGER{ # negativeOutOfRange (-131072), # positiveOutOfRange (131071) # } (-131072..131071) # ------------------------------------------------------------------------------ -# * -# * This DF represents the value of a cartesian coordinate with a range of -1 310,72 metres to +1 310,70 metres. -# * -# * The value shall be set to: -# * - `-131072` if the longitudinal offset is out of range, i.e. less than or equal to -1 310,72 metres, -# * - `n` (`n > 131 072` and `n < 131 071`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, -# * - `131 071` if the longitudinal offset is out of range, i.e. greater than + 1 310,70 metres. -# * -# * @unit 0,01 m -# * @category: Basic information -# * @revision: Created in V2.1.1 -# int32 value int32 MIN = -131072 int32 MAX = 131071 int32 NEGATIVE_OUT_OF_RANGE = -131072 int32 POSITIVE_OUT_OF_RANGE = 131071 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateSmall.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateSmall.msg index 2b94afb6..3080d54e 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateSmall.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateSmall.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the value of a cartesian coordinate with a range of -30,94 metres to +10,00 metres. +# * +# * The value shall be set to: +# * - `3094` if the longitudinal offset is out of range, i.e. less than or equal to -30,94 metres, +# * - `n` (`n > -3 094` and `n < 1 001`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, +# * - `1001` if the longitudinal offset is out of range, i.e. greater than 10 metres. +# * +# * @unit 0,01 m +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CartesianCoordinateSmall::= INTEGER { # negativeOutOfRange (-3094), # positiveOutOfRange (1001) # } (-3094..1001) # ------------------------------------------------------------------------------ -# * -# * This DF represents the value of a cartesian coordinate with a range of -30,94 metres to +10,00 metres. -# * -# * The value shall be set to: -# * - `3094` if the longitudinal offset is out of range, i.e. less than or equal to -30,94 metres, -# * - `n` (`n > -3 094` and `n < 1 001`) if the longitudinal offset information is equal to or less than n x 0,01 metre and more than (n-1) x 0,01 metre, -# * - `1001` if the longitudinal offset is out of range, i.e. greater than 10 metres. -# * -# * @unit 0,01 m -# * @category: Basic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -3094 int16 MAX = 1001 int16 NEGATIVE_OUT_OF_RANGE = -3094 int16 POSITIVE_OUT_OF_RANGE = 1001 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateWithConfidence.msg index 8229483f..f7afe6f9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianCoordinateWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a coordinate along with a confidence value in a cartesian reference system. +# * +# * It shall include the following components: +# * +# * @field value: the coordinate value, which can be estimated as the mean of the current distribution. +# * +# * @field confidence: the coordinate confidence value associated to the provided value. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # CartesianCoordinateWithConfidence ::= SEQUENCE { # value CartesianCoordinateLarge, # confidence CoordinateConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a coordinate along with a confidence value in a cartesian reference system. -# * -# * It shall include the following components: -# * -# * @field value: the coordinate value, which can be estimated as the mean of the current distribution. -# * -# * @field confidence: the coordinate confidence value associated to the provided value. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# CartesianCoordinateLarge value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3d.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3d.msg index d1a212ad..2982dd75 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3d.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3d.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a position in a two- or three-dimensional cartesian coordinate system. +# * +# * It shall include the following components: +# * +# * @field xCoordinate: the X coordinate value. +# * +# * @field yCoordinate: the Y coordinate value. +# * +# * @field zCoordinate: the optional Z coordinate value. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # CartesianPosition3d::=SEQUENCE{ # xCoordinate CartesianCoordinate, # yCoordinate CartesianCoordinate, # zCoordinate CartesianCoordinate OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a position in a two- or three-dimensional cartesian coordinate system. -# * -# * It shall include the following components: -# * -# * @field xCoordinate: the X coordinate value. -# * -# * @field yCoordinate: the Y coordinate value. -# * -# * @field zCoordinate: the optional Z coordinate value. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# CartesianCoordinate x_coordinate diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3dWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3dWithConfidence.msg index f417b994..169085b3 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3dWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CartesianPosition3dWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a position in a two- or three-dimensional cartesian coordinate system with an associated confidence level for each coordinate. +# * +# * It shall include the following components: +# * +# * @field xCoordinate: the X coordinate value with the associated confidence level. +# * +# * @field yCoordinate: the Y coordinate value with the associated confidence level. +# * +# * @field zCoordinate: the optional Z coordinate value with the associated confidence level. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # CartesianPosition3dWithConfidence::= SEQUENCE{ # xCoordinate CartesianCoordinateWithConfidence, # yCoordinate CartesianCoordinateWithConfidence, # zCoordinate CartesianCoordinateWithConfidence OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a position in a two- or three-dimensional cartesian coordinate system with an associated confidence level for each coordinate. -# * -# * It shall include the following components: -# * -# * @field xCoordinate: the X coordinate value with the associated confidence level. -# * -# * @field yCoordinate: the Y coordinate value with the associated confidence level. -# * -# * @field zCoordinate: the optional Z coordinate value with the associated confidence level. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# CartesianCoordinateWithConfidence x_coordinate diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CircularShape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CircularShape.msg index 5cb04be2..94033942 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CircularShape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CircularShape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,29 +25,29 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * +# * This DF represents the shape of a circular area or a right cylinder that is centred on the shape's reference point. +# * +# * It shall include the following components: +# * +# * @field shapeReferencePoint: optional reference point that represents the centre of the circle, relative to an externally specified reference position. +# * If this component is absent, the externally specified reference position represents the shape's reference point. +# * +# * @field radius: the radius of the circular area. +# * +# * @field height: the optional height, present if the shape is a right cylinder extending in the positive z-axis. +# * +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # CircularShape ::= SEQUENCE { # shapeReferencePoint CartesianPosition3d OPTIONAL, # radius StandardLength12b, # height StandardLength12b OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * -# * This DF represents the shape of a circular area or a right cylinder that is centred on the shape's reference point. -# * -# * It shall include the following components: -# * -# * @field shapeReferencePoint: optional reference point that represents the centre of the circle, relative to an externally specified reference position. -# * If this component is absent, the externally specified reference position represents the shape's reference point. -# * -# * @field radius: the radius of the circular area. -# * -# * @field height: the optional height, present if the shape is a right cylinder extending in the positive z-axis. -# * -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# CartesianPosition3d shape_reference_point bool shape_reference_point_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CollectivePerceptionMessage.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CollectivePerceptionMessage.msg index 457acd7e..c77a5fe9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CollectivePerceptionMessage.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CollectivePerceptionMessage.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,22 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Collective Perception Message (CPM) and is the top level Protocol Data Unit. +# * +# * It shall include the following components: +# * +# * @field header: the common message header for the facilities layer message. +# * +# * @field payload: the payload of the message. +# * +# */ # CollectivePerceptionMessage ::= SEQUENCE { # header ItsPduHeader (WITH COMPONENTS {... , protocolVersion (2), messageId(cpm)}), +# payload CpmPayload +# } # ------------------------------------------------------------------------------ -# * -# * This DF represents the Collective Perception Message (CPM) and is the top level Protocol Data Unit. -# * -# * It shall include the following components: -# * -# * @field header: the common message header for the facilities layer message. -# * -# * @field payload: the payload of the message. -# * -# ItsPduHeader header -int64 HEADER_MIN = 0 CpmPayload payload diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConfidenceLevel.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConfidenceLevel.msg index dd97f154..ab3b5f06 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConfidenceLevel.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConfidenceLevel.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents a confidence level in percentage. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 101`) : for the confidence level in %, +# * - `101` : in case the confidence level is not available. +# * +# * @unit Percent +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # ConfidenceLevel ::= INTEGER { # unavailable (101) # } (1..101) # ------------------------------------------------------------------------------ -# * -# * This DE represents a confidence level in percentage. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 101`) : for the confidence level in %, -# * - `101` : in case the confidence level is not available. -# * -# * @unit Percent -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 uint8 MAX = 101 uint8 UNAVAILABLE = 101 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConstraintWrappedCpmContainers.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConstraintWrappedCpmContainers.msg index 8a4804ac..72655573 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConstraintWrappedCpmContainers.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ConstraintWrappedCpmContainers.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,10 +25,11 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a list of CPM containers, each with their type identifier with an additional constraint. +# */ # ConstraintWrappedCpmContainers ::= WrappedCpmContainers # ------------------------------------------------------------------------------ -# * -# * This DF represents a list of CPM containers, each with their type identifier with an additional constraint. -# WrappedCpmContainers value + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CoordinateConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CoordinateConfidence.msg index 8ec8a788..32dcdf34 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CoordinateConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CoordinateConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the coordinate confidence value which represents the estimated absolute accuracy of a position coordinate with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 4095`) if the confidence value is is equal to or less than n x 0,01 metre, and greater than (n-1) x 0,01 metre, +# * - `4095` if the confidence value is greater than 40,94 metres, +# * - `4096` if the confidence value is not available. +# * +# * @unit 0,01 m +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CoordinateConfidence ::= INTEGER { # outOfRange (4095), # unavailable (4096) # } (1..4096) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the coordinate confidence value which represents the estimated absolute accuracy of a position coordinate with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 4095`) if the confidence value is is equal to or less than n x 0,01 metre, and greater than (n-1) x 0,01 metre, -# * - `4095` if the confidence value is greater than 40,94 metres, -# * - `4096` if the confidence value is not available. -# * -# * @unit 0,01 m -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 1 uint16 MAX = 4096 uint16 OUT_OF_RANGE = 4095 uint16 UNAVAILABLE = 4096 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationCellValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationCellValue.msg index 9e8fd6fc..ca26f485 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationCellValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationCellValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,21 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the Bravais-Pearson correlation value for each cell of a lower triangular correlation matrix. +# * +# * The value shall be set to: +# * - `-100` in case of full negative correlation, +# * - `n` (`n > -100` and `n < 0`) if the correlation is negative and equal to n x 100, +# * - `0` in case of no correlation, +# * - `n` (`n > 0` and `n < 100`) if the correlation is positive and equal to n x 100, +# * - `100` in case of full positive correlation, +# * - `101` in case the correlation information is unavailable. +# * +# * @unit: the value is scaled by 100 +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # CorrelationCellValue ::= INTEGER { # full-negative-correlation (-100), # no-correlation (0), @@ -33,21 +47,6 @@ # unavailable (101) # } (-100..101) # ------------------------------------------------------------------------------ -# * -# * This DE represents the Bravais-Pearson correlation value for each cell of a lower triangular correlation matrix. -# * -# * The value shall be set to: -# * - `-100` in case of full negative correlation, -# * - `n` (`n > -100` and `n < 0`) if the correlation is negative and equal to n x 100, -# * - `0` in case of no correlation, -# * - `n` (`n > 0` and `n < 100`) if the correlation is positive and equal to n x 100, -# * - `100` in case of full positive correlation, -# * - `101` in case the correlation information is unavailable. -# * -# * @unit: the value is scaled by 100 -# * @category: Basic information -# * @revision: Created in V2.1.1 -# int8 value int8 MIN = -100 @@ -56,3 +55,4 @@ int8 FULL_NEGATIVE_CORRELATION = -100 int8 NO_CORRELATION = 0 int8 FULL_POSITIVE_CORRELATION = 100 int8 UNAVAILABLE = 101 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationColumn.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationColumn.msg index 63b17f5f..9b4ba4e6 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationColumn.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CorrelationColumn.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,18 +25,19 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a column of a lower triangular positive semi-definite matrix and consists of a list of correlation cell values ordered by rows. +# * Given a matrix "A" of size n x n, the number of columns to be included in the lower triangular matrix is k=n-1. +# * Each column "i" of the lower triangular matrix then contains k-(i-1) values (ordered by rows from 1 to n-1), where "i" refers to the column number count +# * starting at 1 from the left. +# * +# * @category: Sensing Information +# * @revision: Created in V2.1.1 +# */ # CorrelationColumn ::= SEQUENCE SIZE (1..13,...) OF CorrelationCellValue # ------------------------------------------------------------------------------ -# * -# * This DF represents a column of a lower triangular positive semi-definite matrix and consists of a list of correlation cell values ordered by rows. -# * Given a matrix "A" of size n x n, the number of columns to be included in the lower triangular matrix is k=n-1. -# * Each column "i" of the lower triangular matrix then contains k-(i-1) values (ordered by rows from 1 to n-1), where "i" refers to the column number count -# * starting at 1 from the left. -# * -# * @category: Sensing Information -# * @revision: Created in V2.1.1 -# CorrelationCellValue[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 13 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 13 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainerId.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainerId.msg index cfedebb2..fd7d96a6 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainerId.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainerId.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,18 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the identifier of the container type. +# * +# */ # CpmContainerId ::= INTEGER (1..16) # ------------------------------------------------------------------------------ -# * -# * This DE represents the identifier of the container type. -# * -# uint8 value uint8 MIN = 1 uint8 MAX = 16 -uint8 ORIGINATING_RSU_CONTAINER = 2 -uint8 ORIGINATING_VEHICLE_CONTAINER = 1 -uint8 PERCEIVED_OBJECT_CONTAINER = 5 -uint8 PERCEPTION_REGION_CONTAINER = 4 -uint8 SENSOR_INFORMATION_CONTAINER = 3 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainers.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainers.msg deleted file mode 100644 index f60713ab..00000000 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmContainers.msg +++ /dev/null @@ -1,12 +0,0 @@ -# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- - -# --- ASN.1 Definition --------------------------------------------------------- -# CpmContainers CPM-CONTAINER-ID-AND-TYPE ::= { -# {OriginatingVehicleContainer IDENTIFIED BY originatingVehicleContainer} | -# ------------------------------------------------------------------------------ -CpmContainerId choice -OriginatingVehicleContainer originating_vehicle_container -OriginatingRsuContainer originating_rsu_container -SensorInformationContainer sensor_information_container -PerceptionRegionContainer perception_region_container -PerceivedObjectContainer perceived_object_container diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmPayload.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmPayload.msg index 0e9a4f29..11b4d9a0 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmPayload.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/CpmPayload.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,22 +25,22 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the payload of the CPM. +# * +# * It shall include the following components: +# * +# * @field managementContainer: the management container. +# * +# * @field cpmContainers: the list of CPM containers, including its container type identifier and including either one or none of originatingVehicleContainer and/or originatingRsuContainer. +# * +# */ # CpmPayload ::= SEQUENCE { # managementContainer ManagementContainer, # cpmContainers ConstraintWrappedCpmContainers, # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the payload of the CPM. -# * -# * It shall include the following components: -# * -# * @field managementContainer: the management container. -# * -# * @field cpmContainers: the list of CPM containers, including its container type identifier and including either one or none of originatingVehicleContainer and/or originatingRsuContainer. -# * -# ManagementContainer management_container diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/DeltaTimeMilliSecondSigned.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/DeltaTimeMilliSecondSigned.msg index f09c67de..d7abe1f8 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/DeltaTimeMilliSecondSigned.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/DeltaTimeMilliSecondSigned.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,20 +25,20 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents a signed difference in time with respect to a reference time. +# * +# * The value shall be set to: +# * - `-2048` for time values equal to or less than -2,048 s, +# * - `n` (`n > -2048` and `n < 2047`) to indicate a time value equal to or less than n x 0,001 s, and greater than (n-1) x 0,001 s, +# * - `2047` for time values greater than 2,046 s +# * +# * @unit: 0,001 s +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # DeltaTimeMilliSecondSigned ::= INTEGER (-2048..2047) # ------------------------------------------------------------------------------ -# * -# * This DE represents a signed difference in time with respect to a reference time. -# * -# * The value shall be set to: -# * - `-2048` for time values equal to or less than -2,048 s, -# * - `n` (`n > -2048` and `n < 2047`) to indicate a time value equal to or less than n x 0,001 s, and greater than (n-1) x 0,001 s, -# * - `2047` for time values greater than 2,046 s -# * -# * @unit: 0,001 s -# * @category: Basic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -2048 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EllipticalShape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EllipticalShape.msg index 73c93f08..2dddfd77 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EllipticalShape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EllipticalShape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * +# * This DF represents the shape of an elliptical area or right elliptical cylinder that is centred on the shape's reference point. +# * +# * It shall include the following components: +# * +# * @field shapeReferencePoint: optional reference point which represents the centre of the ellipse, relative to an externally specified reference position. +# * If this component is absent, the externally specified reference position represents the shape's reference point. +# * +# * @field semiMajorAxisLength: half length of the major axis of the ellipse. +# * +# * @field semiMinorAxisLength: half length of the minor axis of the ellipse. +# * +# * @field orientation: the optional orientation of the major axis of the ellipse in the WGS84 coordinate system. +# * +# * @field height: the optional height, present if the shape is a right elliptical cylinder extending in the positive z-axis. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # EllipticalShape ::= SEQUENCE { # shapeReferencePoint CartesianPosition3d OPTIONAL, # semiMajorAxisLength StandardLength12b, @@ -34,26 +53,6 @@ # height StandardLength12b OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * -# * This DF represents the shape of an elliptical area or right elliptical cylinder that is centred on the shape's reference point. -# * -# * It shall include the following components: -# * -# * @field shapeReferencePoint: optional reference point which represents the centre of the ellipse, relative to an externally specified reference position. -# * If this component is absent, the externally specified reference position represents the shape's reference point. -# * -# * @field semiMajorAxisLength: half length of the major axis of the ellipse. -# * -# * @field semiMinorAxisLength: half length of the minor axis of the ellipse. -# * -# * @field orientation: the optional orientation of the major axis of the ellipse in the WGS84 coordinate system. -# * -# * @field height: the optional height, present if the shape is a right elliptical cylinder extending in the positive z-axis. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# CartesianPosition3d shape_reference_point bool shape_reference_point_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EulerAnglesWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EulerAnglesWithConfidence.msg index 438ebb1e..5c2a4e10 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EulerAnglesWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/EulerAnglesWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,32 +25,32 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Euler angles which describe the orientation of an object bounding box in a Cartesian coordinate system with an associated confidence level for each angle. +# * +# * It shall include the following components: +# * +# * @field zAngle: z-angle of object bounding box at the time of measurement, with the associated confidence. +# * The angle is measured with positive values considering the object orientation turning around the z-axis using the right-hand rule, starting from the x-axis. +# * This extrinsic rotation shall be applied around the centre point of the object bounding box before all other rotations. +# * +# * @field yAngle: optional y-angle of object bounding box at the time of measurement, with the associated confidence. +# * The angle is measured with positive values considering the object orientation turning around the y-axis using the right-hand rule, starting from the z-axis. +# * This extrinsic rotation shall be applied around the centre point of the object bounding box after the rotation by zAngle and before the rotation by xAngle. +# * +# * @field xAngle: optional x-angle of object bounding box at the time of measurement, with the associated confidence. +# * The angle is measured with positive values considering the object orientation turning around the x-axis using the right-hand rule, starting from the z-axis. +# * This extrinsic rotation shall be applied around the centre point of the object bounding box after all other rotations. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # EulerAnglesWithConfidence ::= SEQUENCE { # zAngle CartesianAngle, # yAngle CartesianAngle OPTIONAL, # xAngle CartesianAngle OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the Euler angles which describe the orientation of an object bounding box in a Cartesian coordinate system with an associated confidence level for each angle. -# * -# * It shall include the following components: -# * -# * @field zAngle: z-angle of object bounding box at the time of measurement, with the associated confidence. -# * The angle is measured with positive values considering the object orientation turning around the z-axis using the right-hand rule, starting from the x-axis. -# * This extrinsic rotation shall be applied around the centre point of the object bounding box before all other rotations. -# * -# * @field yAngle: optional y-angle of object bounding box at the time of measurement, with the associated confidence. -# * The angle is measured with positive values considering the object orientation turning around the y-axis using the right-hand rule, starting from the z-axis. -# * This extrinsic rotation shall be applied around the centre point of the object bounding box after the rotation by zAngle and before the rotation by xAngle. -# * -# * @field xAngle: optional x-angle of object bounding box at the time of measurement, with the associated confidence. -# * The angle is measured with positive values considering the object orientation turning around the x-axis using the right-hand rule, starting from the z-axis. -# * This extrinsic rotation shall be applied around the centre point of the object bounding box after all other rotations. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# CartesianAngle z_angle diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/HeadingValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/HeadingValue.msg index 1269552b..75f9f8b3 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/HeadingValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/HeadingValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the orientation of the horizontal velocity vector with regards to the WGS84 north. +# * When the information is not available, the DE shall be set to 3 601. The value 3600 shall not be used. +# * +# * @note: this DE is kept for backwards compatibility reasons only. It is recommended to use the @ref Wgs84AngleValue instead. +# * +# * Unit: 0,1 degree +# * Categories: GeoReference information +# * @revision: Description revised in V2.1.1 (usage of value 3600 specified) +# */ # HeadingValue ::= INTEGER { # wgs84North (0), # wgs84East (900), @@ -35,16 +44,6 @@ # unavailable (3601) # } (0..3601) # ------------------------------------------------------------------------------ -# * -# * This DE represents the orientation of the horizontal velocity vector with regards to the WGS84 north. -# * When the information is not available, the DE shall be set to 3 601. The value 3600 shall not be used. -# * -# * @note: this DE is kept for backwards compatibility reasons only. It is recommended to use the @ref Wgs84AngleValue instead. -# * -# * Unit: 0,1 degree -# * Categories: GeoReference information -# * @revision: Description revised in V2.1.1 (usage of value 3600 specified) -# uint16 value uint16 MIN = 0 @@ -55,3 +54,4 @@ uint16 WGS84_SOUTH = 1800 uint16 WGS84_WEST = 2700 uint16 DO_NOT_USE = 3600 uint16 UNAVAILABLE = 3601 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier1B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier1B.msg index 59debf84..9582fcf0 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier1B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier1B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE is a general identifier. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # Identifier1B ::= INTEGER (0..255) # ------------------------------------------------------------------------------ -# * -# * This DE is a general identifier. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier2B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier2B.msg index 01236d89..c9f72239 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier2B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Identifier2B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE is a general identifier. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # Identifier2B ::= INTEGER (0..65535) # ------------------------------------------------------------------------------ -# * -# * This DE is a general identifier. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/IntersectionReferenceId.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/IntersectionReferenceId.msg index d11d5ad6..a2920222 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/IntersectionReferenceId.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/IntersectionReferenceId.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,25 +25,25 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a unique id for an intersection, in accordance with ETSI TS 103 301 [15]. +# * +# * It shall include the following components: +# * +# * @field region: the optional identifier of the entity that is responsible for the region in which the intersection is placed. +# * It is the duty of that entity to guarantee that the @ref Id is unique within the region. +# * +# * @field id: the identifier of the intersection +# * +# * @note: when the component region is present, the IntersectionReferenceId is guaranteed to be globally unique. +# * @category: Road topology information +# * @revision: created in V2.1.1 +# */ # IntersectionReferenceId ::= SEQUENCE { # region Identifier2B OPTIONAL, # id Identifier2B # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a unique id for an intersection, in accordance with ETSI TS 103 301 [15]. -# * -# * It shall include the following components: -# * -# * @field region: the optional identifier of the entity that is responsible for the region in which the intersection is placed. -# * It is the duty of that entity to guarantee that the @ref Id is unique within the region. -# * -# * @field id: the identifier of the intersection -# * -# * @note: when the component region is present, the IntersectionReferenceId is guaranteed to be globally unique. -# * @category: Road topology information -# * @revision: created in V2.1.1 -# Identifier2B region bool region_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ItsPduHeader.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ItsPduHeader.msg index 207a10e1..d0fe456a 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ItsPduHeader.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ItsPduHeader.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a common message header for application and facilities layer messages. +# * It is included at the beginning of an ITS message as the message header. +# * +# * It shall include the following components: +# * +# * @field protocolVersion: version of the ITS message. +# * +# * @field messageId: type of the ITS message. +# * +# * @field stationId: the identifier of the ITS-S that generated the ITS message. +# * +# * @category: Communication information +# * @revision: update in V2.1.1: messageID and stationID changed to messageId and stationId; messageId is of type MessageId. +# */ # ItsPduHeader ::= SEQUENCE { # protocolVersion OrdinalNumber1B, # messageId MessageId, # stationId StationId # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a common message header for application and facilities layer messages. -# * It is included at the beginning of an ITS message as the message header. -# * -# * It shall include the following components: -# * -# * @field protocolVersion: version of the ITS message. -# * -# * @field messageId: type of the ITS message. -# * -# * @field stationId: the identifier of the ITS-S that generated the ITS message. -# * -# * @category: Communication information -# * @revision: update in V2.1.1: messageID and stationID changed to messageId and stationId; messageId is of type MessageId. -# OrdinalNumber1B protocol_version diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Latitude.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Latitude.msg index ed06fe8b..e6b206b2 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Latitude.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Latitude.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the absolute geographical latitude in a WGS84 coordinate system, providing a range of 90 degrees in north or +# * in south hemisphere. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n >= -900 000 000` and `n < 0`) x 10^-7 degree, i.e. negative values for latitudes south of the Equator, +# * - `0` is used for the latitude of the equator, +# * - `n` (`n > 0` and `n < 900 000 001`) x 10^-7 degree, i.e. positive values for latitudes north of the Equator, +# * - `900 000 001` when the information is unavailable. +# * +# * @unit: 10^-7 degree +# * @category: GeoReference information +# * @revision: Editorial update in V2.1.1 +# */ # Latitude ::= INTEGER { # unavailable(900000001) # } (-900000000..900000001) # ------------------------------------------------------------------------------ -# * -# * This DE represents the absolute geographical latitude in a WGS84 coordinate system, providing a range of 90 degrees in north or -# * in south hemisphere. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n >= -900 000 000` and `n < 0`) x 10^-7 degree, i.e. negative values for latitudes south of the Equator, -# * - `0` is used for the latitude of the equator, -# * - `n` (`n > 0` and `n < 900 000 001`) x 10^-7 degree, i.e. positive values for latitudes north of the Equator, -# * - `900 000 001` when the information is unavailable. -# * -# * @unit: 10^-7 degree -# * @category: GeoReference information -# * @revision: Editorial update in V2.1.1 -# int32 value int32 MIN = -900000000 int32 MAX = 900000001 int32 UNAVAILABLE = 900000001 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Longitude.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Longitude.msg index 260a2190..54438134 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Longitude.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Longitude.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,31 +25,32 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the absolute geographical longitude in a WGS84 coordinate system, providing a range of 180 degrees +# * to the east or to the west of the prime meridian. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > -1 800 000 000` and `n < 0`) x 10^-7 degree, i.e. negative values for longitudes to the west, +# * - `0` to indicate the prime meridian, +# * - `n` (`n > 0` and `n < 1 800 000 001`) x 10^-7 degree, i.e. positive values for longitudes to the east, +# * - `1 800 000 001` when the information is unavailable. +# * +# * The value -1 800 000 000 shall not be used. +# * +# * @unit: 10^-7 degree +# * @category: GeoReference information +# * @revision: Description revised in V2.1.1 +# */ # Longitude ::= INTEGER { # valueNotUsed (-1800000000), # unavailable (1800000001) # } (-1800000000..1800000001) # ------------------------------------------------------------------------------ -# * -# * This DE represents the absolute geographical longitude in a WGS84 coordinate system, providing a range of 180 degrees -# * to the east or to the west of the prime meridian. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > -1 800 000 000` and `n < 0`) x 10^-7 degree, i.e. negative values for longitudes to the west, -# * - `0` to indicate the prime meridian, -# * - `n` (`n > 0` and `n < 1 800 000 001`) x 10^-7 degree, i.e. positive values for longitudes to the east, -# * - `1 800 000 001` when the information is unavailable. -# * -# * The value -1 800 000 000 shall not be used. -# * -# * @unit: 10^-7 degree -# * @category: GeoReference information -# * @revision: Description revised in V2.1.1 -# int32 value int32 MIN = -1800000000 int32 MAX = 1800000001 int32 VALUE_NOT_USED = -1800000000 int32 UNAVAILABLE = 1800000001 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePosition.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePosition.msg index 3ff8281e..f40f82a7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePosition.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePosition.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the estimated position along the longitudinal length of a particular lane. +# * +# * It shall include the following components: +# * +# * @field longitudinalLanePositionValue: the mean value of the longitudinal position within a particular length. +# * +# * @field longitudinalLanePositionConfidence: The confidence value associated to the value. +# * +# * @category: Road topology information +# * @revision: created in V2.1.1 +# */ # LongitudinalLanePosition ::= SEQUENCE { # longitudinalLanePositionValue LongitudinalLanePositionValue, # longitudinalLanePositionConfidence LongitudinalLanePositionConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the estimated position along the longitudinal length of a particular lane. -# * -# * It shall include the following components: -# * -# * @field longitudinalLanePositionValue: the mean value of the longitudinal position within a particular length. -# * -# * @field longitudinalLanePositionConfidence: The confidence value associated to the value. -# * -# * @category: Road topology information -# * @revision: created in V2.1.1 -# LongitudinalLanePositionValue longitudinal_lane_position_value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionConfidence.msg index de81be18..1035e6a8 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the longitudinal lane position confidence value which represents the estimated accuracy of longitudinal lane position measurement with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 1 022`) if the confidence value is equal to or less than n x 0,1 m, and more than (n-1) x 0,1 m, +# * - `1 022` if the confidence value is out of range i.e. greater than 102,1 m, +# * - `1 023` if the confidence value is unavailable. +# * +# * @unit 0,1 metre +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # LongitudinalLanePositionConfidence ::= INTEGER { # outOfRange (1022), # unavailable (1023) # } (0..1023) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the longitudinal lane position confidence value which represents the estimated accuracy of longitudinal lane position measurement with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 1 022`) if the confidence value is equal to or less than n x 0,1 m, and more than (n-1) x 0,1 m, -# * - `1 022` if the confidence value is out of range i.e. greater than 102,1 m, -# * - `1 023` if the confidence value is unavailable. -# * -# * @unit 0,1 metre -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 uint16 MAX = 1023 uint16 OUT_OF_RANGE = 1022 uint16 UNAVAILABLE = 1023 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionValue.msg index 6f86cf3f..bdca3f62 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LongitudinalLanePositionValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the longitudinal offset of a map-matched position along a matched lane, beginning from the lane's starting point. +# * +# * The value shall be set to: +# * - `n` (`n >= 0` and `n < 32766`) if the longitudinal offset information is equal to or less than n x 0,1 metre and more than (n-1) x 0,1 metre, +# * - `32 766` if the longitudinal offset is out of range, i.e. greater than 3276,5 m, +# * - `32 767` if the longitudinal offset information is not available. +# * +# * @unit 0,1 metre +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # LongitudinalLanePositionValue ::= INTEGER { # outOfRange(32766), # unavailable(32767) # }(0..32767) # ------------------------------------------------------------------------------ -# * -# * This DE represents the longitudinal offset of a map-matched position along a matched lane, beginning from the lane's starting point. -# * -# * The value shall be set to: -# * - `n` (`n >= 0` and `n < 32766`) if the longitudinal offset information is equal to or less than n x 0,1 metre and more than (n-1) x 0,1 metre, -# * - `32 766` if the longitudinal offset is out of range, i.e. greater than 3276,5 m, -# * - `32 767` if the longitudinal offset information is not available. -# * -# * @unit 0,1 metre -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 uint16 MAX = 32767 uint16 OUT_OF_RANGE = 32766 uint16 UNAVAILABLE = 32767 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrices.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrices.msg index 47b76336..745552c4 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrices.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrices.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF shall contain a list of a lower triangular positive semi-definite matrices. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # LowerTriangularPositiveSemidefiniteMatrices::= SEQUENCE SIZE (1..4) OF LowerTriangularPositiveSemidefiniteMatrix # ------------------------------------------------------------------------------ -# * -# * This DF shall contain a list of a lower triangular positive semi-definite matrices. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# LowerTriangularPositiveSemidefiniteMatrix[] array uint8 MIN_SIZE = 1 uint8 MAX_SIZE = 4 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrix.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrix.msg index 0e1d2e1b..241a9ef5 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrix.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrix.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,28 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a lower triangular positive semi-definite matrix. +# * +# * It shall include the following components: +# * +# * @field componentsIncludedIntheMatrix: the indication of which components of a @ref PerceivedObject are included in the matrix. +# * This component also implicitly indicates the number n of included components which defines the size (n x n) of the full correlation matrix "A". +# * +# * @field matrix: the list of cells of the lower triangular positive semi-definite matrix ordered by columns and by rows. +# * +# * The number of columns to be included "k" is equal to the number of included components "n" indicated by componentsIncludedIntheMatrix minus 1: k = n-1. +# * These components shall be included in the order or their appearance in componentsIncludedIntheMatrix. +# * Each column "i" of the lowerTriangularCorrelationMatrixColumns contains k-(i-1) values. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # LowerTriangularPositiveSemidefiniteMatrix ::= SEQUENCE{ # componentsIncludedIntheMatrix MatrixIncludedComponents, # matrix LowerTriangularPositiveSemidefiniteMatrixColumns # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a lower triangular positive semi-definite matrix. -# * -# * It shall include the following components: -# * -# * @field componentsIncludedIntheMatrix: the indication of which components of a @ref PerceivedObject are included in the matrix. -# * This component also implicitly indicates the number n of included components which defines the size (n x n) of the full correlation matrix "A". -# * -# * @field matrix: the list of cells of the lower triangular positive semi-definite matrix ordered by columns and by rows. -# * -# * The number of columns to be included "k" is equal to the number of included components "n" indicated by componentsIncludedIntheMatrix minus 1: k = n-1. -# * These components shall be included in the order or their appearance in componentsIncludedIntheMatrix. -# * Each column "i" of the lowerTriangularCorrelationMatrixColumns contains k-(i-1) values. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# MatrixIncludedComponents components_included_inthe_matrix diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrixColumns.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrixColumns.msg index 05143e65..4b5cc78b 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrixColumns.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/LowerTriangularPositiveSemidefiniteMatrixColumns.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,16 +25,17 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the columns of a lower triangular positive semi-definite matrix, each column not including the main diagonal cell of the matrix. +# * Given a matrix "A" of size n x n, the number of @ref CorrelationColumn to be included in the lower triangular matrix is k=n-1. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # LowerTriangularPositiveSemidefiniteMatrixColumns ::= SEQUENCE SIZE (1..13) OF CorrelationColumn # ------------------------------------------------------------------------------ -# * -# * This DF represents the columns of a lower triangular positive semi-definite matrix, each column not including the main diagonal cell of the matrix. -# * Given a matrix "A" of size n x n, the number of @ref CorrelationColumn to be included in the lower triangular matrix is k=n-1. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# CorrelationColumn[] array uint8 MIN_SIZE = 1 uint8 MAX_SIZE = 13 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ManagementContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ManagementContainer.msg index 53c90d5f..c6f56407 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ManagementContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ManagementContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,21 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the management container of the CPM. +# * The management container provides basic information about the originating ITS-S, which are not specific to a specific type of station. +# * +# * It shall include the following components: +# * +# * @field referenceTime: the reference time for all time related information in the CPM. +# * +# * @field messageRateRange: the planned or expected range of the CPM generation rate. +# * +# * @field segmentationInfo: information regarding the message segmentation on facility layer. +# * +# * @field referencePosition: the reference position for all position related information in the CPM. +# * +# */ # ManagementContainer ::= SEQUENCE { # referenceTime TimestampIts, # referencePosition ReferencePosition, @@ -34,21 +48,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the management container of the CPM. -# * The management container provides basic information about the originating ITS-S, which are not specific to a specific type of station. -# * -# * It shall include the following components: -# * -# * @field referenceTime: the reference time for all time related information in the CPM. -# * -# * @field messageRateRange: the planned or expected range of the CPM generation rate. -# * -# * @field segmentationInfo: information regarding the message segmentation on facility layer. -# * -# * @field referencePosition: the reference position for all position related information in the CPM. -# * -# TimestampIts reference_time diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapPosition.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapPosition.msg index f771d58d..312d60ba 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapPosition.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapPosition.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF indicates a position on a topology description transmitted in a MAPEM according to ETSI TS 103 301 [15]. +# * +# * It shall include the following components: +# * +# * @field mapReference: optionally identifies the MAPEM containing the topology information. +# * It is absent if the MAPEM topology is known from the context. +# * +# * @field laneId: optionally identifies the lane in the road segment or intersection topology on which the position is located. +# * +# * @field connectionId: optionally identifies the connection inside the conflict area of an intersection, i.e. it identifies a trajectory for travelling through the +# * conflict area of an intersection which connects e.g an ingress with an egress lane. +# * +# * @field longitudinalLanePosition: optionally indicates the longitudinal offset of the map-matched position of the object along the lane or connection. +# * +# * @category: Road topology information +# * @revision: Created in V2.1.1 +# */ # MapPosition ::= SEQUENCE { # mapReference MapReference OPTIONAL, # laneId Identifier1B OPTIONAL, @@ -34,24 +51,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF indicates a position on a topology description transmitted in a MAPEM according to ETSI TS 103 301 [15]. -# * -# * It shall include the following components: -# * -# * @field mapReference: optionally identifies the MAPEM containing the topology information. -# * It is absent if the MAPEM topology is known from the context. -# * -# * @field laneId: optionally identifies the lane in the road segment or intersection topology on which the position is located. -# * -# * @field connectionId: optionally identifies the connection inside the conflict area of an intersection, i.e. it identifies a trajectory for travelling through the -# * conflict area of an intersection which connects e.g an ingress with an egress lane. -# * -# * @field longitudinalLanePosition: optionally indicates the longitudinal offset of the map-matched position of the object along the lane or connection. -# * -# * @category: Road topology information -# * @revision: Created in V2.1.1 -# MapReference map_reference bool map_reference_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapReference.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapReference.msg index 9393a77d..f2cf2c49 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapReference.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MapReference.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides the reference to the information contained in a MAPEM according to ETSI TS 103 301 [15]. +# * +# * The following options are provided: +# * +# * @field roadsegment: option that identifies the description of a road segment contained in a MAPEM. +# * +# * @field intersection: option that identifies the description of an intersection contained in a MAPEM. +# * +# * @category: Road topology information +# * @revision: Created in V2.1.1 +# */ # MapReference::= CHOICE { # roadsegment RoadSegmentReferenceId, # intersection IntersectionReferenceId # } # ------------------------------------------------------------------------------ -# * -# * This DF provides the reference to the information contained in a MAPEM according to ETSI TS 103 301 [15]. -# * -# * The following options are provided: -# * -# * @field roadsegment: option that identifies the description of a road segment contained in a MAPEM. -# * -# * @field intersection: option that identifies the description of an intersection contained in a MAPEM. -# * -# * @category: Road topology information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MatrixIncludedComponents.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MatrixIncludedComponents.msg index e2455f1a..1a81210a 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MatrixIncludedComponents.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MatrixIncludedComponents.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,29 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the components of an @ref PerceivedObject that are included in the @ref LowerTriangularPositiveSemidefiniteMatrix. +# * +# * The corresponding bit shall be set to 1 if the component is included: +# * - 0 - `xCoordinate` - when the component xCoordinate of the component @ref CartesianPosition3dWithConfidence is included, +# * - 1 - `yCoordinate` - when the component yCoordinate of the component @ref CartesianPosition3dWithConfidence is included, +# * - 2 - `zCoordinate` - when the component zCoordinate of the component @ref CartesianPosition3dWithConfidence is included, +# * - 3 - `xVelocityOrVelocityMagnitude` - when the component xVelocity of the component @ref VelocityCartesian or the component VelocityMagnitude of the component @ref VelocityPolarWithZ is included, +# * - 4 - `yVelocityOrVelocityDirection` - when the component yVelocity of the component @ref VelocityCartesian or the component VelocityDirection of the component @ref VelocityPolarWithZ is included, +# * - 5 - `zVelocity` - when the component zVelocity of the component @ref VelocityCartesian or of the component @ref VelocityPolarWithZ is included, +# * - 6 - `xAccelOrAccelMagnitude` - when the component xAcceleration of the component @ref AccelerationCartesian or the component AccelerationMagnitude of the component @ref AccelerationPolarWithZ is included, +# * - 7 - `yAccelOrAccelDirection` - when the component yAcceleration of the component @ref AccelerationCartesian or the component AccelerationDirection of the component @ref AccelerationPolarWithZ is included, +# * - 8 - `zAcceleration` - when the component zAcceleration of the component @ref AccelerationCartesian or of the component @ref AccelerationPolarWithZ is included, +# * - 9 - `zAngle` - when the component zAngle is included, +# * - 10 - `yAngle` - when the component yAngle is included, +# * - 11 - `xAngle` - when the component xAngle is included, +# * - 12 - `zAngularVelocity` - when the component zAngularVelocity is included. +# * +# * Otherwise, it shall be set to 0. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # MatrixIncludedComponents::= BIT STRING{ # xPosition (0), # yPosition (1), @@ -42,34 +64,10 @@ # zAngularVelocity (12) # } (SIZE(13,...)) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the components of an @ref PerceivedObject that are included in the @ref LowerTriangularPositiveSemidefiniteMatrix. -# * -# * The corresponding bit shall be set to 1 if the component is included: -# * - 0 - `xCoordinate` - when the component xCoordinate of the component @ref CartesianPosition3dWithConfidence is included, -# * - 1 - `yCoordinate` - when the component yCoordinate of the component @ref CartesianPosition3dWithConfidence is included, -# * - 2 - `zCoordinate` - when the component zCoordinate of the component @ref CartesianPosition3dWithConfidence is included, -# * - 3 - `xVelocityOrVelocityMagnitude` - when the component xVelocity of the component @ref VelocityCartesian or the component VelocityMagnitude of the component @ref VelocityPolarWithZ is included, -# * - 4 - `yVelocityOrVelocityDirection` - when the component yVelocity of the component @ref VelocityCartesian or the component VelocityDirection of the component @ref VelocityPolarWithZ is included, -# * - 5 - `zVelocity` - when the component zVelocity of the component @ref VelocityCartesian or of the component @ref VelocityPolarWithZ is included, -# * - 6 - `xAccelOrAccelMagnitude` - when the component xAcceleration of the component @ref AccelerationCartesian or the component AccelerationMagnitude of the component @ref AccelerationPolarWithZ is included, -# * - 7 - `yAccelOrAccelDirection` - when the component yAcceleration of the component @ref AccelerationCartesian or the component AccelerationDirection of the component @ref AccelerationPolarWithZ is included, -# * - 8 - `zAcceleration` - when the component zAcceleration of the component @ref AccelerationCartesian or of the component @ref AccelerationPolarWithZ is included, -# * - 9 - `zAngle` - when the component zAngle is included, -# * - 10 - `yAngle` - when the component yAngle is included, -# * - 11 - `xAngle` - when the component xAngle is included, -# * - 12 - `zAngularVelocity` - when the component zAngularVelocity is included. -# * -# * Otherwise, it shall be set to 0. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# uint8[] value uint8 bits_unused -int64 MIN_SIZE_BITS = 13 -int64 MAX_SIZE_BITS = 13 +uint8 SIZE_BITS = 13 uint8 BIT_INDEX_X_POSITION = 0 uint8 BIT_INDEX_Y_POSITION = 1 uint8 BIT_INDEX_Z_POSITION = 2 @@ -83,3 +81,4 @@ uint8 BIT_INDEX_Z_ANGLE = 9 uint8 BIT_INDEX_Y_ANGLE = 10 uint8 BIT_INDEX_X_ANGLE = 11 uint8 BIT_INDEX_Z_ANGULAR_VELOCITY = 12 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageId.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageId.msg index 36b69d40..0c47a57b 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageId.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageId.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,36 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the type of facility layer message. +# * +# * The value shall be set to: +# * - 1 - `denm` - for Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3 [2], +# * - 2 - `cam` - for Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2 [1], +# * - 3 - `poi` - for Point of Interest message as specified in ETSI TS 101 556-1 [9], +# * - 4 - `spatem` - for Signal Phase And Timing Extended Message (SPATEM) as specified in ETSI TS 103 301 [15], +# * - 5 - `mapem` - for MAP Extended Message (MAPEM) as specified in ETSI TS 103 301 [15], +# * - 6 - `ivim` - for in Vehicle Information Message (IVIM) as specified in ETSI TS 103 301 [15], +# * - 7 - `ev-rsr` - for Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3 [11], +# * - 8 - `tistpgtransaction` - for messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2 [10], +# * - 9 - `srem` - for Signal Request Extended Message as specified in ETSI TS 103 301 [15], +# * - 10 - `ssem` - for Signal request Status Extended Message as specified in ETSI TS 103 301 [15], +# * - 11 - `evcsn` - for Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1 [9], +# * - 12 - `saem` - for Services Announcement Extended Message as specified in ETSI EN 302 890-1 [17], +# * - 13 - `rtcmem` - for Radio Technical Commission for Maritime Services Extended Message (RTCMEM) as specified in ETSI TS 103 301 [15], +# * - 14 - `cpm` - reserved for Collective Perception Message (CPM), +# * - 15 - `imzm` - for Interference Management Zone Message (IMZM) as specified in ETSI TS 103 724 [13], +# * - 16 - `vam` - for Vulnerable Road User Awareness Message as specified in ETSI TS 130 300-3 [12], +# * - 17 - `dsm` - reserved for Diagnosis, logging and Status Message, +# * - 18 - `pcim` - reserved for Parking Control Infrastructure Message, +# * - 19 - `pcvm` - reserved for Parking Control Vehicle Message, +# * - 20 - `mcm` - reserved for Manoeuvre Coordination Message, +# * - 21 - `pam` - reserved for Parking Availability Message, +# * - 22-255 - reserved for future usage. +# * +# * @category: Communication information +# * @revision: Created in V2.1.1 from @ref ItsPduHeader. +# */ # MessageId::= INTEGER { # denm (1), # cam (2), @@ -50,36 +79,6 @@ # pam (21) # } (0..255) # ------------------------------------------------------------------------------ -# * -# * This DE represents the type of facility layer message. -# * -# * The value shall be set to: -# * - 1 - `denm` - for Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3 [2], -# * - 2 - `cam` - for Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2 [1], -# * - 3 - `poi` - for Point of Interest message as specified in ETSI TS 101 556-1 [9], -# * - 4 - `spatem` - for Signal Phase And Timing Extended Message (SPATEM) as specified in ETSI TS 103 301 [15], -# * - 5 - `mapem` - for MAP Extended Message (MAPEM) as specified in ETSI TS 103 301 [15], -# * - 6 - `ivim` - for in Vehicle Information Message (IVIM) as specified in ETSI TS 103 301 [15], -# * - 7 - `ev-rsr` - for Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3 [11], -# * - 8 - `tistpgtransaction` - for messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2 [10], -# * - 9 - `srem` - for Signal Request Extended Message as specified in ETSI TS 103 301 [15], -# * - 10 - `ssem` - for Signal request Status Extended Message as specified in ETSI TS 103 301 [15], -# * - 11 - `evcsn` - for Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1 [9], -# * - 12 - `saem` - for Services Announcement Extended Message as specified in ETSI EN 302 890-1 [17], -# * - 13 - `rtcmem` - for Radio Technical Commission for Maritime Services Extended Message (RTCMEM) as specified in ETSI TS 103 301 [15], -# * - 14 - `cpm` - reserved for Collective Perception Message (CPM), -# * - 15 - `imzm` - for Interference Management Zone Message (IMZM) as specified in ETSI TS 103 724 [13], -# * - 16 - `vam` - for Vulnerable Road User Awareness Message as specified in ETSI TS 130 300-3 [12], -# * - 17 - `dsm` - reserved for Diagnosis, logging and Status Message, -# * - 18 - `pcim` - reserved for Parking Control Infrastructure Message, -# * - 19 - `pcvm` - reserved for Parking Control Vehicle Message, -# * - 20 - `mcm` - reserved for Manoeuvre Coordination Message, -# * - 21 - `pam` - reserved for Parking Availability Message, -# * - 22-255 - reserved for future usage. -# * -# * @category: Communication information -# * @revision: Created in V2.1.1 from @ref ItsPduHeader. -# uint8 value uint8 MIN = 0 @@ -105,3 +104,4 @@ uint8 PCIM = 18 uint8 PCVM = 19 uint8 MCM = 20 uint8 PAM = 21 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateHz.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateHz.msg index db87d342..2442a876 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateHz.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateHz.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,30 +25,30 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates a message rate. +# * +# * @field mantissa: indicates the mantissa. +# * +# * @field exponent: indicates the exponent. +# * +# * The specified message rate is: mantissa*(10^exponent) +# * +# * @unit: Hz +# * @category: Communication information +# * @revision: Created in V2.1.1 +# */ # MessageRateHz::= SEQUENCE { # mantissa INTEGER (1..100), # exponent INTEGER (-5..2) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates a message rate. -# * -# * @field mantissa: indicates the mantissa. -# * -# * @field exponent: indicates the exponent. -# * -# * The specified message rate is: mantissa*(10^exponent) -# * -# * @unit: Hz -# * @category: Communication information -# * @revision: Created in V2.1.1 -# uint8 mantissa uint8 MANTISSA_MIN = 1 uint8 MANTISSA_MAX = 100 int8 exponent -uint8 EXPONENT_MIN = 0 -uint8 EXPONENT_MAX = 2 +int8 EXPONENT_MIN = -5 +int8 EXPONENT_MAX = 2 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateRange.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateRange.msg index 8d568ed4..9829535c 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateRange.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageRateRange.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,21 +25,21 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the planned or expected range of the message generation rate. +# * +# * It shall include the following components: +# * +# * @field messageRateMin: the minimum planned or expected message rate. +# * +# * @field messageRateMax: the maximum planned or expected message rate. +# * +# */ # MessageRateRange::= SEQUENCE{ # messageRateMin MessageRateHz, # messageRateMax MessageRateHz # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the planned or expected range of the message generation rate. -# * -# * It shall include the following components: -# * -# * @field messageRateMin: the minimum planned or expected message rate. -# * -# * @field messageRateMax: the maximum planned or expected message rate. -# * -# MessageRateHz message_rate_min diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageSegmentationInfo.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageSegmentationInfo.msg index 7b272719..7d547012 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageSegmentationInfo.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/MessageSegmentationInfo.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides information about a message with respect to the segmentation process at the sender. +# * +# * It shall include the following components: +# * +# * @field totalMsgNo: indicates the total number of messages that has been used on the transmitter side to encode the information. +# * +# * @field thisMsgNo: indicates the position of the message within of the total set of messages. +# * +# * @category: Communication information +# * @revision: Created in V2.1.1 +# */ # MessageSegmentationInfo ::= SEQUENCE { # totalMsgNo CardinalNumber3b, # thisMsgNo OrdinalNumber3b # } # ------------------------------------------------------------------------------ -# * -# * This DF provides information about a message with respect to the segmentation process at the sender. -# * -# * It shall include the following components: -# * -# * @field totalMsgNo: indicates the total number of messages that has been used on the transmitter side to encode the information. -# * -# * @field thisMsgNo: indicates the position of the message within of the total set of messages. -# * -# * @category: Communication information -# * @revision: Created in V2.1.1 -# CardinalNumber3b total_msg_no diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClass.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClass.msg index 4d3f9585..741062ee 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClass.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClass.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,30 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF indicates both the class and associated subclass that best describes an object. +# * +# * The following options are available: +# * +# * @field vehicleSubClass: the object is a road vehicle and the specific subclass is specified. +# * +# * @field vruSubClass: the object is a VRU and the specific subclass is specified. +# * +# * @field groupSubClass: the object is a VRU group or cluster and the cluster information is specified. +# * +# * @field otherSubClass: the object is of a different type than the above and the specific subclass is specified. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectClass ::= CHOICE { # vehicleSubClass TrafficParticipantType (unknown|passengerCar..tram|agricultural), # vruSubClass VruProfileAndSubprofile, # groupSubClass VruClusterInformation (WITH COMPONENTS{..., clusterBoundingBoxShape ABSENT}), +# otherSubClass OtherSubClass, +# ... +# } # ------------------------------------------------------------------------------ -# * -# * This DF indicates both the class and associated subclass that best describes an object. -# * -# * The following options are available: -# * -# * @field vehicleSubClass: the object is a road vehicle and the specific subclass is specified. -# * -# * @field vruSubClass: the object is a VRU and the specific subclass is specified. -# * -# * @field groupSubClass: the object is a VRU group or cluster and the cluster information is specified. -# * -# * @field otherSubClass: the object is of a different type than the above and the specific subclass is specified. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassDescription.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassDescription.msg index d94dd09b..9cd5533e 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassDescription.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassDescription.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF shall contain a list of object classes. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectClassDescription ::= SEQUENCE (SIZE(1..8)) OF ObjectClassWithConfidence # ------------------------------------------------------------------------------ -# * -# * This DF shall contain a list of object classes. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# ObjectClassWithConfidence[] array uint8 MIN_SIZE = 1 uint8 MAX_SIZE = 8 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassWithConfidence.msg index 7b3934f6..9f71d1a1 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectClassWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the classification of a detected object together with a confidence level. +# * +# * It shall include the following components: +# * +# * @field objectClass: the class of the object. +# * +# * @field Confidence: the associated confidence level. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectClassWithConfidence ::= SEQUENCE { # objectClass ObjectClass, # confidence ConfidenceLevel # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the classification of a detected object together with a confidence level. -# * -# * It shall include the following components: -# * -# * @field objectClass: the class of the object. -# * -# * @field Confidence: the associated confidence level. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# ObjectClass object_class diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimension.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimension.msg index 1e6d0610..443c6ea7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimension.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimension.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a dimension of an object together with a confidence value. +# * +# * It shall include the following components: +# * +# * @field value: the object dimension value which can be estimated as the mean of the current distribution. +# * +# * @field confidence: the associated confidence value. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectDimension ::= SEQUENCE { # value ObjectDimensionValue, # confidence ObjectDimensionConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a dimension of an object together with a confidence value. -# * -# * It shall include the following components: -# * -# * @field value: the object dimension value which can be estimated as the mean of the current distribution. -# * -# * @field confidence: the associated confidence value. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# ObjectDimensionValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionConfidence.msg index da0d10fd..f955c313 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,28 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the object dimension confidence value which represents the estimated absolute accuracy of an object dimension value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 31`) if the confidence value is equal to or less than n x 0,1 metre, and more than (n-1) x 0,1 metre, +# * - `31` if the confidence value is out of range i.e. greater than 3,0 m, +# * - `32` if the confidence value is unavailable. +# * +# * @unit 0,1 m +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectDimensionConfidence ::= INTEGER { # outOfRange (31), # unavailable (32) # } (1..32) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the object dimension confidence value which represents the estimated absolute accuracy of an object dimension value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 31`) if the confidence value is equal to or less than n x 0,1 metre, and more than (n-1) x 0,1 metre, -# * - `31` if the confidence value is out of range i.e. greater than 3,0 m, -# * - `32` if the confidence value is unavailable. -# * -# * @unit 0,1 m -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 uint8 MAX = 32 uint8 OUT_OF_RANGE = 31 uint8 UNAVAILABLE = 32 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionValue.msg index f2a84d07..a2b7486b 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectDimensionValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents a single dimension of an object. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 255`) if the accuracy is equal to or less than n x 0,1 m, and more than (n-1) x 0,1 m, +# * - `255` if the accuracy is out of range i.e. greater than 25,4 m, +# * - `256` if the data is unavailable. +# * +# * @unit 0,1 m +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # ObjectDimensionValue ::= INTEGER { # outOfRange (255), # unavailable (256) # }(1..256) # ------------------------------------------------------------------------------ -# * -# * This DE represents a single dimension of an object. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 255`) if the accuracy is equal to or less than n x 0,1 m, and more than (n-1) x 0,1 m, -# * - `255` if the accuracy is out of range i.e. greater than 25,4 m, -# * - `256` if the data is unavailable. -# * -# * @unit 0,1 m -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 1 uint16 MAX = 256 uint16 OUT_OF_RANGE = 255 uint16 UNAVAILABLE = 256 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectPerceptionQuality.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectPerceptionQuality.msg index aa654baa..a2a7a815 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectPerceptionQuality.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ObjectPerceptionQuality.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents a single-value indication about the overall information quality of a perceived object. +# * +# * The value shall be set to: +# * - `0` : if there is no confidence in detected object, e.g. for "ghost"-objects or if confidence could not be computed, +# * - `n` (`n > 0` and `n < 15`) : for the applicable confidence value, +# * - `15` : if there is full confidence in the detected Object. +# * +# * @unit n/a +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # ObjectPerceptionQuality ::= INTEGER { # noConfidence (0), # fullConfidence (15) # } (0..15) # ------------------------------------------------------------------------------ -# * -# * This DE represents a single-value indication about the overall information quality of a perceived object. -# * -# * The value shall be set to: -# * - `0` : if there is no confidence in detected object, e.g. for "ghost"-objects or if confidence could not be computed, -# * - `n` (`n > 0` and `n < 15`) : for the applicable confidence value, -# * - `15` : if there is full confidence in the detected Object. -# * -# * @unit n/a -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 uint8 MAX = 15 uint8 NO_CONFIDENCE = 0 uint8 FULL_CONFIDENCE = 15 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber1B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber1B.msg index aa29b0de..fee1bbb6 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber1B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber1B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents an ordinal number that indicates the position of an element in a set. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # OrdinalNumber1B ::= INTEGER(0..255) # ------------------------------------------------------------------------------ -# * -# * The DE represents an ordinal number that indicates the position of an element in a set. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber3b.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber3b.msg index 64958499..66d4a0fb 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber3b.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OrdinalNumber3b.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,14 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents an ordinal number that indicates the position of an element in a set. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # OrdinalNumber3b ::= INTEGER(1..8) # ------------------------------------------------------------------------------ -# * -# * The DE represents an ordinal number that indicates the position of an element in a set. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingRsuContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingRsuContainer.msg index 4982cc2d..f37f9c2d 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingRsuContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingRsuContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,19 +25,19 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Originating RSU Container. +# * +# * It shall include the following components: +# * +# * @field mapReference: identifies the MAPEM containing the topology information reference in the Perceived Object Container +# * +# */ # OriginatingRsuContainer ::= SEQUENCE{ # mapReference MapReference OPTIONAL, # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the Originating RSU Container. -# * -# * It shall include the following components: -# * -# * @field mapReference: identifies the MAPEM containing the topology information reference in the Perceived Object Container -# * -# MapReference map_reference bool map_reference_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingVehicleContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingVehicleContainer.msg index ea431339..1f7b5fb7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingVehicleContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OriginatingVehicleContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,20 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Originating Vehicle Container +# * +# * It shall include the following components: +# * +# * @field orientationAngle: the angle and angle accuracy of the absolute orientation of the disseminating vehicle in the WGS84 coordinate system with respect to true North. +# * +# * @field pitchAngle: the optional angle and angle accuracy between the ground plane and the current orientation of the vehicle's x-axis with respect to the ground plane about the y-axis according to the ISO 8855. +# * +# * @field rollAngle: the optional angle and angle accuracy between the ground plane and the current orientation of a vehicle's y-axis with respect to the ground plane about the x-axis according to the ISO 8855 +# * +# * @field trailerData: information about the trailer dimensions and orientation in case a trailer is present. +# * +# */ # OriginatingVehicleContainer ::= SEQUENCE { # orientationAngle Wgs84Angle, # pitchAngle CartesianAngle OPTIONAL, @@ -34,20 +47,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the Originating Vehicle Container -# * -# * It shall include the following components: -# * -# * @field orientationAngle: the angle and angle accuracy of the absolute orientation of the disseminating vehicle in the WGS84 coordinate system with respect to true North. -# * -# * @field pitchAngle: the optional angle and angle accuracy between the ground plane and the current orientation of the vehicle's x-axis with respect to the ground plane about the y-axis according to the ISO 8855. -# * -# * @field rollAngle: the optional angle and angle accuracy between the ground plane and the current orientation of a vehicle's y-axis with respect to the ground plane about the x-axis according to the ISO 8855 -# * -# * @field trailerData: information about the trailer dimensions and orientation in case a trailer is present. -# * -# Wgs84Angle orientation_angle diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OtherSubClass.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OtherSubClass.msg index 78b109eb..cb963c33 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OtherSubClass.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/OtherSubClass.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,18 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the subclass of a detected object for @ref ObjectClass "otherSubclass". +# * +# * The value shall be set to: +# * - `0` - unknown - if the subclass is unknown. +# * - `1` - singleObject - if the object is a single object. +# * - `2` - multipleObjects - if the object is a group of multiple objects. +# * - `3` - bulkMaterial - if the object is a bulk material. +# * +# * @category: Sensing information +# * @revision: Created in V2.1.1 +# */ # OtherSubClass ::= INTEGER { # unknown (0), # singleObject (1), @@ -33,18 +44,6 @@ # bulkMaterial (3) # } (0..255) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the subclass of a detected object for @ref ObjectClass "otherSubclass". -# * -# * The value shall be set to: -# * - `0` - unknown - if the subclass is unknown. -# * - `1` - singleObject - if the object is a single object. -# * - `2` - multipleObjects - if the object is a group of multiple objects. -# * - `3` - bulkMaterial - if the object is a bulk material. -# * -# * @category: Sensing information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 @@ -53,3 +52,4 @@ uint8 UNKNOWN = 0 uint8 SINGLE_OBJECT = 1 uint8 MULTIPLE_OBJECTS = 2 uint8 BULK_MATERIAL = 3 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObject.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObject.msg index 9ecbf10b..767c7aa7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObject.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObject.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,52 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF contains information about a perceived object including its kinematic state and attitude vector in a pre-defined coordinate system and with respect to a reference time. +# * +# * It shall include the following components: +# * +# * @field objectId: optional identifier assigned to a detected object. +# * +# * @field measurementDeltaTime: the time difference from a reference time to the time of the measurement of the object. +# * Negative values indicate that the provided object state refers to a point in time before the reference time. +# * +# * @field position: the position of the geometric centre of the object's bounding box within the pre-defined coordinate system. +# * +# * @field velocity: the velocity vector of the object within the pre-defined coordinate system. +# * +# * @field acceleration: the acceleration vector of the object within the pre-defined coordinate system. +# * +# * @field angles: optional Euler angles of the object bounding box at the time of measurement. +# * +# * @field zAngularVelocity: optional angular velocity of the object around the z-axis at the time of measurement. +# * The angular velocity is measured with positive values considering the object orientation turning around the z-axis using the right-hand rule. +# * +# * @field lowerTriangularCorrelationMatrices: optional set of lower triangular correlation matrices for selected components of the provided kinematic state and attitude vector. +# * +# * @field objectDimensionZ: optional z-dimension of object bounding box. +# * This dimension shall be measured along the direction of the z-axis after all the rotations have been applied. +# * +# * @field objectDimensionY: optional y-dimension of the object bounding box. +# * This dimension shall be measured along the direction of the y-axis after all the rotations have been applied. +# * +# * @field objectDimensionX: optional x-dimension of object bounding box. +# * This dimension shall be measured along the direction of the x-axis after all the rotations have been applied. +# * +# * @field objectAge: optional age of the detected and described object, i.e. the difference in time between the moment +# * it has been first detected and the reference time of the message. Value `1500` indicates that the object has been observed for more than 1.5s. +# * +# * @field objectPerceptionQuality: optional confidence associated to the object. +# * +# * @field sensorIdList: optional list of sensor-IDs which provided the measurement data. +# * +# * @field classification: optional classification of the described object +# * +# * @field matchedPosition: optional map-matched position of an object. +# * +# * @category Sensing information +# * @revision: created in V2.1.1 +# */ # PerceivedObject ::= SEQUENCE { # objectId Identifier2B OPTIONAL, # measurementDeltaTime DeltaTimeMilliSecondSigned, @@ -46,52 +91,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF contains information about a perceived object including its kinematic state and attitude vector in a pre-defined coordinate system and with respect to a reference time. -# * -# * It shall include the following components: -# * -# * @field objectId: optional identifier assigned to a detected object. -# * -# * @field measurementDeltaTime: the time difference from a reference time to the time of the measurement of the object. -# * Negative values indicate that the provided object state refers to a point in time before the reference time. -# * -# * @field position: the position of the geometric centre of the object's bounding box within the pre-defined coordinate system. -# * -# * @field velocity: the velocity vector of the object within the pre-defined coordinate system. -# * -# * @field acceleration: the acceleration vector of the object within the pre-defined coordinate system. -# * -# * @field angles: optional Euler angles of the object bounding box at the time of measurement. -# * -# * @field zAngularVelocity: optional angular velocity of the object around the z-axis at the time of measurement. -# * The angular velocity is measured with positive values considering the object orientation turning around the z-axis using the right-hand rule. -# * -# * @field lowerTriangularCorrelationMatrices: optional set of lower triangular correlation matrices for selected components of the provided kinematic state and attitude vector. -# * -# * @field objectDimensionZ: optional z-dimension of object bounding box. -# * This dimension shall be measured along the direction of the z-axis after all the rotations have been applied. -# * -# * @field objectDimensionY: optional y-dimension of the object bounding box. -# * This dimension shall be measured along the direction of the y-axis after all the rotations have been applied. -# * -# * @field objectDimensionX: optional x-dimension of object bounding box. -# * This dimension shall be measured along the direction of the x-axis after all the rotations have been applied. -# * -# * @field objectAge: optional age of the detected and described object, i.e. the difference in time between the moment -# * it has been first detected and the reference time of the message. Value `1500` indicates that the object has been observed for more than 1.5s. -# * -# * @field objectPerceptionQuality: optional confidence associated to the object. -# * -# * @field sensorIdList: optional list of sensor-IDs which provided the measurement data. -# * -# * @field classification: optional classification of the described object -# * -# * @field matchedPosition: optional map-matched position of an object. -# * -# * @category Sensing information -# * @revision: created in V2.1.1 -# Identifier2B object_id bool object_id_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectContainer.msg index bc5b7021..41770da9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,22 +25,22 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Perceived Object Container +# * +# * It shall include the following components: +# * +# * @field numberOfPerceivedObjects: the total number of perceived objects at the time of generating the message. +# * +# * @field perceivedObjects: the list of perceived objects. +# * +# */ # PerceivedObjectContainer ::= SEQUENCE { # numberOfPerceivedObjects CardinalNumber1B, # perceivedObjects PerceivedObjects, # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the Perceived Object Container -# * -# * It shall include the following components: -# * -# * @field numberOfPerceivedObjects: the total number of perceived objects at the time of generating the message. -# * -# * @field perceivedObjects: the list of perceived objects. -# * -# CardinalNumber1B number_of_perceived_objects diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectIds.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectIds.msg index 14500ab5..9992e734 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectIds.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjectIds.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,12 +25,13 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a list of identifiers of perceived objects. +# */ # PerceivedObjectIds::= SEQUENCE SIZE(0..255, ...) OF Identifier2B # ------------------------------------------------------------------------------ -# * -# * This DF represents a list of identifiers of perceived objects. -# Identifier2B[] array -int64 MIN_SIZE = 0 -int64 MAX_SIZE = 255 +uint8 MIN_SIZE = 0 +uint8 MAX_SIZE = 255 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjects.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjects.msg index 4bade7b4..3df487a9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjects.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceivedObjects.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,12 +25,13 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** @brief Perceived Objects +# * This DF provides a list of perceived objects represented in the coordinate system in which the y-axis corresponds to the North direction, the x-axis to the East direction, and the z- axis to the vertical direction. +# */ # PerceivedObjects::= SEQUENCE SIZE(0..255, ...) OF PerceivedObject (WITH COMPONENTS {... ,objectId PRESENT}) # ------------------------------------------------------------------------------ -# * @brief Perceived Objects -# * This DF provides a list of perceived objects represented in the coordinate system in which the y-axis corresponds to the North direction, the x-axis to the East direction, and the z- axis to the vertical direction. -# PerceivedObject[] array -int64 MIN_SIZE = 0 -int64 MAX_SIZE = 255 +uint8 MIN_SIZE = 0 +uint8 MAX_SIZE = 255 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegion.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegion.msg index e0e0a5a2..1a834b98 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegion.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegion.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the actual perception capabilities available to the transmitting ITS-S, offering additional (often dynamic) details to the information provided in the sensor information container. +# * +# * It shall include the following components: +# +# * @field measurementDeltaTime: difference between the time of estimation of the perception region and the reference time. Positive values indicates that the provided information refers to a point in time after the reference time. +# * +# * @field perceptionRegionConfidence: the perception confidence. +# * +# * @field perceptionRegionShape: specification of the shape of the perception region. +# * +# * @field shadowingApplies: indicates if the standard shadowing approach applies to the described perception region. +# * +# * @field sensorIdList: the optional list of identifiers of the sensors which are involved in perceiving the region. +# * +# * @field numberOfPerceivedObjects: the optional number of perceived objects contained in the perception region specified in the component perceptionRegionShape. +# * +# * @field perceivedObjectIds: the optional list of identifiers of the objects specified in the Perceived Object Container that are contained in the perception region specified in the component perceptionRegionShape. +# * +# */ # PerceptionRegion ::= SEQUENCE { # measurementDeltaTime DeltaTimeMilliSecondSigned, # perceptionRegionConfidence ConfidenceLevel, @@ -37,26 +56,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the actual perception capabilities available to the transmitting ITS-S, offering additional (often dynamic) details to the information provided in the sensor information container. -# * -# * It shall include the following components: -# -# * @field measurementDeltaTime: difference between the time of estimation of the perception region and the reference time. Positive values indicates that the provided information refers to a point in time after the reference time. -# * -# * @field perceptionRegionConfidence: the perception confidence. -# * -# * @field perceptionRegionShape: specification of the shape of the perception region. -# * -# * @field shadowingApplies: indicates if the standard shadowing approach applies to the described perception region. -# * -# * @field sensorIdList: the optional list of identifiers of the sensors which are involved in perceiving the region. -# * -# * @field numberOfPerceivedObjects: the optional number of perceived objects contained in the perception region specified in the component perceptionRegionShape. -# * -# * @field perceivedObjectIds: the optional list of identifiers of the objects specified in the Perceived Object Container that are contained in the perception region specified in the component perceptionRegionShape. -# * -# DeltaTimeMilliSecondSigned measurement_delta_time diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegionContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegionContainer.msg index 6ad2c546..aaa104d4 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegionContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PerceptionRegionContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,12 +25,13 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Perception Region Container as a list of perception region information objects. +# */ # PerceptionRegionContainer ::= SEQUENCE SIZE(1..256, ...) OF PerceptionRegion # ------------------------------------------------------------------------------ -# * -# * This DF represents the Perception Region Container as a list of perception region information objects. -# PerceptionRegion[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 256 +uint16 MIN_SIZE = 1 +uint16 MAX_SIZE = 256 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PolygonalShape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PolygonalShape.msg index 1897a439..3259a802 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PolygonalShape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PolygonalShape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,36 +25,36 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the shape of a polygonal area or of a right prism. +# * +# * It shall include the following components: +# * +# * @field shapeReferencePoint: the optional reference point used for the definition of the shape, relative to an externally specified reference position. +# * If this component is absent, the externally specified reference position represents the shape's reference point. +# * +# * @field polygon: the polygonal area represented by a list of minimum `3` to maximum `16` @ref CartesianPosition3d. +# * All nodes of the polygon shall be considered relative to the shape's reference point. +# * +# * @field height: the optional height, present if the shape is a right prism extending in the positive z-axis. +# * +# * @category GeoReference information +# * @revision: created in V2.1.1 +# * +# */ # PolygonalShape ::= SEQUENCE { # shapeReferencePoint CartesianPosition3d OPTIONAL, # polygon SequenceOfCartesianPosition3d (SIZE(3..16,...)), # height StandardLength12b OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the shape of a polygonal area or of a right prism. -# * -# * It shall include the following components: -# * -# * @field shapeReferencePoint: the optional reference point used for the definition of the shape, relative to an externally specified reference position. -# * If this component is absent, the externally specified reference position represents the shape's reference point. -# * -# * @field polygon: the polygonal area represented by a list of minimum `3` to maximum `16` @ref CartesianPosition3d. -# * All nodes of the polygon shall be considered relative to the shape's reference point. -# * -# * @field height: the optional height, present if the shape is a right prism extending in the positive z-axis. -# * -# * @category GeoReference information -# * @revision: created in V2.1.1 -# * -# CartesianPosition3d shape_reference_point bool shape_reference_point_is_present SequenceOfCartesianPosition3d polygon -int64 POLYGON_MIN_SIZE = 3 -int64 POLYGON_MAX_SIZE = 16 +uint8 POLYGON_MIN_SIZE = 3 +uint8 POLYGON_MAX_SIZE = 16 StandardLength12b height bool height_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PosConfidenceEllipse.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PosConfidenceEllipse.msg index 4eeef107..fef6e557 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PosConfidenceEllipse.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/PosConfidenceEllipse.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,33 +25,33 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF indicates the horizontal position confidence ellipse which represents the estimated accuracy with a +# * confidence level of 95 %. The centre of the ellipse shape corresponds to the reference +# * position point for which the position accuracy is evaluated. +# * +# * It shall include the following components: +# * +# * @field semiMajorConfidence: half of length of the major axis, i.e. distance between the centre point +# * and major axis point of the position accuracy ellipse. +# * +# * @field semiMinorConfidence: half of length of the minor axis, i.e. distance between the centre point +# * and minor axis point of the position accuracy ellipse. +# * +# * @field semiMajorOrientation: orientation direction of the ellipse major axis of the position accuracy +# * ellipse with regards to the WGS84 north. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * +# * @category GeoReference information +# * @revision: V1.3.1 +# */ # PosConfidenceEllipse ::= SEQUENCE { # semiMajorConfidence SemiAxisLength, # semiMinorConfidence SemiAxisLength, # semiMajorOrientation HeadingValue # } # ------------------------------------------------------------------------------ -# * -# * This DF indicates the horizontal position confidence ellipse which represents the estimated accuracy with a -# * confidence level of 95 %. The centre of the ellipse shape corresponds to the reference -# * position point for which the position accuracy is evaluated. -# * -# * It shall include the following components: -# * -# * @field semiMajorConfidence: half of length of the major axis, i.e. distance between the centre point -# * and major axis point of the position accuracy ellipse. -# * -# * @field semiMinorConfidence: half of length of the minor axis, i.e. distance between the centre point -# * and minor axis point of the position accuracy ellipse. -# * -# * @field semiMajorOrientation: orientation direction of the ellipse major axis of the position accuracy -# * ellipse with regards to the WGS84 north. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * -# * @category GeoReference information -# * @revision: V1.3.1 -# SemiAxisLength semi_major_confidence diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShape.msg index bbc8400c..2af9f5e3 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,40 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF describes a radial shape. The triangular or cone-shaped volume is +# * constructed by sweeping the provided range about the reference point between a horizontal start +# * and a horizontal end angle in positive angular direction of the WGS84 +# * coordinate system. A vertical opening angle may be provided in a Cartesian coordinate system with +# * the x-axis located in the North-East plane of the WGS84 coordinate system. The sensor height may +# * be provided to reflect characteristics of sensors mounted at an altitude (e.g. sensors mounted +# * above intersections). +# * +# * It shall include the following components: +# * +# * @field shapeReferencePoint: the optional reference point used for the definition of the shape, relative to an externally specified reference position. +# * If this component is absent, the externally specified reference position represents the shape's reference point. +# * +# * @field range: the radial range of the shape from the shape's reference point. +# * +# * @field stationaryHorizontalOpeningAngleStart: the orientation indicating the beginning of the +# * shape's horizontal opening angle in positive angular direction with respect to the +# * WGS84 coordinate system. +# * +# * @field stationaryHorizontalOpeningAngleEnd: The orientation indicating the end of the shape's +# * horizontal opening angle in positive angular direction with respect to the WGS84 coordinate system. +# * +# * @field verticalOpeningAngleStart: optional orientation indicating the beginning of the shape's +# * opening angle in positive angular direction of a Cartesian coordinate system with its x-axis +# * located in the north-east plane of the WGS84 coordinate system. +# * +# * @field verticalOpeningAngleEnd: optional orientation indicating the end of the shape's +# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis +# * located in the north-east plane of the WGS84 coordinate system. +# * +# * @category GeoReference information +# * @revision: created in V2.1.1 +# */ # RadialShape ::= SEQUENCE { # shapeReferencePoint CartesianPosition3d OPTIONAL, # range StandardLength12b, @@ -35,40 +68,6 @@ # verticalOpeningAngleEnd CartesianAngleValue OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF describes a radial shape. The triangular or cone-shaped volume is -# * constructed by sweeping the provided range about the reference point between a horizontal start -# * and a horizontal end angle in positive angular direction of the WGS84 -# * coordinate system. A vertical opening angle may be provided in a Cartesian coordinate system with -# * the x-axis located in the North-East plane of the WGS84 coordinate system. The sensor height may -# * be provided to reflect characteristics of sensors mounted at an altitude (e.g. sensors mounted -# * above intersections). -# * -# * It shall include the following components: -# * -# * @field shapeReferencePoint: the optional reference point used for the definition of the shape, relative to an externally specified reference position. -# * If this component is absent, the externally specified reference position represents the shape's reference point. -# * -# * @field range: the radial range of the shape from the shape's reference point. -# * -# * @field stationaryHorizontalOpeningAngleStart: the orientation indicating the beginning of the -# * shape's horizontal opening angle in positive angular direction with respect to the -# * WGS84 coordinate system. -# * -# * @field stationaryHorizontalOpeningAngleEnd: The orientation indicating the end of the shape's -# * horizontal opening angle in positive angular direction with respect to the WGS84 coordinate system. -# * -# * @field verticalOpeningAngleStart: optional orientation indicating the beginning of the shape's -# * opening angle in positive angular direction of a Cartesian coordinate system with its x-axis -# * located in the north-east plane of the WGS84 coordinate system. -# * -# * @field verticalOpeningAngleEnd: optional orientation indicating the end of the shape's -# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis -# * located in the north-east plane of the WGS84 coordinate system. -# * -# * @category GeoReference information -# * @revision: created in V2.1.1 -# CartesianPosition3d shape_reference_point bool shape_reference_point_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapeDetails.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapeDetails.msg index 18542a37..0ab81937 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapeDetails.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapeDetails.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,36 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF describes a radial shape details. The triangular or cone-shaped volume is +# * constructed by sweeping the provided range about the reference point or about the offset +# * point (if provided) between a horizontal start and a horizontal end angle in positive angular direction of the WGS84 +# * coordinate system. A vertical opening angle may be provided in a Cartesian coordinate system with +# * the x-axis located in the North-East plane of the WGS84 coordinate system. The sensor height may +# * be provided to reflect characteristics of sensors mounted at an altitude (e.g. sensors mounted +# * above intersections). +# * +# * It shall include the following components: +# * +# * @field range: the radial range of the sensor from the reference point or sensor point offset. +# * +# * @field horizontalOpeningAngleStart: the orientation indicating the beginning of the +# * shape's horizontal opening angle in positive angular direction. +# * +# * @field horizontalOpeningAngleEnd: The orientation indicating the end of the shape's horizontal +# * opening angle in positive angular direction. +# * +# * @field verticalOpeningAngleStart: optional orientation indicating the beginning of the shape's +# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis +# * located in the north-east plane of the WGS84 coordinate system. +# * +# * @field verticalOpeningAngleEnd: optional orientation indicating the end of the shape's +# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis +# * located in the north-east plane of the WGS84 coordinate system. +# * +# * @category: Georeference information +# * @revision: created in V2.1.1 +# */ # RadialShapeDetails ::= SEQUENCE { # range StandardLength12b, # horizontalOpeningAngleStart CartesianAngleValue, @@ -34,36 +63,6 @@ # verticalOpeningAngleEnd CartesianAngleValue OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF describes a radial shape details. The triangular or cone-shaped volume is -# * constructed by sweeping the provided range about the reference point or about the offset -# * point (if provided) between a horizontal start and a horizontal end angle in positive angular direction of the WGS84 -# * coordinate system. A vertical opening angle may be provided in a Cartesian coordinate system with -# * the x-axis located in the North-East plane of the WGS84 coordinate system. The sensor height may -# * be provided to reflect characteristics of sensors mounted at an altitude (e.g. sensors mounted -# * above intersections). -# * -# * It shall include the following components: -# * -# * @field range: the radial range of the sensor from the reference point or sensor point offset. -# * -# * @field horizontalOpeningAngleStart: the orientation indicating the beginning of the -# * shape's horizontal opening angle in positive angular direction. -# * -# * @field horizontalOpeningAngleEnd: The orientation indicating the end of the shape's horizontal -# * opening angle in positive angular direction. -# * -# * @field verticalOpeningAngleStart: optional orientation indicating the beginning of the shape's -# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis -# * located in the north-east plane of the WGS84 coordinate system. -# * -# * @field verticalOpeningAngleEnd: optional orientation indicating the end of the shape's -# * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis -# * located in the north-east plane of the WGS84 coordinate system. -# * -# * @category: Georeference information -# * @revision: created in V2.1.1 -# StandardLength12b range diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapes.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapes.msg index 66b7e418..434b4bbf 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapes.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapes.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF describes a list of radial shapes. +# * +# * It shall include the following components: +# +# * @field refPointId: the identification of the reference point in case of a sensor mounted to trailer. Defaults to ITS ReferencePoint (0). +# * +# * @field xCoordinate: the x-coordinate of the offset point. +# * +# * @field yCoordinate: the y-coordinate of the offset point. +# * +# * @field zCoordinate: the optional z-coordinate of the offset point. +# * +# * @field radialShapesList: the list of radial shape details. +# * +# * @category: Georeference information +# * @revision: created in V2.1.1 +# */ # RadialShapes ::= SEQUENCE { # refPointId Identifier1B, # xCoordinate CartesianCoordinateSmall, @@ -34,24 +51,6 @@ # radialShapesList RadialShapesList # } # ------------------------------------------------------------------------------ -# * -# * This DF describes a list of radial shapes. -# * -# * It shall include the following components: -# -# * @field refPointId: the identification of the reference point in case of a sensor mounted to trailer. Defaults to ITS ReferencePoint (0). -# * -# * @field xCoordinate: the x-coordinate of the offset point. -# * -# * @field yCoordinate: the y-coordinate of the offset point. -# * -# * @field zCoordinate: the optional z-coordinate of the offset point. -# * -# * @field radialShapesList: the list of radial shape details. -# * -# * @category: Georeference information -# * @revision: created in V2.1.1 -# Identifier1B ref_point_id diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapesList.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapesList.msg index 9eadfbd0..c5da09ba 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapesList.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RadialShapesList.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DF contains a list of @ref RadialShapeDetails. +# * +# * @category: Georeference information +# * @revision: created in V2.1.1 +# */ # RadialShapesList ::= SEQUENCE SIZE(1..16,...) OF RadialShapeDetails # ------------------------------------------------------------------------------ -# * -# * The DF contains a list of @ref RadialShapeDetails. -# * -# * @category: Georeference information -# * @revision: created in V2.1.1 -# RadialShapeDetails[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 16 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RectangularShape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RectangularShape.msg index b2167c4a..58d86ac9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RectangularShape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RectangularShape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,25 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the shape of a rectangular area or a right rectangular prism that is centred on a reference position defined outside of the context of this DF. +# * +# * It shall include the following components: +# * +# * @field centerPoint: represents an optional offset point which the rectangle is centred on with respect to the reference position. +# * +# * @field semiLength: represents half the length of the rectangle. +# * +# * @field semiBreadth: represents half the breadth of the rectangle. +# * +# * @field orientation: represents the optional orientation of the lenght of the rectangle in the WGS84 coordinate system. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * @field height: represents the optional height, present if the shape is a right rectangular prism with height extending in the positive z-axis. +# * +# * @category GeoReference information +# * @revision: created in V2.1.1 +# */ # RectangularShape ::= SEQUENCE { # centerPoint CartesianPosition3d OPTIONAL, # semiLength StandardLength12b, @@ -34,25 +52,6 @@ # height StandardLength12b OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the shape of a rectangular area or a right rectangular prism that is centred on a reference position defined outside of the context of this DF. -# * -# * It shall include the following components: -# * -# * @field centerPoint: represents an optional offset point which the rectangle is centred on with respect to the reference position. -# * -# * @field semiLength: represents half the length of the rectangle. -# * -# * @field semiBreadth: represents half the breadth of the rectangle. -# * -# * @field orientation: represents the optional orientation of the lenght of the rectangle in the WGS84 coordinate system. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * @field height: represents the optional height, present if the shape is a right rectangular prism with height extending in the positive z-axis. -# * -# * @category GeoReference information -# * @revision: created in V2.1.1 -# CartesianPosition3d center_point bool center_point_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ReferencePosition.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ReferencePosition.msg index 53fe1778..55b583d0 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ReferencePosition.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/ReferencePosition.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * A position within a geographic coordinate system together with a confidence ellipse. +# * +# * It shall include the following components: +# * +# * @field latitude: the latitude of the geographical point. +# * +# * @field longitude: the longitude of the geographical point. +# * +# * @field positionConfidenceEllipse: the confidence ellipse associated to the geographical position. +# * +# * @field altitude: the altitude and an altitude accuracy of the geographical point. +# * +# * @note: this DE is kept for backwards compatibility reasons only. It is recommended to use the @ref ReferencePositionWithConfidence instead. +# * @category: GeoReference information +# * @revision: description updated in V2.1.1 +# */ # ReferencePosition ::= SEQUENCE { # latitude Latitude, # longitude Longitude, @@ -33,23 +49,6 @@ # altitude Altitude # } # ------------------------------------------------------------------------------ -# * -# * A position within a geographic coordinate system together with a confidence ellipse. -# * -# * It shall include the following components: -# * -# * @field latitude: the latitude of the geographical point. -# * -# * @field longitude: the longitude of the geographical point. -# * -# * @field positionConfidenceEllipse: the confidence ellipse associated to the geographical position. -# * -# * @field altitude: the altitude and an altitude accuracy of the geographical point. -# * -# * @note: this DE is kept for backwards compatibility reasons only. It is recommended to use the @ref ReferencePositionWithConfidence instead. -# * @category: GeoReference information -# * @revision: description updated in V2.1.1 -# Latitude latitude diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RoadSegmentReferenceId.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RoadSegmentReferenceId.msg index ac5b2257..65e82f98 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RoadSegmentReferenceId.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/RoadSegmentReferenceId.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,25 +25,25 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a unique id for a road segment +# * +# * It shall include the following components: +# * +# * @field region: the optional identifier of the entity that is responsible for the region in which the road segment is placed. +# * It is the duty of that entity to guarantee that the @ref Id is unique within the region. +# * +# * @field id: the identifier of the road segment. +# * +# * @note: when the component region is present, the RoadSegmentReferenceId is guaranteed to be globally unique. +# * @category: GeoReference information +# * @revision: created in V2.1.1 +# */ # RoadSegmentReferenceId ::= SEQUENCE { # region Identifier2B OPTIONAL, # id Identifier2B # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a unique id for a road segment -# * -# * It shall include the following components: -# * -# * @field region: the optional identifier of the entity that is responsible for the region in which the road segment is placed. -# * It is the duty of that entity to guarantee that the @ref Id is unique within the region. -# * -# * @field id: the identifier of the road segment. -# * -# * @note: when the component region is present, the RoadSegmentReferenceId is guaranteed to be globally unique. -# * @category: GeoReference information -# * @revision: created in V2.1.1 -# Identifier2B region bool region_is_present diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SemiAxisLength.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SemiAxisLength.msg index 9ca2696b..322019bc 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SemiAxisLength.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SemiAxisLength.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,31 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the horizontal position confidence value which represents the estimated absolute position accuracy, in one of the axis direction as defined in a shape of ellipse with a +# * confidence level of 95 %. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 4 094`) if the accuracy is equal to or less than n * 0,01 metre, +# * - `4 094` if the accuracy is out of range, i.e. greater than 4,093 m, +# * - `4 095` if the accuracy information is unavailable. +# * +# * The value 0 shall not be used. +# * +# * @note: The fact that a position coordinate value is received with confidence value set to `unavailable(4095)`. +# * can be caused by several reasons, such as: +# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, +# * - the sensor cannot calculate the accuracy due to lack of variables, or +# * - there has been a vehicle bus (e.g. CAN bus) error. +# * In all 3 cases above, the position coordinate value may be valid and used by the application. +# * If a position coordinate value is received and its confidence value is set to `outOfRange(4094)`, it means that +# * the position coordinate value is not valid and therefore cannot be trusted. Such value is not useful +# * for the application. +# +# * @unit 0,01 metre +# * @category: GeoReference Information +# * @revision: Description revised in V2.1.1 +# */ # SemiAxisLength ::= INTEGER{ # doNotUse (0), # outOfRange (4094), @@ -39,3 +63,4 @@ uint16 MAX = 4095 uint16 DO_NOT_USE = 0 uint16 OUT_OF_RANGE = 4094 uint16 UNAVAILABLE = 4095 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformation.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformation.msg index f5ffb3b4..471ad4d9 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformation.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformation.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the characteristics of a single sensor or data fusion system. +# * +# * It shall include the following components: +# * +# * @field sensorId: identifier of the sensor or data fusion system used to relate the perceived object in the Perceived Object Container to the sensor that detected it. +# * this identifier shall uniquely identify the sensor inside the CPM, but may be changed from one CPM to the next. +# * +# * @field sensorType: the type of the sensor. +# * +# * @field perceptionRegionShape: the perception region of the sensor. +# * +# * @field perceptionRegionConfidence: the homogeneous perception region confidence that can be assumed for the entire perception region shape of this sensor. +# * +# * @field shadowingApplies: indicates if the standard shadowing approach applies to the described perception region. +# * +# */ # SensorInformation ::= SEQUENCE { # sensorId Identifier1B, # sensorType SensorType, @@ -35,23 +51,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the characteristics of a single sensor or data fusion system. -# * -# * It shall include the following components: -# * -# * @field sensorId: identifier of the sensor or data fusion system used to relate the perceived object in the Perceived Object Container to the sensor that detected it. -# * this identifier shall uniquely identify the sensor inside the CPM, but may be changed from one CPM to the next. -# * -# * @field sensorType: the type of the sensor. -# * -# * @field perceptionRegionShape: the perception region of the sensor. -# * -# * @field perceptionRegionConfidence: the homogeneous perception region confidence that can be assumed for the entire perception region shape of this sensor. -# * -# * @field shadowingApplies: indicates if the standard shadowing approach applies to the described perception region. -# * -# Identifier1B sensor_id diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformationContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformationContainer.msg index 6605c5e3..21fed60c 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformationContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorInformationContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,12 +25,13 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the Sensor Information Container as a list of information objects about the sensors or data fusion systems from which the station provides information about detected objects. +# */ # SensorInformationContainer ::= SEQUENCE SIZE(1..128, ...) OF SensorInformation # ------------------------------------------------------------------------------ -# * -# * This DF represents the Sensor Information Container as a list of information objects about the sensors or data fusion systems from which the station provides information about detected objects. -# SensorInformation[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 128 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 128 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorType.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorType.msg index 0f151b8a..36a5e41c 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorType.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SensorType.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,29 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the type of sensor. +# * +# * The value shall be set to: +# * - 0 `undefined` - in case the sensor type is undefined. +# * - 1 `radar` - in case the sensor is a radar, +# * - 2 `lidar` - in case the sensor is a lidar, +# * - 3 `monovideo` - in case the sensor is mono video, +# * - 4 `stereovision` - in case the sensor is stereo vision, +# * - 5 `nightvision` - in case the sensor is night vision, +# * - 6 `ultrasonic` - in case the sensor is ultrasonic, +# * - 7 `pmd` - in case the sensor is photonic mixing device, +# * - 8 `inductionLoop` - in case the sensor is an induction loop, +# * - 9 `sphericalCamera` - in case the sensor is a spherical camera, +# * - 10 `uwb` - in case the sensor is ultra wide band, +# * - 11 `acoustic` - in case the sensor is acoustic, +# * - 12 `localAggregation` - in case the information is provided by a system that aggregates information from different local sensors. Aggregation may include fusion, +# * - 13 `itsAggregation` - in case the information is provided by a system that aggregates information from other received ITS messages. +# * - 14-31 - are reserved for future usage. +# * +# * @category: Sensing Information +# * @revision: created in V2.1.1 +# */ # SensorType ::= INTEGER { # undefined (0), # radar (1), @@ -43,29 +65,6 @@ # itsAggregation (13) # } (0..31) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the type of sensor. -# * -# * The value shall be set to: -# * - 0 `undefined` - in case the sensor type is undefined. -# * - 1 `radar` - in case the sensor is a radar, -# * - 2 `lidar` - in case the sensor is a lidar, -# * - 3 `monovideo` - in case the sensor is mono video, -# * - 4 `stereovision` - in case the sensor is stereo vision, -# * - 5 `nightvision` - in case the sensor is night vision, -# * - 6 `ultrasonic` - in case the sensor is ultrasonic, -# * - 7 `pmd` - in case the sensor is photonic mixing device, -# * - 8 `inductionLoop` - in case the sensor is an induction loop, -# * - 9 `sphericalCamera` - in case the sensor is a spherical camera, -# * - 10 `uwb` - in case the sensor is ultra wide band, -# * - 11 `acoustic` - in case the sensor is acoustic, -# * - 12 `localAggregation` - in case the information is provided by a system that aggregates information from different local sensors. Aggregation may include fusion, -# * - 13 `itsAggregation` - in case the information is provided by a system that aggregates information from other received ITS messages. -# * - 14-31 - are reserved for future usage. -# * -# * @category: Sensing Information -# * @revision: created in V2.1.1 -# uint8 value uint8 MIN = 0 @@ -84,3 +83,4 @@ uint8 UWB = 10 uint8 ACOUSTIC = 11 uint8 LOCAL_AGGREGATION = 12 uint8 ITS_AGGREGATION = 13 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfCartesianPosition3d.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfCartesianPosition3d.msg index 4d2dc2e5..c2678e52 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfCartesianPosition3d.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfCartesianPosition3d.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF shall contain a list of DF @ref CartesianPosition3d. +# * +# * @category: GeoReference information +# * @revision: created in V2.1.1 +# */ # SequenceOfCartesianPosition3d ::= SEQUENCE (SIZE(1..16, ...)) OF CartesianPosition3d # ------------------------------------------------------------------------------ -# * -# * This DF shall contain a list of DF @ref CartesianPosition3d. -# * -# * @category: GeoReference information -# * @revision: created in V2.1.1 -# CartesianPosition3d[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 16 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfIdentifier1B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfIdentifier1B.msg index 7f89ad16..d0794099 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfIdentifier1B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SequenceOfIdentifier1B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,16 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DF contains a list of DE @ref Identifier1B. +# * +# * @category: Basic information +# * @revision: created in V2.1.1 +# */ # SequenceOfIdentifier1B ::= SEQUENCE SIZE(1..128, ...) OF Identifier1B # ------------------------------------------------------------------------------ -# * -# * The DF contains a list of DE @ref Identifier1B. -# * -# * @category: Basic information -# * @revision: created in V2.1.1 -# Identifier1B[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 128 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 128 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Shape.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Shape.msg index 74733dca..8cc0f53a 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Shape.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Shape.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides the definition of a geographical area or volume, based on different options. +# * +# * It is a choice of the following components: +# * +# * @field rectangular: definition of an rectangular area or a right rectangular prism (with a rectangular base) also called a cuboid, or informally a rectangular box. +# * +# * @field circular: definition of an area of circular shape or a right circular cylinder. +# * +# * @field polygonal: definition of an area of polygonal shape or a right prism. +# * +# * @field elliptical: definition of an area of elliptical shape or a right elliptical cylinder. +# * +# * @field radial: definition of a radial shape. +# * +# * @field radialList: definition of list of radial shapes. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # Shape::= CHOICE { # rectangular RectangularShape, # circular CircularShape, @@ -36,26 +55,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF provides the definition of a geographical area or volume, based on different options. -# * -# * It is a choice of the following components: -# * -# * @field rectangular: definition of an rectangular area or a right rectangular prism (with a rectangular base) also called a cuboid, or informally a rectangular box. -# * -# * @field circular: definition of an area of circular shape or a right circular cylinder. -# * -# * @field polygonal: definition of an area of polygonal shape or a right prism. -# * -# * @field elliptical: definition of an area of elliptical shape or a right elliptical cylinder. -# * -# * @field radial: definition of a radial shape. -# * -# * @field radialList: definition of list of radial shapes. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Speed.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Speed.msg index 40d727dd..cb129ed1 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Speed.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Speed.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents the speed and associated confidence value. +# * +# * It shall include the following components: +# * +# * @field speedValue: the speed value. +# * +# * @field speedConfidence: the confidence value of the speed value. +# * +# * @category: Kinematic information +# * @revision: V1.3.1 +# */ # Speed ::= SEQUENCE { # speedValue SpeedValue, # speedConfidence SpeedConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents the speed and associated confidence value. -# * -# * It shall include the following components: -# * -# * @field speedValue: the speed value. -# * -# * @field speedConfidence: the confidence value of the speed value. -# * -# * @category: Kinematic information -# * @revision: V1.3.1 -# SpeedValue speed_value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedConfidence.msg index 47c72b18..9b14b5ba 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,36 +25,37 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the speed confidence value which represents the estimated absolute accuracy of a speed value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 126`) if the confidence value is equal to or less than n * 0,01 m/s. +# * - `126` if the confidence value is out of range, i.e. greater than 1,25 m/s, +# * - `127` if the confidence value information is not available. +# * +# * @note: The fact that a speed value is received with confidence value set to `unavailable(127)` can be caused by several reasons, such as: +# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, +# * - the sensor cannot calculate the accuracy due to lack of variables, or +# * - there has been a vehicle bus (e.g. CAN bus) error. +# * In all 3 cases above, the speed value may be valid and used by the application. +# * +# * @note: If a speed value is received and its confidence value is set to `outOfRange(126)`, it means that the speed value is not valid +# * and therefore cannot be trusted. Such is not useful for the application. +# * +# * @unit: 0,01 m/s +# * @category: Vehicle information +# * @revision: Description revised in V2.1.1 +# */ # SpeedConfidence ::= INTEGER { # outOfRange (126), # unavailable (127) # } (1..127) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the speed confidence value which represents the estimated absolute accuracy of a speed value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 126`) if the confidence value is equal to or less than n * 0,01 m/s. -# * - `126` if the confidence value is out of range, i.e. greater than 1,25 m/s, -# * - `127` if the confidence value information is not available. -# * -# * @note: The fact that a speed value is received with confidence value set to `unavailable(127)` can be caused by several reasons, such as: -# * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor, -# * - the sensor cannot calculate the accuracy due to lack of variables, or -# * - there has been a vehicle bus (e.g. CAN bus) error. -# * In all 3 cases above, the speed value may be valid and used by the application. -# * -# * @note: If a speed value is received and its confidence value is set to `outOfRange(126)`, it means that the speed value is not valid -# * and therefore cannot be trusted. Such is not useful for the application. -# * -# * @unit: 0,01 m/s -# * @category: Vehicle information -# * @revision: Description revised in V2.1.1 -# uint8 value uint8 MIN = 1 uint8 MAX = 127 uint8 OUT_OF_RANGE = 126 uint8 UNAVAILABLE = 127 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedValue.msg index 2f234007..e55de1a6 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/SpeedValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,27 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents a speed value, i.e. the magnitude of the velocity-vector. +# * +# * The value shall be set to: +# * - `0` in a standstill situation. +# * - `n` (`n > 0` and `n < 16 382`) if the applicable value is equal to or less than n x 0,01 m/s, and greater than (n-1) x 0,01 m/s, +# * - `16 382` for speed values greater than 163,81 m/s, +# * - `16 383` if the speed accuracy information is not available. +# * +# * @note: the definition of standstill is out of scope of the present document. +# * +# * @unit: 0,01 m/s +# * @category: Kinematic information +# * @revision: Description revised in V2.1.1 (the meaning of 16382 has changed slightly) +# */ # SpeedValue ::= INTEGER { # standstill (0), # outOfRange (16382), # unavailable (16383) # } (0..16383) # ------------------------------------------------------------------------------ -# * -# * This DE represents a speed value, i.e. the magnitude of the velocity-vector. -# * -# * The value shall be set to: -# * - `0` in a standstill situation. -# * - `n` (`n > 0` and `n < 16 382`) if the applicable value is equal to or less than n x 0,01 m/s, and greater than (n-1) x 0,01 m/s, -# * - `16 382` for speed values greater than 163,81 m/s, -# * - `16 383` if the speed accuracy information is not available. -# * -# * @note: the definition of standstill is out of scope of the present document. -# * -# * @unit: 0,01 m/s -# * @category: Kinematic information -# * @revision: Description revised in V2.1.1 (the meaning of 16382 has changed slightly) -# uint16 value uint16 MIN = 0 @@ -54,3 +53,4 @@ uint16 MAX = 16383 uint16 STANDSTILL = 0 uint16 OUT_OF_RANGE = 16382 uint16 UNAVAILABLE = 16383 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength12b.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength12b.msg index d701c64c..7a91bcf2 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength12b.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength12b.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,15 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents length as a measure of distance between points or as a dimension of an object or shape. +# * +# * @unit: 0,1 metre +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # StandardLength12b::= INTEGER (0..4095) # ------------------------------------------------------------------------------ -# * -# * The DE represents length as a measure of distance between points or as a dimension of an object or shape. -# * -# * @unit: 0,1 metre -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength1B.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength1B.msg index 308207d9..122ee6ce 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength1B.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StandardLength1B.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,15 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * The DE represents length as a measure of distance between points or as a dimension of an object. +# * +# * @unit: 0,1 metre +# * @category: Basic information +# * @revision: Created in V2.1.1 +# */ # StandardLength1B::= INTEGER (0..255) # ------------------------------------------------------------------------------ -# * -# * The DE represents length as a measure of distance between points or as a dimension of an object. -# * -# * @unit: 0,1 metre -# * @category: Basic information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StationId.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StationId.msg index 2e86839e..1f0c6a77 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StationId.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/StationId.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,15 +25,15 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the identifier of an ITS-S. +# * The ITS-S ID may be a pseudonym. It may change over space and/or over time. +# * +# * @category: Basic information +# * @revision: Created in V2.1.1 based on @ref StationID +# */ # StationId ::= INTEGER(0..4294967295) # ------------------------------------------------------------------------------ -# * -# * This DE represents the identifier of an ITS-S. -# * The ITS-S ID may be a pseudonym. It may change over space and/or over time. -# * -# * @category: Basic information -# * @revision: Created in V2.1.1 based on @ref StationID -# uint32 value uint32 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TimestampIts.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TimestampIts.msg index e76b16eb..5f96e128 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TimestampIts.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TimestampIts.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the number of elapsed (TAI) milliseconds since the ITS Epoch. +# * The ITS epoch is `00:00:00.000 UTC, 1 January 2004`. +# * "Elapsed" means that the true number of milliseconds is continuously counted without interruption, +# * i.e. it is not altered by leap seconds, which occur in UTC. +# * +# * @note: International Atomic Time (TAI) is the time reference coordinate on the basis of the readings of atomic clocks, +# * operated in accordance with the definition of the second, the unit of time of the International System of Units. +# * TAI is a continuous time scale. UTC has discontinuities, as it is occasionally adjusted by leap seconds. +# * As of 1 January, 2022, TimestampIts is 5 seconds ahead of UTC, because since the ITS epoch on 1 January 2004 00:00:00.000 UTC, +# * further 5 leap seconds have been inserted in UTC. +# * +# * EXAMPLE: The value for TimestampIts for 1 January 2007 00:00:00.000 UTC is `94 694 401 000` milliseconds, +# * which includes one leap second insertion since the ITS epoch. +# * @unit: 0,001 s +# * @category: Basic information +# * @revision: Description revised in in V2.1.1 +# */ # TimestampIts ::= INTEGER (0..4398046511103) # ------------------------------------------------------------------------------ -# * -# * This DE represents the number of elapsed (TAI) milliseconds since the ITS Epoch. -# * The ITS epoch is `00:00:00.000 UTC, 1 January 2004`. -# * "Elapsed" means that the true number of milliseconds is continuously counted without interruption, -# * i.e. it is not altered by leap seconds, which occur in UTC. -# * -# * @note: International Atomic Time (TAI) is the time reference coordinate on the basis of the readings of atomic clocks, -# * operated in accordance with the definition of the second, the unit of time of the International System of Units. -# * TAI is a continuous time scale. UTC has discontinuities, as it is occasionally adjusted by leap seconds. -# * As of 1 January, 2022, TimestampIts is 5 seconds ahead of UTC, because since the ITS epoch on 1 January 2004 00:00:00.000 UTC, -# * further 5 leap seconds have been inserted in UTC. -# * -# * EXAMPLE: The value for TimestampIts for 1 January 2007 00:00:00.000 UTC is `94 694 401 000` milliseconds, -# * which includes one leap second insertion since the ITS epoch. -# * @unit: 0,001 s -# * @category: Basic information -# * @revision: Description revised in in V2.1.1 -# uint64 value uint64 MIN = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrafficParticipantType.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrafficParticipantType.msg index 52b5694e..f4019966 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrafficParticipantType.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrafficParticipantType.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,32 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the type of a traffic participant. +# * +# * The value shall be set to: +# * - 0 `unknown` - information about traffic participant is not provided, +# * - 1 `pedestrian` - human being not using a mechanical device for their trip (VRU profile 1), +# * - 2 `cyclist` - non-motorized unicycles, bicycles , tricycles, quadracycles (VRU profile 2), +# * - 3 `moped` - light motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class L1, L2 (VRU Profile 3), +# * - 4 `motorcycles` - motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class L3, L4, L5, L6, L7 (VRU Profile 3), +# * - 5 `passengerCar` - small passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class M1, +# * - 6 `bus` - large passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class M2, M3, +# * - 7 `lightTruck` - light Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class N1, +# * - 8 `heavyTruck` - Heavy Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class N2 and N3, +# * - 9 `trailer` - unpowered vehicle that is intended to be towed by a powered vehicle as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class O, +# * - 10 `specialVehicles` - vehicles which have special purposes other than the above (e.g. moving road works vehicle), +# * - 11 `tram` - vehicle which runs on tracks along public streets, +# * - 12 `lightVruVehicle` - human being traveling on light vehicle, incl. possible use of roller skates or skateboards (VRU profile 2), +# * - 13 `animal` - animal presenting a safety risk to other road users e.g. domesticated dog in a city or horse (VRU Profile 4), +# * - 14 `agricultural` - agricultural and forestry vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class T, +# * - 15 `roadSideUnit` - infrastructure typically positioned outside of the drivable roadway (e.g. on a gantry, on a pole, +# on a stationary road works trailer); the infrastructure is static during the entire operation period of the ITS-S (e.g. no stop and go activity), +# * - 16-255 - are reserved for future usage. +# * +# * @category: Communication information. +# * @revision: Created in V2.1.1 based on StationType +# */ # TrafficParticipantType ::= INTEGER { # unknown (0), # pedestrian (1), @@ -45,32 +70,6 @@ # roadSideUnit (15) # } (0..255) # ------------------------------------------------------------------------------ -# * -# * This DE represents the type of a traffic participant. -# * -# * The value shall be set to: -# * - 0 `unknown` - information about traffic participant is not provided, -# * - 1 `pedestrian` - human being not using a mechanical device for their trip (VRU profile 1), -# * - 2 `cyclist` - non-motorized unicycles, bicycles , tricycles, quadracycles (VRU profile 2), -# * - 3 `moped` - light motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class L1, L2 (VRU Profile 3), -# * - 4 `motorcycles` - motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class L3, L4, L5, L6, L7 (VRU Profile 3), -# * - 5 `passengerCar` - small passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class M1, -# * - 6 `bus` - large passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class M2, M3, -# * - 7 `lightTruck` - light Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class N1, -# * - 8 `heavyTruck` - Heavy Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class N2 and N3, -# * - 9 `trailer` - unpowered vehicle that is intended to be towed by a powered vehicle as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class O, -# * - 10 `specialVehicles` - vehicles which have special purposes other than the above (e.g. moving road works vehicle), -# * - 11 `tram` - vehicle which runs on tracks along public streets, -# * - 12 `lightVruVehicle` - human being traveling on light vehicle, incl. possible use of roller skates or skateboards (VRU profile 2), -# * - 13 `animal` - animal presenting a safety risk to other road users e.g. domesticated dog in a city or horse (VRU Profile 4), -# * - 14 `agricultural` - agricultural and forestry vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [16] class T, -# * - 15 `roadSideUnit` - infrastructure typically positioned outside of the drivable roadway (e.g. on a gantry, on a pole, -# on a stationary road works trailer); the infrastructure is static during the entire operation period of the ITS-S (e.g. no stop and go activity), -# * - 16-255 - are reserved for future usage. -# * -# * @category: Communication information. -# * @revision: Created in V2.1.1 based on StationType -# uint8 value uint8 MIN = 0 @@ -91,3 +90,4 @@ uint8 LIGHT_VRU_VEHICLE = 12 uint8 ANIMAL = 13 uint8 AGRICULTURAL = 14 uint8 ROAD_SIDE_UNIT = 15 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerData.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerData.msg index 87989cad..7e9a3306 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerData.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerData.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,37 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides detailed information about an attached trailer. +# * +# * It shall include the following components: +# * +# * @field refPointId: identifier of the reference point of the trailer. +# * +# * @field hitchPointOffset: optional position of the hitch point in negative x-direction (according to ISO 8855) from the +# * vehicle Reference Point. +# * +# * @field frontOverhang: optional length of the trailer overhang in the positive x direction (according to ISO 8855) from the +# * trailer Reference Point indicated by the refPointID. The value defaults to 0 in case the trailer +# * is not overhanging to the front with respect to the trailer reference point. +# * +# * @field rearOverhang: optional length of the trailer overhang in the negative x direction (according to ISO 8855) from the +# * trailer Reference Point indicated by the refPointID. +# * +# * @field trailerWidth: optional width of the trailer. +# * +# * @field hitchAngle: optional Value and confidence value of the angle between the trailer orientation (corresponding to the x +# * direction of the ISO 8855 [21] coordinate system centered on the trailer) and the direction of +# * the segment having as end points the reference point of the trailer and the reference point of +# * the pulling vehicle, which can be another trailer or a vehicle looking on the horizontal plane +# * xy, described in the local Cartesian coordinate system of the trailer. The +# * angle is measured with negative values considering the trailer orientation turning clockwise +# * starting from the segment direction. The angle value accuracy is provided with the +# * confidence level of 95 %. +# * +# * @category: Vehicle information +# * @revision: Created in V2.1.1 +# */ # TrailerData ::= SEQUENCE { # refPointId Identifier1B, # hitchPointOffset StandardLength1B, @@ -36,37 +66,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF provides detailed information about an attached trailer. -# * -# * It shall include the following components: -# * -# * @field refPointId: identifier of the reference point of the trailer. -# * -# * @field hitchPointOffset: optional position of the hitch point in negative x-direction (according to ISO 8855) from the -# * vehicle Reference Point. -# * -# * @field frontOverhang: optional length of the trailer overhang in the positive x direction (according to ISO 8855) from the -# * trailer Reference Point indicated by the refPointID. The value defaults to 0 in case the trailer -# * is not overhanging to the front with respect to the trailer reference point. -# * -# * @field rearOverhang: optional length of the trailer overhang in the negative x direction (according to ISO 8855) from the -# * trailer Reference Point indicated by the refPointID. -# * -# * @field trailerWidth: optional width of the trailer. -# * -# * @field hitchAngle: optional Value and confidence value of the angle between the trailer orientation (corresponding to the x -# * direction of the ISO 8855 [21] coordinate system centered on the trailer) and the direction of -# * the segment having as end points the reference point of the trailer and the reference point of -# * the pulling vehicle, which can be another trailer or a vehicle looking on the horizontal plane -# * xy, described in the local Cartesian coordinate system of the trailer. The -# * angle is measured with negative values considering the trailer orientation turning clockwise -# * starting from the segment direction. The angle value accuracy is provided with the -# * confidence level of 95 %. -# * -# * @category: Vehicle information -# * @revision: Created in V2.1.1 -# Identifier1B ref_point_id diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerDataSet.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerDataSet.msg index a5221fef..1ecd4763 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerDataSet.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/TrailerDataSet.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,13 +25,14 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a list of trailer data. +# * +# */ # TrailerDataSet::= SEQUENCE SIZE(1..8,...) OF TrailerData (WITH COMPONENTS {... ,frontOverhang ABSENT, rearOverhang ABSENT, trailerWidth ABSENT}) # ------------------------------------------------------------------------------ -# * -# * This DF represents a list of trailer data. -# * -# TrailerData[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 8 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 8 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VehicleWidth.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VehicleWidth.msg index ac255b40..30097ba5 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VehicleWidth.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VehicleWidth.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,27 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the width of a vehicle, excluding side mirrors and possible similar extensions. +# +# * The value shall be set to: +# * - `n` (`n > 0` and `n < 61`) indicates the applicable value is equal to or less than n x 0,1 metre, and greater than (n-1) x 0,1 metre, +# * - `61` indicates that the vehicle width is greater than 6,0 metres, +# * - `62` indicates that the information in unavailable. +# * +# * @unit: 0,1 metre +# * @category: Vehicle information +# * @revision: Description updated in V2.1.1 (the meaning of 61 has changed slightly). +# */ # VehicleWidth ::= INTEGER { # outOfRange (61), # unavailable (62) # } (1..62) # ------------------------------------------------------------------------------ -# * -# * This DE represents the width of a vehicle, excluding side mirrors and possible similar extensions. -# -# * The value shall be set to: -# * - `n` (`n > 0` and `n < 61`) indicates the applicable value is equal to or less than n x 0,1 metre, and greater than (n-1) x 0,1 metre, -# * - `61` indicates that the vehicle width is greater than 6,0 metres, -# * - `62` indicates that the information in unavailable. -# * -# * @unit: 0,1 metre -# * @category: Vehicle information -# * @revision: Description updated in V2.1.1 (the meaning of 61 has changed slightly). -# uint8 value uint8 MIN = 1 uint8 MAX = 62 uint8 OUT_OF_RANGE = 61 uint8 UNAVAILABLE = 62 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Velocity3dWithConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Velocity3dWithConfidence.msg index 7f4798c4..41d76522 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Velocity3dWithConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Velocity3dWithConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a velocity vector with associated confidence value. +# * +# * The following options are available: +# * +# * @field polarVelocity: the representation of the velocity vector in a polar or cylindrical coordinate system. +# * +# * @field cartesianVelocity: the representation of the velocity vector in a cartesian coordinate system. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # Velocity3dWithConfidence::= CHOICE{ # polarVelocity VelocityPolarWithZ, # cartesianVelocity VelocityCartesian # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a velocity vector with associated confidence value. -# * -# * The following options are available: -# * -# * @field polarVelocity: the representation of the velocity vector in a polar or cylindrical coordinate system. -# * -# * @field cartesianVelocity: the representation of the velocity vector in a cartesian coordinate system. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityCartesian.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityCartesian.msg index 9c43d09a..b3202699 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityCartesian.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityCartesian.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a velocity vector in a cartesian coordinate system. +# +# * It shall include the following components: +# * +# * @field xVelocity: the x component of the velocity vector with the associated confidence value. +# * +# * @field yVelocity: the y component of the velocity vector with the associated confidence value. +# * +# * @field zVelocity: the optional z component of the velocity vector with the associated confidence value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # VelocityCartesian::= SEQUENCE { # xVelocity VelocityComponent, # yVelocity VelocityComponent, # zVelocity VelocityComponent OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a velocity vector in a cartesian coordinate system. -# -# * It shall include the following components: -# * -# * @field xVelocity: the x component of the velocity vector with the associated confidence value. -# * -# * @field yVelocity: the y component of the velocity vector with the associated confidence value. -# * -# * @field zVelocity: the optional z component of the velocity vector with the associated confidence value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# VelocityComponent x_velocity diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponent.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponent.msg index ba223b39..aadc625f 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponent.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponent.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,23 +25,23 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a component of the velocity vector and the associated confidence value. +# * +# * It shall include the following components: +# * +# * @field value: the value of the component. +# * +# * @field confidence: the confidence value of the value. +# * +# * @category: Kinematic information +# * @revision: V2.1.1 +# */ # VelocityComponent ::= SEQUENCE { # value VelocityComponentValue, # confidence SpeedConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a component of the velocity vector and the associated confidence value. -# * -# * It shall include the following components: -# * -# * @field value: the value of the component. -# * -# * @field confidence: the confidence value of the value. -# * -# * @category: Kinematic information -# * @revision: V2.1.1 -# VelocityComponentValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponentValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponentValue.msg index e0de187b..00ae0f35 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponentValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityComponentValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,25 +25,25 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents the value of a velocity component in a defined coordinate system. +# * +# * The value shall be set to: +# * - `-16 383` if the velocity is equal to or smaller than -163,83 m/s, +# * - `n` (`n > -16 383` and `n < 16 382`) if the applicable value is equal to or less than n x 0,01 m/s, and greater than (n-1) x 0,01 m/s, +# * - `16 382` for velocity values equal to or greater than 163,81 m/s, +# * - `16 383` if the velocity information is not available. +# * +# * @unit: 0,01 m/s +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # VelocityComponentValue ::= INTEGER { # negativeOutOfRange (-16383), # positiveOutOfRange (16382), # unavailable (16383) # } (-16383..16383) # ------------------------------------------------------------------------------ -# * -# * This DE represents the value of a velocity component in a defined coordinate system. -# * -# * The value shall be set to: -# * - `-16 383` if the velocity is equal to or smaller than -163,83 m/s, -# * - `n` (`n > -16 383` and `n < 16 382`) if the applicable value is equal to or less than n x 0,01 m/s, and greater than (n-1) x 0,01 m/s, -# * - `16 382` for velocity values equal to or greater than 163,81 m/s, -# * - `16 383` if the velocity information is not available. -# * -# * @unit: 0,01 m/s -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# int16 value int16 MIN = -16383 @@ -52,3 +51,4 @@ int16 MAX = 16383 int16 NEGATIVE_OUT_OF_RANGE = -16383 int16 POSITIVE_OUT_OF_RANGE = 16382 int16 UNAVAILABLE = 16383 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityPolarWithZ.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityPolarWithZ.msg index dd21a3ec..8345910d 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityPolarWithZ.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VelocityPolarWithZ.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,26 +25,26 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a velocity vector in a polar or cylindrical coordinate system. +# * +# * It shall include the following components: +# * +# * @field velocityMagnitude: magnitude of the velocity vector on the reference plane, with the associated confidence value. +# * +# * @field velocityDirection: polar angle of the velocity vector on the reference plane, with the associated confidence value. +# * +# * @field zVelocity: the optional z component of the velocity vector along the reference axis of the cylindrical coordinate system, with the associated confidence value. +# * +# * @category: Kinematic information +# * @revision: Created in V2.1.1 +# */ # VelocityPolarWithZ::= SEQUENCE { # velocityMagnitude Speed, # velocityDirection CartesianAngle, # zVelocity VelocityComponent OPTIONAL # } # ------------------------------------------------------------------------------ -# * -# * This DF represents a velocity vector in a polar or cylindrical coordinate system. -# * -# * It shall include the following components: -# * -# * @field velocityMagnitude: magnitude of the velocity vector on the reference plane, with the associated confidence value. -# * -# * @field velocityDirection: polar angle of the velocity vector on the reference plane, with the associated confidence value. -# * -# * @field zVelocity: the optional z component of the velocity vector along the reference axis of the cylindrical coordinate system, with the associated confidence value. -# * -# * @category: Kinematic information -# * @revision: Created in V2.1.1 -# Speed velocity_magnitude diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterInformation.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterInformation.msg index ac804638..fdd3b236 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterInformation.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterInformation.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,34 +25,37 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF provides information about a VRU cluster. +# * +# * It shall include the following components: +# * +# * @field clusterId: optional identifier of a VRU cluster . +# * +# * @field clusterBoundingBoxShape: optionally indicates the shape of the cluster bounding box. +# * +# * @field clusterCardinalitySize: indicates an estimation of the number of VRUs in the group, i.e. the known members in the cluster + 1 (for the cluster leader) . +# * +# * @field clusterProfiles: optionally identifies all the VRU profile types that are known to be within the cluster. +# * if this component is absent it means that the information is unavailable. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruClusterInformation ::= SEQUENCE { # clusterId Identifier1B OPTIONAL, # clusterBoundingBoxShape Shape (WITH COMPONENTS{..., elliptical ABSENT, radial ABSENT, radialShapes ABSENT}) OPTIONAL, +# clusterCardinalitySize CardinalNumber1B, +# clusterProfiles VruClusterProfiles OPTIONAL, +# ... +# } # ------------------------------------------------------------------------------ -# * -# * This DF provides information about a VRU cluster. -# * -# * It shall include the following components: -# * -# * @field clusterId: optional identifier of a VRU cluster . -# * -# * @field clusterBoundingBoxShape: optionally indicates the shape of the cluster bounding box. -# * -# * @field clusterCardinalitySize: indicates an estimation of the number of VRUs in the group, i.e. the known members in the cluster + 1 (for the cluster leader) . -# * -# * @field clusterProfiles: optionally identifies all the VRU profile types that are known to be within the cluster. -# * if this component is absent it means that the information is unavailable. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# Identifier1B cluster_id bool cluster_id_is_present Shape cluster_bounding_box_shape bool cluster_bounding_box_shape_is_present -int64 CLUSTER_BOUNDING_BOX_SHAPE_MIN = 0 CardinalNumber1B cluster_cardinality_size diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterProfiles.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterProfiles.msg index 4ba09183..144ef6cd 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterProfiles.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruClusterProfiles.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,21 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE Identifies all the VRU profile types within a cluster. +# * It consist of a Bitmap encoding VRU profiles, to allow multiple profiles to be indicated in a single cluster (heterogeneous cluster if more than one profile). +# * +# * The corresponding bit shall be set to 1 under the following conditions: +# * - 0 `pedestrian` - indicates that the VRU cluster contains at least one pedestrian VRU, +# * - 1 `bicycle` - indicates that the VRU cluster contains at least one bicycle VRU member, +# * - 2 `motorcyclist`- indicates that the VRU cluster contains at least one motorcycle VRU member, +# * - 3 `animal` - indicates that the VRU cluster contains at least one animal VRU member. +# * +# * Otherwise, the corresponding bit shall be set to 0. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruClusterProfiles ::= BIT STRING { # pedestrian (0), # bicyclist (1), @@ -33,21 +47,6 @@ # animal (3) # } (SIZE(4)) # ------------------------------------------------------------------------------ -# * -# * This DE Identifies all the VRU profile types within a cluster. -# * It consist of a Bitmap encoding VRU profiles, to allow multiple profiles to be indicated in a single cluster (heterogeneous cluster if more than one profile). -# * -# * The corresponding bit shall be set to 1 under the following conditions: -# * - 0 `pedestrian` - indicates that the VRU cluster contains at least one pedestrian VRU, -# * - 1 `bicycle` - indicates that the VRU cluster contains at least one bicycle VRU member, -# * - 2 `motorcyclist`- indicates that the VRU cluster contains at least one motorcycle VRU member, -# * - 3 `animal` - indicates that the VRU cluster contains at least one animal VRU member. -# * -# * Otherwise, the corresponding bit shall be set to 0. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8[] value uint8 bits_unused @@ -56,3 +55,4 @@ uint8 BIT_INDEX_PEDESTRIAN = 0 uint8 BIT_INDEX_BICYCLIST = 1 uint8 BIT_INDEX_MOTORCYCLIST = 2 uint8 BIT_INDEX_ANIMAL = 3 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruProfileAndSubprofile.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruProfileAndSubprofile.msg index 477c86f8..2e6a55a2 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruProfileAndSubprofile.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruProfileAndSubprofile.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,21 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF indicates the profile of a VRU including sub-profile information +# * It identifies four options corresponding to the four types of VRU profiles specified in ETSI TS 103 300-2 [18]: +# * +# * @field pedestrian: VRU Profile 1 - Pedestrian. +# * +# * @field bicyclistAndLightVruVehicle: VRU Profile 2 - Bicyclist. +# * +# * @field motorcyclist: VRU Profile 3 - Motorcyclist. +# * +# * @field animal: VRU Profile 4 - Animal. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruProfileAndSubprofile ::= CHOICE { # pedestrian VruSubProfilePedestrian, # bicyclistAndLightVruVehicle VruSubProfileBicyclist, @@ -34,21 +48,6 @@ # ... # } # ------------------------------------------------------------------------------ -# * -# * This DF indicates the profile of a VRU including sub-profile information -# * It identifies four options corresponding to the four types of VRU profiles specified in ETSI TS 103 300-2 [18]: -# * -# * @field pedestrian: VRU Profile 1 - Pedestrian. -# * -# * @field bicyclistAndLightVruVehicle: VRU Profile 2 - Bicyclist. -# * -# * @field motorcyclist: VRU Profile 3 - Motorcyclist. -# * -# * @field animal: VRU Profile 4 - Animal. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8 choice diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileAnimal.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileAnimal.msg index 04a48eec..65f167ae 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileAnimal.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileAnimal.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,19 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the profile of an animal +# * +# * The value shall be set to: +# * - 0 `unavailable` - to indicate that the information is unavailable, +# * - 1 `wild-animal` - to indicate a animal living in the wildness, +# * - 2 `farm-animal` - to indicate an animal beloning to a farm, +# * - 3 `service-animal` - to indicate an animal that supports a human being. +# * - 4 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruSubProfileAnimal ::= ENUMERATED { # unavailable (0), # wild-animal (1), @@ -34,19 +46,6 @@ # max (15) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the profile of an animal -# * -# * The value shall be set to: -# * - 0 `unavailable` - to indicate that the information is unavailable, -# * - 1 `wild-animal` - to indicate a animal living in the wildness, -# * - 2 `farm-animal` - to indicate an animal beloning to a farm, -# * - 3 `service-animal` - to indicate an animal that supports a human being. -# * - 4 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8 value uint8 UNAVAILABLE = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileBicyclist.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileBicyclist.msg index 6992f8fe..629a6b9f 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileBicyclist.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileBicyclist.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the profile of a VRU and its light VRU vehicle / mounted animal. +# * +# * The value shall be set to: +# * - 0 `unavailable` - to indicate that the information is unavailable, +# * - 1 `bicyclist ` - to indicate a cycle and bicyclist, +# * - 2 `wheelchair-user` - to indicate a wheelchair and its user, +# * - 3 `horse-and-rider` - to indicate a horse and rider, +# * - 4 `rollerskater` - to indicate a rolleskater and skater, +# * - 5 `e-scooter` - to indicate an e-scooter and rider, +# * - 6 `personal-transporter` - to indicate a personal-transporter and rider, +# * - 7 `pedelec` - to indicate a pedelec and rider, +# * - 8 `speed-pedelec` - to indicate a speed-pedelec and rider. +# * - 9 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruSubProfileBicyclist ::= ENUMERATED { # unavailable (0), # bicyclist (1), @@ -39,24 +56,6 @@ # max (15) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the profile of a VRU and its light VRU vehicle / mounted animal. -# * -# * The value shall be set to: -# * - 0 `unavailable` - to indicate that the information is unavailable, -# * - 1 `bicyclist ` - to indicate a cycle and bicyclist, -# * - 2 `wheelchair-user` - to indicate a wheelchair and its user, -# * - 3 `horse-and-rider` - to indicate a horse and rider, -# * - 4 `rollerskater` - to indicate a rolleskater and skater, -# * - 5 `e-scooter` - to indicate an e-scooter and rider, -# * - 6 `personal-transporter` - to indicate a personal-transporter and rider, -# * - 7 `pedelec` - to indicate a pedelec and rider, -# * - 8 `speed-pedelec` - to indicate a speed-pedelec and rider. -# * - 9 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8 value uint8 UNAVAILABLE = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileMotorcyclist.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileMotorcyclist.msg index e8214638..6b8cb0ef 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileMotorcyclist.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfileMotorcyclist.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,20 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the profile of a motorcyclist and corresponding vehicle. +# * +# * The value shall be set to: +# * - 0 `unavailable ` - to indicate that the information is unavailable, +# * - 1 `moped` - to indicate a moped and rider, +# * - 2 `motorcycle` - to indicate a motorcycle and rider, +# * - 3 `motorcycle-and-sidecar-right` - to indicate a motorcycle with sidecar on the right and rider, +# * - 4 `motorcycle-and-sidecar-left` - to indicate a motorcycle with sidecar on the left and rider. +# * - 5 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruSubProfileMotorcyclist ::= ENUMERATED { # unavailable (0), # moped (1), @@ -35,20 +48,6 @@ # max (15) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the profile of a motorcyclist and corresponding vehicle. -# * -# * The value shall be set to: -# * - 0 `unavailable ` - to indicate that the information is unavailable, -# * - 1 `moped` - to indicate a moped and rider, -# * - 2 `motorcycle` - to indicate a motorcycle and rider, -# * - 3 `motorcycle-and-sidecar-right` - to indicate a motorcycle with sidecar on the right and rider, -# * - 4 `motorcycle-and-sidecar-left` - to indicate a motorcycle with sidecar on the left and rider. -# * - 5 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8 value uint8 UNAVAILABLE = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfilePedestrian.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfilePedestrian.msg index 976f31a2..00f4e227 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfilePedestrian.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/VruSubProfilePedestrian.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,19 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the profile of a pedestrian. +# * +# * The value shall be set to: +# * - 0 `unavailable` - to indicate that the information on is unavailable, +# * - 1 `ordinary-pedestrian` - to indicate a pedestrian to which no more-specific profile applies, +# * - 2 `road-worker` - to indicate a pedestrian with the role of a road worker, +# * - 3 `first-responder` - to indicate a pedestrian with the role of a first responder. +# * - value 4 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. +# * +# * @category: VRU information +# * @revision: Created in V2.1.1 +# */ # VruSubProfilePedestrian ::= ENUMERATED { # unavailable (0), # ordinary-pedestrian (1), @@ -34,19 +46,6 @@ # max (15) # } # ------------------------------------------------------------------------------ -# * -# * This DE indicates the profile of a pedestrian. -# * -# * The value shall be set to: -# * - 0 `unavailable` - to indicate that the information on is unavailable, -# * - 1 `ordinary-pedestrian` - to indicate a pedestrian to which no more-specific profile applies, -# * - 2 `road-worker` - to indicate a pedestrian with the role of a road worker, -# * - 3 `first-responder` - to indicate a pedestrian with the role of a first responder. -# * - value 4 to 15 - are reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field. -# * -# * @category: VRU information -# * @revision: Created in V2.1.1 -# uint8 value uint8 UNAVAILABLE = 0 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84Angle.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84Angle.msg index 4b342593..e3750aed 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84Angle.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84Angle.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,24 +25,24 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents an angular component along with a confidence value in the WGS84 coordinate system. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * +# * It shall include the following components: +# * +# * @field value: the angle value, which can be estimated as the mean of the current distribution. +# * +# * @field confidence: the confidence value associated to the angle value. +# * +# * @category: GeoReference information +# * @revision: Created in V2.1.1 +# */ # Wgs84Angle ::= SEQUENCE { # value Wgs84AngleValue, # confidence Wgs84AngleConfidence # } # ------------------------------------------------------------------------------ -# * -# * This DF represents an angular component along with a confidence value in the WGS84 coordinate system. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * -# * It shall include the following components: -# * -# * @field value: the angle value, which can be estimated as the mean of the current distribution. -# * -# * @field confidence: the confidence value associated to the angle value. -# * -# * @category: GeoReference information -# * @revision: Created in V2.1.1 -# Wgs84AngleValue value diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleConfidence.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleConfidence.msg index 595209c0..5ee93857 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleConfidence.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleConfidence.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,28 +25,29 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE indicates the angle confidence value which represents the estimated accuracy of an angle value with a default confidence level of 95 %. +# * If required, the confidence level can be defined by the corresponding standards applying this DE. +# * +# * The value shall be set to: +# * - `n` (`n >= 1` and `n < 126`) if the confidence value is equal to or less than n x 0,1 degrees and more than (n-1) x 0,1 degrees, +# * - `126` if the confidence value is out of range, i.e. greater than 12,5 degrees, +# * - `127` if the confidence value is not available. +# * +# * +# * @unit 0,1 degrees +# * @category: GeoReference Information +# * @revision: Created in V2.1.1 +# */ # Wgs84AngleConfidence ::= INTEGER { # outOfRange (126), # unavailable (127) # } (1..127) # ------------------------------------------------------------------------------ -# * -# * This DE indicates the angle confidence value which represents the estimated accuracy of an angle value with a default confidence level of 95 %. -# * If required, the confidence level can be defined by the corresponding standards applying this DE. -# * -# * The value shall be set to: -# * - `n` (`n >= 1` and `n < 126`) if the confidence value is equal to or less than n x 0,1 degrees and more than (n-1) x 0,1 degrees, -# * - `126` if the confidence value is out of range, i.e. greater than 12,5 degrees, -# * - `127` if the confidence value is not available. -# * -# * -# * @unit 0,1 degrees -# * @category: GeoReference Information -# * @revision: Created in V2.1.1 -# uint8 value uint8 MIN = 1 uint8 MAX = 127 uint8 OUT_OF_RANGE = 126 uint8 UNAVAILABLE = 127 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleValue.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleValue.msg index 1ab413e2..8cb4946f 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleValue.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/Wgs84AngleValue.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,6 +25,15 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DE represents an angle value in degrees described in the WGS84 reference system with respect to the WGS84 north. +# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. +# * When the information is not available, the DE shall be set to 3 601. The value 3600 shall not be used. +# * +# * @unit 0,1 degrees +# * @category: GeoReference Information +# * @revision: Created in V2.1.1 +# */ # Wgs84AngleValue ::= INTEGER { # wgs84North (0), # wgs84East (900), @@ -35,15 +43,6 @@ # unavailable (3601) # } (0..3601) # ------------------------------------------------------------------------------ -# * -# * This DE represents an angle value in degrees described in the WGS84 reference system with respect to the WGS84 north. -# * The specific WGS84 coordinate system is specified by the corresponding standards applying this DE. -# * When the information is not available, the DE shall be set to 3 601. The value 3600 shall not be used. -# * -# * @unit 0,1 degrees -# * @category: GeoReference Information -# * @revision: Created in V2.1.1 -# uint16 value uint16 MIN = 0 @@ -54,3 +53,4 @@ uint16 WGS84_SOUTH = 1800 uint16 WGS84_WEST = 2700 uint16 DO_NOT_USE = 3600 uint16 UNAVAILABLE = 3601 + diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainer.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainer.msg index 548af43d..09b048c7 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainer.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainer.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,21 +25,37 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a CPM container preceded by its type identifier and a lenght indicator. +# * +# * It shall include the following components: +# * +# * @field containerId: the identifier of the container type. +# * +# * @field containerData: the container content consistent with the container type. +# * +# */ # WrappedCpmContainer ::= SEQUENCE { # containerId CPM-CONTAINER-ID-AND-TYPE.&id( {CpmContainers} ), +# containerData CPM-CONTAINER-ID-AND-TYPE.&Type( {CpmContainers}{@containerId} ) +# } # ------------------------------------------------------------------------------ -# * -# * This DF represents a CPM container preceded by its type identifier and a lenght indicator. -# * -# * It shall include the following components: -# * -# * @field containerId: the identifier of the container type. -# * -# * @field containerData: the container content consistent with the container type. -# * -# CpmContainerId container_id -CpmContainers container_data + +OriginatingVehicleContainer container_data_originating_vehicle_container +uint8 CHOICE_CONTAINER_DATA_ORIGINATING_VEHICLE_CONTAINER = 1 + +OriginatingRsuContainer container_data_originating_rsu_container +uint8 CHOICE_CONTAINER_DATA_ORIGINATING_RSU_CONTAINER = 2 + +SensorInformationContainer container_data_sensor_information_container +uint8 CHOICE_CONTAINER_DATA_SENSOR_INFORMATION_CONTAINER = 3 + +PerceptionRegionContainer container_data_perception_region_container +uint8 CHOICE_CONTAINER_DATA_PERCEPTION_REGION_CONTAINER = 4 + +PerceivedObjectContainer container_data_perceived_object_container +uint8 CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER = 5 diff --git a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainers.msg b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainers.msg index cc3e5dd3..ec1c0dc8 100644 --- a/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainers.msg +++ b/etsi_its_msgs/etsi_its_cpm_ts_msgs/msg/WrappedCpmContainers.msg @@ -2,7 +2,6 @@ # MIT License # # Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University -# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -26,12 +25,13 @@ # --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- # --- ASN.1 Definition --------------------------------------------------------- +# /** +# * This DF represents a list of CPM containers, each with their type identifier. +# */ # WrappedCpmContainers::= SEQUENCE SIZE(1..8,...) OF WrappedCpmContainer # ------------------------------------------------------------------------------ -# * -# * This DF represents a list of CPM containers, each with their type identifier. -# WrappedCpmContainer[] array -int64 MIN_SIZE = 1 -int64 MAX_SIZE = 8 +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 8 + diff --git a/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformation.msg b/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformation.msg index 08472b3d..fdd3b236 100644 --- a/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformation.msg +++ b/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformation.msg @@ -45,6 +45,10 @@ # VruClusterInformation ::= SEQUENCE { # clusterId Identifier1B OPTIONAL, # clusterBoundingBoxShape Shape (WITH COMPONENTS{..., elliptical ABSENT, radial ABSENT, radialShapes ABSENT}) OPTIONAL, +# clusterCardinalitySize CardinalNumber1B, +# clusterProfiles VruClusterProfiles OPTIONAL, +# ... +# } # ------------------------------------------------------------------------------ Identifier1B cluster_id diff --git a/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformationContainer.msg b/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformationContainer.msg index 96a5f4d3..b3e55d79 100644 --- a/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformationContainer.msg +++ b/etsi_its_msgs/etsi_its_vam_ts_msgs/msg/VruClusterInformationContainer.msg @@ -40,6 +40,8 @@ # */ # VruClusterInformationContainer::= SEQUENCE{ # vruClusterInformation VruClusterInformation (WITH COMPONENTS{..., clusterId, clusterBoundingBoxShape PRESENT}), +# ... +# } # ------------------------------------------------------------------------------ VruClusterInformation vru_cluster_information diff --git a/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_getters.h b/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_getters.h index fd987c99..880a1555 100644 --- a/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_getters.h +++ b/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_getters.h @@ -166,7 +166,7 @@ inline WrappedCpmContainer getCpmContainer(const CollectivePerceptionMessage &cp * @return The perceived object container. */ inline WrappedCpmContainer getPerceivedObjectContainer(const CollectivePerceptionMessage &cpm) { - return getCpmContainer(cpm, CpmContainerId::PERCEIVED_OBJECT_CONTAINER); + return getCpmContainer(cpm, WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER); } /** @@ -177,10 +177,10 @@ inline WrappedCpmContainer getPerceivedObjectContainer(const CollectivePerceptio * @throws std::invalid_argument if the container is not a PerceivedObjectContainer. */ inline uint8_t getNumberOfPerceivedObjects(const WrappedCpmContainer &container) { - if (container.container_id.value != CpmContainerId::PERCEIVED_OBJECT_CONTAINER) { + if (container.container_id.value != WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER) { throw std::invalid_argument("Container is not a PerceivedObjectContainer"); } - uint8_t number = container.container_data.perceived_object_container.number_of_perceived_objects.value; + uint8_t number = container.container_data_perceived_object_container.number_of_perceived_objects.value; return number; } @@ -210,7 +210,7 @@ inline PerceivedObject getPerceivedObject(const WrappedCpmContainer &container, if (i >= getNumberOfPerceivedObjects(container)) { throw std::invalid_argument("Index out of range"); } - return container.container_data.perceived_object_container.perceived_objects.array[i]; + return container.container_data_perceived_object_container.perceived_objects.array[i]; } /** diff --git a/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_setters.h b/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_setters.h index 1f8b2912..c5dd1475 100644 --- a/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_setters.h +++ b/etsi_its_msgs_utils/include/etsi_its_msgs_utils/impl/cpm/cpm_ts_setters.h @@ -530,16 +530,15 @@ inline void initPerceivedObjectWithUTMPosition(CollectivePerceptionMessage& cpm, /** * @brief Initializes a WrappedCpmContainer as a PerceivedObjectContainer with the given number of objects. * - * This function sets the container ID to PERCEIVED_OBJECT_CONTAINER and initializes + * This function sets the container ID to CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER and initializes * the number of perceived objects in the container to the specified value. * * @param container A reference to the WrappedCpmContainer to be initialized as a PerceivedObjectContainer. * @param n_objects The number of perceived objects to initialize in the container. Default is 0. */ inline void initPerceivedObjectContainer(WrappedCpmContainer& container, const uint8_t n_objects = 0) { - container.container_id.value = CpmContainerId::PERCEIVED_OBJECT_CONTAINER; - container.container_data.choice = container.container_id; - container.container_data.perceived_object_container.number_of_perceived_objects.value = n_objects; + container.container_id.value = WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER; + container.container_data_perceived_object_container.number_of_perceived_objects.value = n_objects; } /** @@ -556,11 +555,10 @@ inline void initPerceivedObjectContainer(WrappedCpmContainer& container, const u * @throws std::invalid_argument if the container is not a PerceivedObjectContainer. */ inline void addPerceivedObjectToContainer(WrappedCpmContainer& container, const PerceivedObject& perceived_object) { - if (container.container_id.value == CpmContainerId::PERCEIVED_OBJECT_CONTAINER && - container.container_data.choice.value == CpmContainerId::PERCEIVED_OBJECT_CONTAINER) { - container.container_data.perceived_object_container.perceived_objects.array.push_back(perceived_object); - container.container_data.perceived_object_container.number_of_perceived_objects.value = - container.container_data.perceived_object_container.perceived_objects.array.size(); + if (container.container_id.value == WrappedCpmContainer::CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER) { + container.container_data_perceived_object_container.perceived_objects.array.push_back(perceived_object); + container.container_data_perceived_object_container.number_of_perceived_objects.value = + container.container_data_perceived_object_container.perceived_objects.array.size(); } else { throw std::invalid_argument("Container is not a PerceivedObjectContainer"); } diff --git a/etsi_its_msgs_utils/samples/publish_cpm_ts.py b/etsi_its_msgs_utils/samples/publish_cpm_ts.py index dd770bdc..893809ad 100755 --- a/etsi_its_msgs_utils/samples/publish_cpm_ts.py +++ b/etsi_its_msgs_utils/samples/publish_cpm_ts.py @@ -51,8 +51,7 @@ def publish(self): cpm_container = WrappedCpmContainer() - cpm_container.container_id.value = cpm_container.container_id.PERCEIVED_OBJECT_CONTAINER - cpm_container.container_data.choice.value = cpm_container.container_id.value + cpm_container.container_id.value = cpm_container.CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER perceived_object_container = PerceivedObjectContainer() perceived_object_container.number_of_perceived_objects.value = 2 @@ -76,7 +75,7 @@ def publish(self): perceived_object.object_dimension_z.confidence.value = perceived_object.object_dimension_z.confidence.UNAVAILABLE perceived_object_container.perceived_objects.array.append(perceived_object) - cpm_container.container_data.perceived_object_container = perceived_object_container + cpm_container.container_data_perceived_object_container = perceived_object_container msg.payload.cpm_containers.value.array.append(cpm_container) self.get_logger().info(f"Publishing CPM") diff --git a/etsi_its_msgs_utils/samples/publish_cpm_ts_multi_wrapped_container.py b/etsi_its_msgs_utils/samples/publish_cpm_ts_multi_wrapped_container.py index 4b205ff4..df678460 100755 --- a/etsi_its_msgs_utils/samples/publish_cpm_ts_multi_wrapped_container.py +++ b/etsi_its_msgs_utils/samples/publish_cpm_ts_multi_wrapped_container.py @@ -135,19 +135,17 @@ def publish(self) -> None: # Sensor information container si_container = WrappedCpmContainer() - si_container.container_id.value = CpmContainerId.SENSOR_INFORMATION_CONTAINER - si_container.container_data.choice.value = si_container.container_id.value - si_container.container_data.sensor_information_container.array = [lidar_sensor, local_aggretation_sensor] + si_container.container_id.value = si_container.CHOICE_CONTAINER_DATA_SENSOR_INFORMATION_CONTAINER + si_container.container_data_sensor_information_container.array = [lidar_sensor, local_aggretation_sensor] # Get perceived object perceived_object = self.get_perceived_object() # Perceived object container po_container = WrappedCpmContainer() - po_container.container_id.value = CpmContainerId.PERCEIVED_OBJECT_CONTAINER - po_container.container_data.choice.value = po_container.container_id.value - po_container.container_data.perceived_object_container.number_of_perceived_objects.value = 1 - po_container.container_data.perceived_object_container.perceived_objects.array = [perceived_object] + po_container.container_id.value = po_container.CHOICE_CONTAINER_DATA_PERCEIVED_OBJECT_CONTAINER + po_container.container_data_perceived_object_container.number_of_perceived_objects.value = 1 + po_container.container_data_perceived_object_container.perceived_objects.array = [perceived_object] # Append wrapped containers msg.payload.cpm_containers.value.array = [si_container, po_container] diff --git a/etsi_its_msgs_utils/samples/publish_cpm_ts_sensor_information.py b/etsi_its_msgs_utils/samples/publish_cpm_ts_sensor_information.py index 427e25ca..a8de6957 100755 --- a/etsi_its_msgs_utils/samples/publish_cpm_ts_sensor_information.py +++ b/etsi_its_msgs_utils/samples/publish_cpm_ts_sensor_information.py @@ -113,14 +113,13 @@ def publish(self) -> None: msg.payload.management_container.reference_position.longitude.value = int(6.047076274316094 * 1e7) cpm_container = WrappedCpmContainer() - cpm_container.container_id.value = CpmContainerId.SENSOR_INFORMATION_CONTAINER - cpm_container.container_data.choice.value = cpm_container.container_id.value + cpm_container.container_id.value = cpm_container.CHOICE_CONTAINER_DATA_SENSOR_INFORMATION_CONTAINER # Get sensor informations lidar_sensor = self.get_lidar_sensor_information() local_aggretation_sensor = self.get_local_aggregation_sensor_information() - cpm_container.container_data.sensor_information_container.array = [lidar_sensor, local_aggretation_sensor] + cpm_container.container_data_sensor_information_container.array = [lidar_sensor, local_aggretation_sensor] msg.payload.cpm_containers.value.array.append(cpm_container) self.get_logger().info(f"Publishing CPM") diff --git a/utils/codegen/codegen-py/asn1CodeGenerationUtils.py b/utils/codegen/codegen-py/asn1CodeGenerationUtils.py index 9b5bea1d..784be4e5 100644 --- a/utils/codegen/codegen-py/asn1CodeGenerationUtils.py +++ b/utils/codegen/codegen-py/asn1CodeGenerationUtils.py @@ -235,7 +235,8 @@ def parseAsn1Files(files: List[str]) -> Tuple[Dict, Dict[str, str]]: raw_def = "" if raw_def is not None: raw_def += line - if "}" in line and not "}," in line and not ("::=" in line and line.rstrip().endswith("{")): + # TODO: improve this condition + if "}" in line and not "}," in line and not "} |" in line and not "} )" in line and not "})" in line and not ("::=" in line and line.rstrip().endswith("{")): asn1_raw[type] = "".join(comment_lines) + raw_def raw_def = None @@ -308,6 +309,51 @@ def extractAsn1ValuesFromDocs(asn1_docs: Dict) -> Dict[str, Dict]: return asn1_values +def extractAsn1ClassesFromDocs(asn1_docs: Dict) -> Dict[str, Dict]: + """Extracts all parsed ASN1 class information from multiple ASN1 documents. + + Args: + asn1_docs (Dict): type information by document + + Raises: + ValueError: if a class is found in multiple documents + + Returns: + Dict[str, Dict]: class information by name + """ + + asn1_classes = {} + for doc, asn1 in asn1_docs.items(): + for class_name in asn1["object-classes"]: + if class_name not in asn1_classes: + asn1_classes[class_name] = asn1["object-classes"][class_name] + else: + raise ValueError(f"Class '{class_name}' from '{doc}' is a duplicate") + + return asn1_classes + +def extractAsn1SetsFromDocs(asn1_docs: Dict) -> Dict[str, Dict]: + """Extracts all parsed ASN1 set information from multiple ASN1 documents. + + Args: + asn1_docs (Dict): type information by document + + Raises: + ValueError: if a set is found in multiple documents + + Returns: + Dict[str, Dict]: set information by name + """ + + asn1_sets = {} + for doc, asn1 in asn1_docs.items(): + for set_name in asn1["object-sets"]: + if set_name not in asn1_sets: + asn1_sets[set_name] = asn1["object-sets"][set_name] + else: + raise ValueError(f"Set '{set_name}' from '{doc}' is a duplicate") + + return asn1_sets def checkTypeMembersInAsn1(asn1_types: Dict[str, Dict]): """Checks if all type information is known and supported. @@ -321,7 +367,7 @@ def checkTypeMembersInAsn1(asn1_types: Dict[str, Dict]): TypeError: if the type of a member is not part of the given types, hence unknown """ - known_types = ["SEQUENCE", "SEQUENCE OF", "CHOICE", "ENUMERATED", "NULL"] + known_types = ["SEQUENCE", "SEQUENCE OF", "CHOICE", "ENUMERATED", "NULL", "CPM-CONTAINER-ID-AND-TYPE.&id", "CPM-CONTAINER-ID-AND-TYPE.&Type"] known_types += list(asn1_types.keys()) known_types += list(ASN1_PRIMITIVES_2_ROS.keys()) @@ -339,7 +385,7 @@ def checkTypeMembersInAsn1(asn1_types: Dict[str, Dict]): # check if type is known if member["type"] not in known_types: - if ".&" in member["type"]: + if ".&" in member["type"]: # class type is currently just handled for CPM warnings.warn( f"Type '{member['type']}' of member '{member['name']}' " f"in '{asn1_type_name}' seems to relate to a 'CLASS' type, not " @@ -350,7 +396,7 @@ def checkTypeMembersInAsn1(asn1_types: Dict[str, Dict]): f"in '{asn1_type_name}' is undefined") -def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict]) -> Dict: +def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict], asn1_sets: Dict[str, Dict], asn1_classes: Dict[str, Dict]) -> Dict: """Builds a jinja context containing all type information required to fill the templates / code generation. Args: @@ -358,6 +404,8 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types asn1_type_info (Dict): type information asn1_types (Dict[str, Dict]): type information of all types by type asn1_values (Dict[str, Dict]): value information of all values by name + asn1_sets (Dict[str, Dict]): set information of all sets by name + asn1_classes (Dict[str, Dict]): class information of all classes by name Returns: Dict: jinja context @@ -507,7 +555,7 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types for member in asn1_type_info["members"]: if member is None: continue - member_context = asn1TypeToJinjaContext(asn1_type_name, member, asn1_types, asn1_values) + member_context = asn1TypeToJinjaContext(asn1_type_name, member, asn1_types, asn1_values, asn1_sets, asn1_classes) if member_context is None: continue if "optional" in member: @@ -551,6 +599,11 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types "is_choice_var": True }) + # disable choice identifier, if identified by another property (e.g., in the case of CLASS) + if "identified_by" in asn1_type_info: + name = asn1_type_info["identified_by"] + context["members"][0]["disabled"] = True + # recursively add members for all options, incl. constant for flag for im, member in enumerate(asn1_type_info["members"]): if member is None: @@ -558,7 +611,7 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types member_name = validRosField(f"CHOICE_{member['name']}", is_const=True) if "name" in asn1_type_info: member_name = validRosField(f"CHOICE_{asn1_type_info['name']}_{member['name']}", is_const=True) - member_context = asn1TypeToJinjaContext(asn1_type_name, member, asn1_types, asn1_values) + member_context = asn1TypeToJinjaContext(asn1_type_name, member, asn1_types, asn1_values, asn1_sets, asn1_classes) if member_context is None: continue if len(member_context["members"]) > 0: @@ -572,10 +625,16 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types member_context["members"][0]["constants"] = member_context["members"][0].get("constants", []) for c_idx, constant in enumerate(member_context["members"][0]["constants"]): member_context["members"][0]["constants"][c_idx]["ros_field_name"] = validRosField(f"{member_context['members'][0]['ros_field_name']}_{constant['ros_field_name']}", is_const=True) + # set choice value based on index or asn1 values if identified by another property (e.g., in the case of CLASS) + choice_value = im + if "identified_by" in asn1_type_info: + asn1_value_name = member_context["asn1_type_type"][0].lower() + member_context["asn1_type_type"][1:] + if asn1_value_name in asn1_values: + choice_value = asn1_values[asn1_value_name]["value"] member_context["members"][0]["constants"].append({ "ros_msg_type": "uint8", "ros_field_name": validRosField(member_name, is_const=True), - "ros_value": im + "ros_value": choice_value }) context["members"].extend(member_context["members"]) @@ -709,6 +768,52 @@ def asn1TypeToJinjaContext(asn1_type_name: str, asn1_type_info: Dict, asn1_types "ros_value": size }) + # add constants for limits (TODO: duplicate with primitives) + if "restricted-to" in asn1_type_info and isinstance(asn1_type_info["restricted-to"][0], tuple): + min_value = asn1_type_info["restricted-to"][0][0] + max_value = asn1_type_info["restricted-to"][0][1] + ros_type = simplestRosIntegerType(min_value, max_value) + min_constant_name = "MIN" + max_constant_name = "MAX" + if "name" in asn1_type_info: + min_constant_name = validRosField(f"{asn1_type_info['name']}_{min_constant_name}", is_const=True) + max_constant_name = validRosField(f"{asn1_type_info['name']}_{max_constant_name}", is_const=True) + context["members"][0]["constants"].append({ + "ros_msg_type": validRosType(ros_type), + "ros_field_name": validRosField(min_constant_name, is_const=True), + "ros_value": min_value + }) + context["members"][0]["constants"].append({ + "ros_msg_type": validRosType(ros_type), + "ros_field_name": validRosField(max_constant_name, is_const=True), + "ros_value": max_value + }) + + # class types + elif ".&" in asn1_type_type and asn1_type_type.split(".")[0] in asn1_classes: + asn1_class = asn1_classes[asn1_type_type.split(".")[0]] + for member in asn1_class["members"]: + if member["name"] == asn1_type_type.split(".")[1]: + class_member = { + "name": asn1_type_info["name"], + "type": member["type"] + } + if member["type"] not in asn1_types: + class_member["type"] = "CHOICE" + class_member["members"] = [] + if type(asn1_type_info["table"]) is list: + identifier = asn1_type_info["table"][1][0] # structure known from CPM + class_member["identified_by"] = validRosField(identifier) + ".value" + for value in asn1_values: + for member in asn1_class["members"]: + if member["type"] == asn1_values[value]["type"]: + class_member["members"].append({ + "name": value, + "type": value[0].upper() + value[1:] # make sure type starts with upper case + }) + member_context = asn1TypeToJinjaContext(asn1_type_name, class_member, asn1_types, asn1_values, asn1_sets, asn1_classes) + context["members"].extend(member_context["members"]) + elif asn1_type_type == "NULL": pass diff --git a/utils/codegen/codegen-py/asn1ToConversionHeader.py b/utils/codegen/codegen-py/asn1ToConversionHeader.py index 853657d0..3d88d685 100755 --- a/utils/codegen/codegen-py/asn1ToConversionHeader.py +++ b/utils/codegen/codegen-py/asn1ToConversionHeader.py @@ -76,7 +76,7 @@ def loadJinjaTemplates() -> Dict[str, jinja2.environment.Template]: return jinja_templates -def asn1TypeToConversionHeader(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict], etsi_type: str, jinja_templates: jinja2.environment.Template) -> str: +def asn1TypeToConversionHeader(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict], asn1_sets: Dict[str, Dict], asn1_classes: Dict[str, Dict], etsi_type: str, jinja_templates: jinja2.environment.Template) -> str: """Converts parsed ASN1 type information to a conversion header string. Args: @@ -84,6 +84,8 @@ def asn1TypeToConversionHeader(type_name: str, asn1_type: Dict, asn1_types: Dict asn1_type (Dict): type information asn1_types (Dict[str, Dict]): type information of all types by type asn1_values (Dict[str, Dict]): value information of all values by name + asn1_sets (Dict[str, Dict]): set information of all sets by name + asn1_classes (Dict[str, Dict]): class information of all classes by name etsi_type (str): ETSI message type, e.g., `cam` jinja_templates (Dict[str, jinja2.environment.Template]): jinja template @@ -102,7 +104,7 @@ def asn1TypeToConversionHeader(type_name: str, asn1_type: Dict, asn1_types: Dict raise TypeError(f"No jinja template for type '{asn1_type['type']}'") # build jinja context based on asn1 type information - jinja_context = asn1TypeToJinjaContext(type_name, asn1_type, asn1_types, asn1_values) + jinja_context = asn1TypeToJinjaContext(type_name, asn1_type, asn1_types, asn1_values, asn1_sets, asn1_classes) if jinja_context is None: return None @@ -171,6 +173,8 @@ def main(): asn1_types = extractAsn1TypesFromDocs(asn1_docs) asn1_values = extractAsn1ValuesFromDocs(asn1_docs) + asn1_sets = extractAsn1SetsFromDocs(asn1_docs) + asn1_classes = extractAsn1ClassesFromDocs(asn1_docs) checkTypeMembersInAsn1(asn1_types) @@ -178,7 +182,7 @@ def main(): for type_name, asn1_type in asn1_types.items(): - header = asn1TypeToConversionHeader(type_name, asn1_type, asn1_types, asn1_values, args.type, jinja_templates) + header = asn1TypeToConversionHeader(type_name, asn1_type, asn1_types, asn1_values, asn1_sets, asn1_classes, args.type, jinja_templates) exportConversionHeader(header, type_name, args.output_dir) diff --git a/utils/codegen/codegen-py/asn1ToRosMsg.py b/utils/codegen/codegen-py/asn1ToRosMsg.py index 28b36016..b226fe95 100755 --- a/utils/codegen/codegen-py/asn1ToRosMsg.py +++ b/utils/codegen/codegen-py/asn1ToRosMsg.py @@ -68,7 +68,7 @@ def loadJinjaTemplate() -> jinja2.environment.Template: return jinja_template -def asn1TypeToRosMsg(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict], asn1_raw: Dict[str, str], jinja_template: jinja2.environment.Template) -> str: +def asn1TypeToRosMsg(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict], asn1_values: Dict[str, Dict], asn1_sets: Dict[str, Dict], asn1_classes: Dict[str, Dict], asn1_raw: Dict[str, str], jinja_template: jinja2.environment.Template) -> str: """Converts parsed ASN1 type information to a ROS message file string. Args: @@ -76,6 +76,8 @@ def asn1TypeToRosMsg(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict asn1_type (Dict): type information asn1_types (Dict[str, Dict]): type information of all types by type asn1_values (Dict[str, Dict]): value information of all values by name + asn1_sets (Dict[str, Dict]): set information of all sets by name + asn1_classes (Dict[str, Dict]): class information of all classes by name asn1_raw (Dict[str, str]): raw string definition by type jinja_template (jinja2.environment.Template): jinja template @@ -84,7 +86,7 @@ def asn1TypeToRosMsg(type_name: str, asn1_type: Dict, asn1_types: Dict[str, Dict """ # build jinja context based on asn1 type information - jinja_context = asn1TypeToJinjaContext(type_name, asn1_type, asn1_types, asn1_values) + jinja_context = asn1TypeToJinjaContext(type_name, asn1_type, asn1_types, asn1_values, asn1_sets, asn1_classes) if jinja_context is None: return None @@ -204,6 +206,8 @@ def main(): asn1_types = extractAsn1TypesFromDocs(asn1_docs) asn1_values = extractAsn1ValuesFromDocs(asn1_docs) + asn1_sets = extractAsn1SetsFromDocs(asn1_docs) + asn1_classes = extractAsn1ClassesFromDocs(asn1_docs) checkTypeMembersInAsn1(asn1_types) @@ -211,7 +215,7 @@ def main(): for type_name, asn1_type in asn1_types.items(): - ros_msg = asn1TypeToRosMsg(type_name, asn1_type, asn1_types, asn1_values, asn1_raw, jinja_template) + ros_msg = asn1TypeToRosMsg(type_name, asn1_type, asn1_types, asn1_values, asn1_sets, asn1_classes, asn1_raw, jinja_template) exportRosMsg(ros_msg, type_name, args.output_dir) diff --git a/utils/codegen/codegen-py/requirements.txt b/utils/codegen/codegen-py/requirements.txt index cc904aa8..4071a081 100644 --- a/utils/codegen/codegen-py/requirements.txt +++ b/utils/codegen/codegen-py/requirements.txt @@ -1,3 +1,3 @@ -asn1tools~=0.166.0 +asn1tools~=0.167.0 Jinja2~=3.1.2 numpy>=1.23.3 \ No newline at end of file diff --git a/utils/codegen/codegen-py/templates/RosMessageType.msg.jinja2 b/utils/codegen/codegen-py/templates/RosMessageType.msg.jinja2 index 45b3fc3c..b50c0e57 100644 --- a/utils/codegen/codegen-py/templates/RosMessageType.msg.jinja2 +++ b/utils/codegen/codegen-py/templates/RosMessageType.msg.jinja2 @@ -34,7 +34,9 @@ # {{comment}} {% endfor -%} {% for member in members -%} +{% if not member.disabled -%} {{member.ros_msg_type}} {{member.ros_field_name}} +{% endif -%} {% if member.optional -%} bool {{member.ros_field_name}}_is_present {% endif -%}