ika-rwth-aachen / etsi_its_messages

ROS / ROS 2 Support for ETSI ITS Messages for V2X Communication
MIT License
43 stars 8 forks source link

Integrate VAM TS #36

Closed gkueppers closed 3 weeks ago

gkueppers commented 1 month ago

Adding VAM TS into etsi_its_messages

jpbusch commented 1 month ago

Please add a minimal example for publishing a VAM (like here). This allows us to test the encoding and decoding before merging.

gkueppers commented 4 weeks ago

Please add a minimal example for publishing a VAM (like here). This allows us to test the encoding and decoding before merging.

Currently the conversion node is crashing with a segmentation fault. Reason for this is an infinite recursion of vam_ts_ItsPduHeaderVam_constraint in Line 26 of vam_ts_ItsPduHeaderVam.c.

It seems like there is a bug in asn1c which is may related to this issue.

gkueppers commented 4 weeks ago

Please add a minimal example for publishing a VAM (like here). This allows us to test the encoding and decoding before merging.

Currently the conversion node is crashing with a segmentation fault. Reason for this is an infinite recursion of vam_ts_ItsPduHeaderVam_constraint in Line 26 of vam_ts_ItsPduHeaderVam.c.

It seems like there is a bug in asn1c which is may related to this issue.

"Fixed" by disabling the asn-constraint check. Encoding still fails with an meaningful error-message if you try to encode an asn1-struct that does not conform to the specified asn-constraints.