Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] SPATEM/MAPEM Support #28

Draft
wants to merge 78 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 73 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
4ab9f3d
add submodule for mapem and spatem
lreiher Nov 5, 2023
7354309
add external dependency dsrc module for spatem, mapem
lreiher Nov 9, 2023
3488933
enable spatem coding generation
lreiher Nov 9, 2023
4412d52
add launch configs for all spatem generation steps based on raw asn
lreiher Nov 9, 2023
ed66c28
fix code generation to successfully generate spatem msgs and conversion
lreiher Nov 9, 2023
d15464e
add empty coding, msgs, conversion packages for spatem
lreiher Nov 9, 2023
920e14e
add first compilable spatem msgs
lreiher Nov 9, 2023
54068d0
restore unmodified dsrc asn module and add patched version along with…
lreiher Nov 9, 2023
97d9108
add script for applying patches to raw asn1 files
lreiher Nov 9, 2023
ee685c5
Merge branch 'main' into feature/spatem-mapem
lreiher Nov 9, 2023
4afe79b
add patching script to github workflow
lreiher Nov 9, 2023
a75b7d4
use fillabs asn1c fork
jpbusch Nov 10, 2023
36b48f7
temporary change path of image in asn1ToC.py
jpbusch Nov 10, 2023
c98deca
add spatem support to etsi_its_conversion node
lreiher Nov 10, 2023
b796790
add temporary hack to reduce spatem asn1 files
lreiher Nov 10, 2023
651891c
generate etsi_its_spatem_coding on reduced defs
lreiher Nov 10, 2023
3f9e2f5
regenerate etsi_its_spatem_msgs on reduced defs
lreiher Nov 10, 2023
29763f3
generate etsi_its_spatem_conversion to get first compilable etsi_its_…
lreiher Nov 10, 2023
07ad9a3
manually handle dependencies of object-sets when reducing asn1
lreiher Nov 16, 2023
d12849b
fix field naming and raw parsing in ros msg
lreiher Nov 16, 2023
6087959
generate mapem
lreiher Nov 16, 2023
b4efe88
add spatem/mapem to gitlab ci
lreiher Nov 16, 2023
bf08158
commit missing update of spatem conversion functions
lreiher Nov 21, 2023
0e770cc
fix misplaced CMakeLists for mapem msgs
lreiher Nov 21, 2023
2e18cc6
add mapem support to converter
lreiher Nov 22, 2023
2a12458
fix message files in etsi_its_mapem_msgs
lreiher Nov 22, 2023
ad8e40e
make mapem conversion functions compile somehow lol
lreiher Dec 1, 2023
4ebc0c9
fix typo in converter
lreiher Dec 1, 2023
523290f
regenerate mapem msgs and conversion headers
lreiher Dec 1, 2023
fe7d881
revert unwanted change in converter
lreiher Dec 1, 2023
5f8b7ab
fix yet another typo in converter
lreiher Dec 1, 2023
98bac08
refactor converter.cpp
lreiher Dec 3, 2023
c4b5c52
add param to choose which types to convert in converter node
lreiher Dec 4, 2023
c50145c
refactor ros converter callbacks into single templated function
lreiher Dec 4, 2023
03e5d9b
refactor converter.cpp udp2ros
lreiher Dec 4, 2023
ba35f14
fix ros1 implementation of converter
lreiher Dec 4, 2023
9a7586e
regenerate spatem msgs and conversions
lreiher Dec 4, 2023
2b7fad9
Merge remote-tracking branch 'gitlab/improvement/asn1c-update' into f…
lreiher Dec 5, 2023
fb5f2c7
fix bug in init of vector of known types
lreiher Dec 7, 2023
0e777e6
fix compilation erros for for ros1
lreiher Dec 14, 2023
076588e
Merge branch 'main' into feature/spatem-mapem
lreiher Dec 14, 2023
f6e263c
satisfy package conventions after main merge
lreiher Dec 14, 2023
43cf44f
stop reducing spatem/mapem and download external modules
lreiher Dec 14, 2023
b0799f9
regenerate cam/denm_coding after switch to fillabs/asn1c
lreiher Dec 14, 2023
8724b5c
fix encoding (latin1 to utf8) of one external file
lreiher Dec 14, 2023
5c5df12
regenerate spatem/mapem with non-reduced defs
lreiher Dec 14, 2023
9cc2abf
ignore rosbags
lreiher Dec 20, 2023
be4bdaa
Merge branch 'main' into feature/spatem-mapem
lreiher Mar 14, 2024
490ac6d
try to fix ci after main merge
lreiher Mar 14, 2024
49ea823
test ci
lreiher Mar 14, 2024
d747945
upgrade asn1c docker image to ghcr
lreiher Apr 19, 2024
b5a855b
fix all ci coding jobs
lreiher Apr 19, 2024
a947ec0
regenerate spatem/mapem coding
lreiher Apr 19, 2024
c074b04
regenerate spatem/mapem msgs
lreiher Apr 19, 2024
32da622
update todo list
lreiher Apr 19, 2024
0bf4bc8
remove existing files in ci before codegen to catch leftover files
lreiher Apr 19, 2024
d1ea67f
regenerate spatem/mapem conversion without regionalextension suffix
lreiher Apr 19, 2024
bbb4add
restore conversion node from 9cc2abff
lreiher Apr 19, 2024
1ce5c3c
fix typo codegen ci for conversion functions
lreiher Apr 26, 2024
3ff4b5f
add is_ts103301 submodule
lreiher Jul 10, 2024
5393547
add spatem/mapem coding launch job
lreiher Jul 10, 2024
60462c5
add spatem/mapem to readme
lreiher Jul 10, 2024
80a6e16
add launch configs for spatem/mapem msgs and conversion
lreiher Jul 10, 2024
c13a88a
tmp to readme
lreiher Jul 10, 2024
75767d7
generate etsi_its_mapem_ts_coding
lreiher Jul 10, 2024
a3deabb
generate etsi_its_spatem_ts_coding
lreiher Jul 10, 2024
06a9e90
Merge branch 'feature/spatem-mapem' into spatem/mapem
lreiher Jul 10, 2024
30f64b8
Merge branch 'spatem/mapem' into feature/spatem-mapem
lreiher Jul 10, 2024
c98324c
Merge branch 'main' into feature/spatem-mapem
lreiher Aug 22, 2024
282b629
add task to auto-download external dependencies for is_ts103301
lreiher Sep 2, 2024
6fe8b83
patch invalid characters in external is dependency
lreiher Sep 16, 2024
a3f24e7
test bit string handling in rust generation to fix spatem/mapem gener…
lreiher Sep 16, 2024
f3f68b9
regenerate spatem msgs and conversion
lreiher Sep 16, 2024
0035141
regenerate mapem msgs and conversion
lreiher Sep 16, 2024
c3e2a77
set up mapem/spatem packages with xml and cmakelists
lreiher Sep 17, 2024
1855468
add mapem/spatem to readme
lreiher Sep 17, 2024
8633eb7
generate separate .msg files for inner types in choice and sequence
lreiher Sep 18, 2024
917c37c
fix handling of asn-types with dashes like "XYZ-addGrpC"
lreiher Sep 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "doc/doxygen-awesome-css"]
path = doc/doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git
[submodule "asn1/raw/is_ts103301"]
path = asn1/raw/is_ts103301
url = https://forge.etsi.org/rep/ITS/asn1/is_ts103301.git
174 changes: 145 additions & 29 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,67 @@
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "CPM TS (coding)",
"preLaunchTask": "Patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/asn1ToC.py",
"args": [
"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_coding/etsi_its_cpm_ts_coding"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "CPM TS (msgs)",
"preLaunchTask": "Patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToRosMsg.py",
"args": [
"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",
"-o",
"etsi_its_msgs/etsi_its_cpm_ts_msgs/msg"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "CPM TS (conversion)",
"preLaunchTask": "Patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToConversionHeader.py",
"args": [
"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"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "DENM (coding)",
"preLaunchTask": "Patch ASN.1 files",
Expand Down Expand Up @@ -149,62 +210,117 @@
"justMyCode": true
},
{
"name": "CPM TS (coding)",
"preLaunchTask": "Patch ASN.1 files",
"name": "MAPEM TS (coding)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/asn1ToC.py",
"args": [
"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",
"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",
"cpm_ts",
"mapem_ts",
"-o",
"etsi_its_coding/etsi_its_cpm_ts_coding"
"etsi_its_coding/etsi_its_mapem_ts_coding"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "CPM TS (msgs)",
"preLaunchTask": "Patch ASN.1 files",
"name": "MAPEM TS (msgs)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToRosMsg.py",
"args": [
"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",
"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",
"-o",
"etsi_its_msgs/etsi_its_cpm_ts_msgs/msg"
"etsi_its_msgs/etsi_its_mapem_ts_msgs/msg"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "CPM TS (conversion)",
"preLaunchTask": "Patch ASN.1 files",
"name": "MAPEM TS (conversion)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToConversionHeader.py",
"args": [
"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",
"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",
"cpm_ts",
"mapem_ts",
"-o",
"etsi_its_conversion/etsi_its_cpm_ts_conversion/include/etsi_its_cpm_ts_conversion"
"etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "SPATEM TS (coding)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/asn1ToC.py",
"args": [
"asn1/raw/is_ts103301/SPATEM-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",
"spatem_ts",
"-o",
"etsi_its_coding/etsi_its_spatem_ts_coding"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "SPATEM TS (msgs)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToRosMsg.py",
"args": [
"asn1/raw/is_ts103301/SPATEM-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",
"-o",
"etsi_its_msgs/etsi_its_spatem_ts_msgs/msg"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "SPATEM TS (conversion)",
"preLaunchTask": "Download external dependencies and patch ASN.1 files",
"type": "debugpy",
"request": "launch",
"program": "utils/codegen/codegen-rust/asn1ToConversionHeader.py",
"args": [
"asn1/raw/is_ts103301/SPATEM-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",
"spatem_ts",
"-o",
"etsi_its_conversion/etsi_its_spatem_ts_conversion/include/etsi_its_spatem_ts_conversion"
],
"console": "integratedTerminal",
"justMyCode": true
Expand Down
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Download external dependencies",
"type": "shell",
"command": "./asn1/external/download.sh",
"problemMatcher": []
},
{
"label": "Patch ASN.1 files",
"type": "shell",
"command": "./asn1/patches/patch.sh",
"problemMatcher": []
},
{
"label": "Download external dependencies and patch ASN.1 files",
"dependsOn": [
"Download external dependencies",
"Patch ASN.1 files"
]
}
]
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a href="https://github.com/ika-rwth-aachen/etsi_its_messages/actions/workflows/doc.yml"><img src="https://github.com/ika-rwth-aachen/etsi_its_messages/actions/workflows/doc.yml/badge.svg"/></a>
<img src="https://img.shields.io/badge/ROS-noetic-blueviolet"/>
<img src="https://img.shields.io/badge/ROS 2-humble|iron|jazzy-blueviolet"/>
<img src="https://img.shields.io/badge/V2X-CAM|CPM|DENM-aqua"/>
<img src="https://img.shields.io/badge/V2X-CAM|CPM|DENM|MAPEM|SPATEM-aqua"/>
</p>

**ROS / ROS 2 Support for ETSI ITS Messages for V2X Communication**
Expand Down Expand Up @@ -55,8 +55,8 @@ During runtime, the `etsi_its_conversion` ROS node converts incoming UDP payload
| :white_check_mark: | CAM | Cooperative Awareness Message | [EN 302 637-2 V1.4.1](https://www.etsi.org/deliver/etsi_en/302600_302699/30263702/01.04.01_60/en_30263702v010401p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/cam_en302637_2)) | [ETSI TS 103 900 V2.1.1](https://www.etsi.org/deliver/etsi_ts/103900_103999/103900/02.01.01_60/ts_103900v020101p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/cam_ts103900)) |
| :white_check_mark: | DENM | Decentralized Environmental Notification Message | [EN 302 637-3 V1.3.1](https://www.etsi.org/deliver/etsi_en/302600_302699/30263703/01.03.01_60/en_30263703v010301p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/denm_en302637_3)) | - |
| :white_check_mark: | CPM | Collective Perception Message | - | [TS 103 324 V2.1.1](https://www.etsi.org/deliver/etsi_ts/103300_103399/103324/02.01.01_60/ts_103324v020101p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/cpm_ts103324)) |
| :soon: | MAPEM | Map Extended Message | - | - | - |
| :soon: | SPATEM | Signal Phase and Timing Extended Message | - | - | - |
| :white_check_mark: | MAPEM | Map Extended Message | - | [TS 103 301 V2.1.1](https://www.etsi.org/deliver/etsi_ts/103300_103399/103301/02.01.01_60/ts_103301v020101p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/is_ts103301/-/tree/v2.1.1?ref_type=tags)) |
| :white_check_mark: | SPATEM | Signal Phase and Timing Extended Message | - | [TS 103 301 V2.1.1](https://www.etsi.org/deliver/etsi_ts/103300_103399/103301/02.01.01_60/ts_103301v020101p.pdf) ([ASN.1](https://forge.etsi.org/rep/ITS/asn1/is_ts103301/-/tree/v2.1.1?ref_type=tags)) |

> [!NOTE]
> Message types that are standardized as *European Norms (EN)* are available as, e.g., `etsi_its_cam_msgs`. New message types or revisions of existing message types that are only specified in *Technical Specifications (TS)* are available as, e.g., `etsi_its_cpm_ts_msgs`.
Expand Down
9 changes: 9 additions & 0 deletions asn1/external/download.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

patches_dir="$(dirname "$(readlink -f "$0")")"
repos_dir="$(dirname "$patches_dir")/raw"

# is_ts103301
cd "$repos_dir/is_ts103301"
sed "s/asn1c -D.*/exit 0/g" syntax_check.bash | bash
cd -
1 change: 1 addition & 0 deletions asn1/patches/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!is_ts103301/build/
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/ISO14816_AVIAEINumberingAndDataStructures.asn b/ISO14816_AVIAEINumberingAndDataStructures.asn
index 88d0ad1..22f2e4c 100644
--- a/ISO14816_AVIAEINumberingAndDataStructures.asn
+++ b/ISO14816_AVIAEINumberingAndDataStructures.asn
@@ -79,8 +79,8 @@ ServiceNumber::= BIT STRING (SIZE(32))(CONTAINING INTEGER (0..4294967295))
TaxCode::= OCTET STRING

AlphabetIndicator::= INTEGER {
- latinAlphabetNo1 (0), -- encoded as 00 00 00�B
- latinAlphabetNo2 (1), -- encoded as 00 00 01�B etc
+ latinAlphabetNo1 (0), -- encoded as 00 00 00 B
+ latinAlphabetNo2 (1), -- encoded as 00 00 01 B etc
latinAlphabetNo3 (2),
latinAlphabetNo4 (3),
latinCyrillicAlphabet (4),
@@ -127,4 +127,4 @@ END
/*
The ASN.1 specification has been checked for conformance to the ASN.1
standards by OSS ASN.1 Studio
-*/
\ No newline at end of file
+*/
18 changes: 13 additions & 5 deletions asn1/patches/patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,25 @@ echo "Finding .patch files in '$patches_dir' to apply to repositories in '$repos
# loop over all .patch files in the patches directory
find "$patches_dir" -type f -name "*.patch" | while read -r patch_file; do

# find the original repository path and apply the patch
# find the original repository path
relative_path="$(dirname ${patch_file#$patches_dir/})"
repo_path="$repos_dir/$relative_path"
file_to_patch="$repo_path/$(basename ${patch_file%.patch})"
git -C "$repo_path" apply "$patch_file"

# copy the file to the patched directory and reverse the patch
# copy file to patch to temporary git repository
tmp_repo_path="$(mktemp -d)"
tmp_file_to_patch="$tmp_repo_path/$(basename ${patch_file%.patch})"
cp -r "$repo_path"/* "$tmp_repo_path"
git -C "$tmp_repo_path" init --quiet

# apply the patch
git -C "$tmp_repo_path" apply "$patch_file"

# move patched file to the patched directory
patched_path="$patched_dir/$relative_path"
patched_file="$patched_path/$(basename ${patch_file%.patch})"
mkdir -p "$patched_path"
cp "$file_to_patch" "$patched_file"
git -C "$repo_path" apply --reverse --whitespace=nowarn "$patch_file"
mv "$tmp_file_to_patch" "$patched_file"

echo " Patched '$file_to_patch' and saved to '$patched_file'"
done
1 change: 1 addition & 0 deletions asn1/raw/is_ts103301
Submodule is_ts103301 added at 5811ce
2 changes: 2 additions & 0 deletions etsi_its_coding/etsi_its_coding/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<depend>etsi_its_cam_ts_coding</depend>
<depend>etsi_its_denm_coding</depend>
<depend>etsi_its_cpm_ts_coding</depend>
<depend>etsi_its_mapem_ts_coding</depend>
<depend>etsi_its_spatem_ts_coding</depend>
<depend>ros_environment</depend>

<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
Expand Down
Loading