What's Changed
- ⭐ SPATEM/MAPEM Support by @lreiher in #28
- Refactoring of codegen-py jinja context and type/variable naming rules by @lreiher in #47
- ⭐ Enable CLASS and SET support in codegen-py by @jpbusch in #48
- Deprecate ROS 2 Iron support as it's EOL by @lreiher in #49
- Usability and formatting improvements for codegen-py by @lreiher in #46
- Improve converter launch file for better configuration by @jpbusch in #51
Full Changelog: v2.4.0...v3.0.0
Breaking Changes
The improvements in #28, #47, #48 have led to some breaking changes in ROS message files.
etsi_its_cam_msgs
PathDeltaTime.msg
- int64 value - int64 MIN = 1 - int64 MAX = 65535 - int64 TEN_MILLI_SECONDS_IN_PAST = 1 + uint16 value + uint16 MIN = 1 + uint16 MAX = 65535 + uint16 TEN_MILLI_SECONDS_IN_PAST = 1
ProtectedZoneRadius.msg
- int64 value - int64 MIN = 1 - int64 MAX = 255 - int64 ONE_METER = 1 + uint8 value + uint8 MIN = 1 + uint8 MAX = 255 + uint8 ONE_METER = 1
etsi_its_cam_ts_msgs
CAM.msg
- int64 HEADER_MIN = 0
PathDeltaTime.msg
- int64 value - int64 MIN = 1 - int64 MAX = 65535 - int64 TEN_MILLI_SECONDS_IN_PAST = 1 + uint16 value + uint16 MIN = 1 + uint16 MAX = 65535 + uint16 TEN_MILLI_SECONDS_IN_PAST = 1
ProtectedZoneRadius.msg
- int64 value - int64 MIN = 1 - int64 MAX = 255 - int64 ONE_METER = 1 + uint8 value + uint8 MIN = 1 + uint8 MAX = 255 + uint8 ONE_METER = 1
etsi_its_cpm_ts_msgs
CollectivePerceptionMessage.msg
- int64 HEADER_MIN = 0
CpmContainers.msg
: removedCpmContainerId.msg
- 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
CorrelationColumn.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 13 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 13
MatrixIncludedComponents.msg
- int64 MIN_SIZE_BITS = 13 - int64 MAX_SIZE_BITS = 13 + uint8 SIZE_BITS = 13
MessageRateHz.msg
- uint8 EXPONENT_MIN = 0 - uint8 EXPONENT_MAX = 2 + int8 EXPONENT_MIN = -5 + int8 EXPONENT_MAX = 2
PerceivedObjectsIds.msg
- int64 MIN_SIZE = 0 - int64 MAX_SIZE = 255 + uint8 MIN_SIZE = 0 + uint8 MAX_SIZE = 255
PerceivedObjects.msg
- int64 MIN_SIZE = 0 - int64 MAX_SIZE = 255 + uint8 MIN_SIZE = 0 + uint8 MAX_SIZE = 255
PerceptionRegionContainer.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 256 + uint16 MIN_SIZE = 1 + uint16 MAX_SIZE = 256
PolygonalShape.msg
- int64 POLYGON_MIN_SIZE = 3 - int64 POLYGON_MAX_SIZE = 16 + uint8 POLYGON_MIN_SIZE = 3 + uint8 POLYGON_MAX_SIZE = 16
RadialShapesList.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 16 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 16
SensorInformationContainer.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 128 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 128
SequenceOfCartesianPosition3d.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 16 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 16
SequenceOfIdentifier1B.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 128 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 128
TrailerDataSet.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 8 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 8
VruClusterInformation.msg
- int64 CLUSTER_BOUNDING_BOX_SHAPE_MIN = 0
WrappedCpmContainer.msg
- 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
etsi_its_denm_msgs
ManagementContainer.msg
- uint32 VALIDITY_DURATION_DEFAULT = 600 + uint16 VALIDITY_DURATION_DEFAULT = 600
PathDeltaTime.msg
- int64 value - int64 MIN = 1 - int64 MAX = 65535 - int64 TEN_MILLI_SECONDS_IN_PAST = 1 + uint16 value + uint16 MIN = 1 + uint16 MAX = 65535 + uint16 TEN_MILLI_SECONDS_IN_PAST = 1
PositionOfPillars.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 3 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 3
ReferenceDenms.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 3 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 8
RestrictedTypes.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 3 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 3
etsi_its_vam_ts_msgs
PathDeltaTime.msg
- int64 value - int64 MIN = 1 - int64 MAX = 65535 - int64 TEN_MILLI_SECONDS_IN_PAST = 1 + uint16 value + uint16 MIN = 1 + uint16 MAX = 65535 + uint16 TEN_MILLI_SECONDS_IN_PAST = 1
PathPointPredicted.msg
- DeltaAltitude delta_altitude - int16 DELTA_ALTITUDE_DEFAULT = 12800 - AltitudeConfidence altitude_confidence + DeltaAltitude delta_altitude + uint16 DELTA_ALTITUDE_DEFAULT = 12800 + AltitudeConfidence altitude_confidence + uint8 ALTITUDE_CONFIDENCE_DEFAULT = 15
RestrictedTypes.msg
- int64 MIN_SIZE = 0 - int64 MAX_SIZE = 15 + uint8 MIN_SIZE = 0 + uint8 MAX_SIZE = 15
RadialShapesList.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 16 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 16
SequenceOfCartesianPosition3d.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 16 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 16
SequenceOfSafeDistanceIndication.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 8 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 8
SequenceOfTrajectoryInterceptionIndication.msg
- int64 MIN_SIZE = 1 - int64 MAX_SIZE = 8 + uint8 MIN_SIZE = 1 + uint8 MAX_SIZE = 8
TrajectoryInterceptionConfidence.msg
- uint8 LESSTHAN50PERCENT = 0 - uint8 BETWEEN50AND70_PERCENT = 1 - uint8 BETWEEN70AND90_PERCENT = 2 + uint8 LESSTHAN50_PERCENT = 0 + uint8 BETWEEN50_AND70_PERCENT = 1 + uint8 BETWEEN70_AND90_PERCENT = 2