From 00351415bd4fac129b33bf661c8e53661b9050df Mon Sep 17 00:00:00 2001 From: Lennart Reiher Date: Mon, 16 Sep 2024 21:03:16 +0000 Subject: [PATCH] regenerate mapem msgs and conversion --- .../convertAccelerationConfidence.h | 54 ++++++ .../convertAccelerationControl.h | 56 ++++++ .../convertAccidentSubCauseCode.h | 54 ++++++ .../convertActionID.h | 56 ++++++ ...erseWeatherConditionAdhesionSubCauseCode.h | 54 ++++++ ...itionExtremeWeatherConditionSubCauseCode.h | 54 ++++++ ...eatherConditionPrecipitationSubCauseCode.h | 54 ++++++ ...seWeatherConditionVisibilitySubCauseCode.h | 54 ++++++ .../convertAdvisorySpeed.h | 99 ++++++++++ .../convertAdvisorySpeedList.h | 64 +++++++ .../convertAdvisorySpeedType.h | 53 ++++++ .../convertAllowedManeuvers.h | 56 ++++++ .../convertAlphabetIndicator.h | 54 ++++++ .../convertAltitude.h | 56 ++++++ .../convertAltitudeConfidence.h | 53 ++++++ .../convertAltitudeValue.h | 54 ++++++ .../convertAngle.h | 54 ++++++ .../convertAntennaOffsetSet.h | 59 ++++++ .../convertApproachID.h | 54 ++++++ .../convertAviEriDateTime.h | 54 ++++++ .../convertBasicVehicleRole.h | 53 ++++++ .../convertBatteryStatus.h | 53 ++++++ .../etsi_its_mapem_ts_conversion/convertCS1.h | 59 ++++++ .../etsi_its_mapem_ts_conversion/convertCS2.h | 56 ++++++ .../etsi_its_mapem_ts_conversion/convertCS3.h | 62 +++++++ .../etsi_its_mapem_ts_conversion/convertCS4.h | 59 ++++++ .../etsi_its_mapem_ts_conversion/convertCS5.h | 58 ++++++ .../etsi_its_mapem_ts_conversion/convertCS7.h | 53 ++++++ .../etsi_its_mapem_ts_conversion/convertCS8.h | 60 +++++++ .../convertCauseCode.h | 56 ++++++ .../convertCauseCodeType.h | 54 ++++++ .../convertCenDsrcTollingZone.h | 65 +++++++ .../convertCenDsrcTollingZoneID.h | 53 ++++++ .../convertClosedLanes.h | 76 ++++++++ .../convertCollisionRiskSubCauseCode.h | 54 ++++++ .../convertComputedLane.h | 97 ++++++++++ .../convertConnectingLane.h | 62 +++++++ .../convertConnection.h | 89 +++++++++ .../convertConnectionManeuverAssist.h | 98 ++++++++++ .../convertConnectionManeuverAssistaddGrpC.h | 59 ++++++ .../convertConnectionTrajectoryaddGrpC.h | 56 ++++++ .../convertConnectsToList.h | 64 +++++++ .../convertCountryCode.h | 56 ++++++ .../convertCurvature.h | 56 ++++++ .../convertCurvatureCalculationMode.h | 53 ++++++ .../convertCurvatureConfidence.h | 53 ++++++ .../convertCurvatureValue.h | 54 ++++++ .../convertDDateTime.h | 113 ++++++++++++ .../convertDDay.h | 54 ++++++ .../convertDHour.h | 54 ++++++ .../convertDMinute.h | 54 ++++++ .../convertDMonth.h | 54 ++++++ .../convertDOffset.h | 54 ++++++ .../convertDSRCmsgID.h | 54 ++++++ .../convertDSecond.h | 54 ++++++ .../convertDYear.h | 54 ++++++ .../convertDangerousEndOfQueueSubCauseCode.h | 54 ++++++ .../convertDangerousGoodsBasic.h | 53 ++++++ .../convertDangerousGoodsExtended.h | 94 ++++++++++ .../convertDangerousSituationSubCauseCode.h | 54 ++++++ .../convertDataParameters.h | 84 +++++++++ .../convertDeltaAltitude.h | 54 ++++++ .../convertDeltaAngle.h | 54 ++++++ .../convertDeltaLatitude.h | 54 ++++++ .../convertDeltaLongitude.h | 54 ++++++ .../convertDeltaReferencePosition.h | 59 ++++++ .../convertDeltaTime.h | 54 ++++++ .../convertDescriptiveName.h | 54 ++++++ .../convertDigitalMap.h | 64 +++++++ .../convertDriveDirection.h | 53 ++++++ .../convertDrivenLineOffsetLg.h | 54 ++++++ .../convertDrivenLineOffsetSm.h | 54 ++++++ .../convertDrivingLaneStatus.h | 56 ++++++ .../convertElevation.h | 54 ++++++ .../convertElevationConfidence.h | 53 ++++++ .../convertEmbarkationStatus.h | 54 ++++++ .../convertEmergencyPriority.h | 56 ++++++ ...tEmergencyVehicleApproachingSubCauseCode.h | 54 ++++++ .../convertEmissionType.h | 53 ++++++ .../convertEnabledLaneList.h | 64 +++++++ .../convertEnergyStorageType.h | 56 ++++++ .../convertEuVehicleCategoryCode.h | 102 +++++++++++ .../convertEuVehicleCategoryL.h | 53 ++++++ .../convertEuVehicleCategoryM.h | 53 ++++++ .../convertEuVehicleCategoryN.h | 53 ++++++ .../convertEuVehicleCategoryO.h | 53 ++++++ .../convertEventHistory.h | 64 +++++++ .../convertEventPoint.h | 65 +++++++ .../convertExceptionalCondition.h | 53 ++++++ .../convertExteriorLights.h | 56 ++++++ .../convertFreightContainerData.h | 74 ++++++++ .../convertFuelType.h | 54 ++++++ .../convertFullPositionVector.h | 128 +++++++++++++ .../convertGNSSstatus.h | 56 ++++++ .../convertGenericLane.h | 122 +++++++++++++ .../convertGeoGraphicalLimit.h | 56 ++++++ .../convertHardShoulderStatus.h | 53 ++++++ ...rdousLocationAnimalOnTheRoadSubCauseCode.h | 54 ++++++ ...ardousLocationDangerousCurveSubCauseCode.h | 54 ++++++ ...ousLocationObstacleOnTheRoadSubCauseCode.h | 54 ++++++ ...dousLocationSurfaceConditionSubCauseCode.h | 54 ++++++ .../convertHeading.h | 56 ++++++ .../convertHeadingConfidence.h | 54 ++++++ .../convertHeadingConfidenceDSRC.h | 53 ++++++ .../convertHeadingDSRC.h | 54 ++++++ .../convertHeadingValue.h | 54 ++++++ .../convertHeightLonCarr.h | 54 ++++++ ...onvertHumanPresenceOnTheRoadSubCauseCode.h | 54 ++++++ .../convertHumanProblemSubCauseCode.h | 54 ++++++ .../convertInformationQuality.h | 54 ++++++ .../convertIntersectionAccessPoint.h | 83 +++++++++ .../convertIntersectionGeometry.h | 108 +++++++++++ .../convertIntersectionGeometryList.h | 64 +++++++ .../convertIntersectionID.h | 54 ++++++ .../convertIntersectionReferenceID.h | 62 +++++++ .../convertIntersectionState.h | 117 ++++++++++++ .../convertIntersectionStateList.h | 64 +++++++ .../convertIntersectionStateaddGrpC.h | 59 ++++++ .../convertIntersectionStatusObject.h | 56 ++++++ .../convertIso3833VehicleType.h | 54 ++++++ .../convertIssuerIdentifier.h | 54 ++++++ .../convertItineraryPath.h | 64 +++++++ .../convertItsPduHeader.h | 59 ++++++ .../convertItsStationPosition.h | 80 +++++++++ .../convertItsStationPositionList.h | 64 +++++++ .../convertLaneAttributes.h | 69 +++++++ .../convertLaneAttributesBarrier.h | 56 ++++++ .../convertLaneAttributesBike.h | 56 ++++++ .../convertLaneAttributesCrosswalk.h | 56 ++++++ .../convertLaneAttributesParking.h | 56 ++++++ .../convertLaneAttributesSidewalk.h | 56 ++++++ .../convertLaneAttributesStriping.h | 56 ++++++ .../convertLaneAttributesTrackedVehicle.h | 56 ++++++ .../convertLaneAttributesVehicle.h | 56 ++++++ .../convertLaneAttributesaddGrpC.h | 68 +++++++ .../convertLaneConnectionID.h | 54 ++++++ .../convertLaneDataAttribute.h | 114 ++++++++++++ .../convertLaneDataAttributeList.h | 64 +++++++ .../convertLaneDirection.h | 56 ++++++ .../convertLaneID.h | 54 ++++++ .../convertLaneList.h | 64 +++++++ .../convertLanePosition.h | 54 ++++++ .../convertLaneSharing.h | 56 ++++++ .../convertLaneTypeAttributes.h | 128 +++++++++++++ .../convertLaneWidth.h | 54 ++++++ .../convertLateralAcceleration.h | 56 ++++++ .../convertLateralAccelerationValue.h | 54 ++++++ .../convertLatitude.h | 54 ++++++ .../convertLayerID.h | 54 ++++++ .../convertLayerType.h | 53 ++++++ .../convertLicPlateNumber.h | 54 ++++++ .../convertLightBarSirenInUse.h | 56 ++++++ .../convertLongitude.h | 54 ++++++ .../convertLongitudinalAcceleration.h | 56 ++++++ .../convertLongitudinalAccelerationValue.h | 54 ++++++ .../convertMAPEM.h | 56 ++++++ .../convertManeuverAssistList.h | 64 +++++++ .../convertManufacturerIdentifier.h | 54 ++++++ .../convertMapData.h | 126 +++++++++++++ .../convertMapDataaddGrpC.h | 59 ++++++ .../convertMergeDivergeNodeAngle.h | 54 ++++++ .../convertMinuteOfTheYear.h | 54 ++++++ .../convertMovementEvent.h | 81 +++++++++ .../convertMovementEventList.h | 64 +++++++ .../convertMovementEventaddGrpC.h | 59 ++++++ .../convertMovementList.h | 64 +++++++ .../convertMovementPhaseState.h | 53 ++++++ .../convertMovementState.h | 84 +++++++++ .../convertMsgCount.h | 54 ++++++ .../convertNode.h | 81 +++++++++ .../convertNodeAttributeSetXY.h | 112 ++++++++++++ .../convertNodeAttributeSetaddGrpC.h | 77 ++++++++ .../convertNodeAttributeXY.h | 53 ++++++ .../convertNodeAttributeXYList.h | 64 +++++++ .../convertNodeLLmD64b.h | 56 ++++++ .../convertNodeLink.h | 64 +++++++ .../convertNodeListXY.h | 74 ++++++++ .../convertNodeOffsetPointXY.h | 125 +++++++++++++ .../convertNodeSetXY.h | 64 +++++++ .../convertNodeXY.h | 62 +++++++ .../convertNodeXY20b.h | 55 ++++++ .../convertNodeXY22b.h | 55 ++++++ .../convertNodeXY24b.h | 55 ++++++ .../convertNodeXY26b.h | 55 ++++++ .../convertNodeXY28b.h | 55 ++++++ .../convertNodeXY32b.h | 55 ++++++ .../convertNumberOfOccupants.h | 54 ++++++ .../convertOffsetB09.h | 54 ++++++ .../convertOffsetB10.h | 54 ++++++ .../convertOffsetB11.h | 54 ++++++ .../convertOffsetB12.h | 54 ++++++ .../convertOffsetB13.h | 54 ++++++ .../convertOffsetB14.h | 54 ++++++ .../convertOffsetB16.h | 54 ++++++ .../convertOpeningDaysHours.h | 54 ++++++ .../convertOverlayLaneList.h | 64 +++++++ .../convertPathDeltaTime.h | 54 ++++++ .../convertPathHistory.h | 64 +++++++ .../convertPathPoint.h | 62 +++++++ .../convertPedestrianBicycleDetect.h | 54 ++++++ .../convertPerformanceClass.h | 54 ++++++ .../convertPhoneNumber.h | 54 ++++++ .../convertPosCentMass.h | 54 ++++++ .../convertPosConfidenceEllipse.h | 58 ++++++ .../convertPosFrontAx.h | 54 ++++++ .../convertPosLonCarr.h | 54 ++++++ .../convertPosPillar.h | 54 ++++++ .../convertPosition3D.h | 75 ++++++++ .../convertPosition3DaddGrpC.h | 53 ++++++ .../convertPositionConfidence.h | 53 ++++++ .../convertPositionConfidenceSet.h | 56 ++++++ .../convertPositionOfOccupants.h | 56 ++++++ .../convertPositionOfPillars.h | 64 +++++++ .../convertPositionalAccuracy.h | 59 ++++++ .../convertPositioningSolutionType.h | 53 ++++++ .../convertPostCrashSubCauseCode.h | 54 ++++++ .../convertPreemptPriorityList.h | 64 +++++++ .../convertPrioritizationResponse.h | 59 ++++++ .../convertPrioritizationResponseList.h | 64 +++++++ .../convertPrioritizationResponseStatus.h | 53 ++++++ .../convertPriorityRequestType.h | 53 ++++++ .../convertProtectedCommunicationZone.h | 86 +++++++++ .../convertProtectedCommunicationZonesRSU.h | 64 +++++++ .../convertProtectedZoneID.h | 54 ++++++ .../convertProtectedZoneRadius.h | 54 ++++++ .../convertProtectedZoneType.h | 53 ++++++ .../convertPtActivation.h | 56 ++++++ .../convertPtActivationData.h | 54 ++++++ .../convertPtActivationType.h | 54 ++++++ .../convertPtvRequestType.h | 53 ++++++ .../convertRTCMRevision.h | 53 ++++++ .../convertRTCMcorrections.h | 96 ++++++++++ .../convertRTCMheader.h | 56 ++++++ .../convertRTCMmessage.h | 54 ++++++ .../convertRTCMmessageList.h | 64 +++++++ .../convertReferencePosition.h | 62 +++++++ .../convertRegionId.h | 54 ++++++ .../convertRegulatorySpeedLimit.h | 56 ++++++ .../convertRejectedReason.h | 53 ++++++ .../convertRelevanceDistance.h | 53 ++++++ .../convertRelevanceTrafficDirection.h | 53 ++++++ .../convertRequestID.h | 54 ++++++ .../convertRequestImportanceLevel.h | 53 ++++++ .../convertRequestResponseIndication.h | 53 ++++++ .../convertRequestSubRole.h | 53 ++++++ .../convertRequestorDescription.h | 125 +++++++++++++ .../convertRequestorDescriptionaddGrpC.h | 68 +++++++ .../convertRequestorPositionVector.h | 71 ++++++++ .../convertRequestorType.h | 99 ++++++++++ ...cueAndRecoveryWorkInProgressSubCauseCode.h | 54 ++++++ .../convertRestrictedTypes.h | 64 +++++++ .../convertRestrictionAppliesTo.h | 53 ++++++ .../convertRestrictionClassAssignment.h | 56 ++++++ .../convertRestrictionClassID.h | 54 ++++++ .../convertRestrictionClassList.h | 64 +++++++ .../convertRestrictionUserType.h | 71 ++++++++ .../convertRestrictionUserTypeList.h | 64 +++++++ .../convertRestrictionUserTypeaddGrpC.h | 68 +++++++ .../convertRoadLaneSetList.h | 64 +++++++ .../convertRoadRegulatorID.h | 54 ++++++ .../convertRoadSegment.h | 99 ++++++++++ .../convertRoadSegmentID.h | 54 ++++++ .../convertRoadSegmentList.h | 64 +++++++ .../convertRoadSegmentReferenceID.h | 62 +++++++ .../convertRoadType.h | 53 ++++++ .../convertRoadwayCrownAngle.h | 54 ++++++ .../convertRoadworksSubCauseCode.h | 54 ++++++ .../convertSPAT.h | 81 +++++++++ .../convertScaleB12.h | 54 ++++++ .../convertSegmentAttributeXY.h | 53 ++++++ .../convertSegmentAttributeXYList.h | 64 +++++++ .../convertSemiAxisLength.h | 54 ++++++ .../convertSemiMajorAxisAccuracy.h | 54 ++++++ .../convertSemiMajorAxisOrientation.h | 54 ++++++ .../convertSemiMinorAxisAccuracy.h | 54 ++++++ .../convertSequenceNumber.h | 54 ++++++ .../convertServiceApplicationLimit.h | 56 ++++++ .../convertServiceNumber.h | 56 ++++++ .../convertSignalControlZone.h | 54 ++++++ .../convertSignalGroupID.h | 54 ++++++ .../convertSignalHeadLocation.h | 59 ++++++ .../convertSignalHeadLocationList.h | 64 +++++++ .../convertSignalRequest.h | 80 +++++++++ .../convertSignalRequestList.h | 64 +++++++ .../convertSignalRequestMessage.h | 93 ++++++++++ .../convertSignalRequestPackage.h | 89 +++++++++ .../convertSignalRequesterInfo.h | 77 ++++++++ .../convertSignalStatus.h | 69 +++++++ .../convertSignalStatusList.h | 64 +++++++ .../convertSignalStatusMessage.h | 84 +++++++++ .../convertSignalStatusPackage.h | 109 +++++++++++ .../convertSignalStatusPackageList.h | 64 +++++++ .../convertSignalStatusPackageaddGrpC.h | 68 +++++++ .../convertSignalViolationSubCauseCode.h | 54 ++++++ .../convertSlowVehicleSubCauseCode.h | 54 ++++++ .../convertSpecialTransportType.h | 56 ++++++ .../convertSpeed.h | 56 ++++++ .../convertSpeedAdvice.h | 54 ++++++ .../convertSpeedConfidence.h | 54 ++++++ .../convertSpeedConfidenceDSRC.h | 53 ++++++ .../convertSpeedLimit.h | 54 ++++++ .../convertSpeedLimitList.h | 64 +++++++ .../convertSpeedLimitType.h | 53 ++++++ .../convertSpeedValue.h | 54 ++++++ ...vertSpeedandHeadingandThrottleConfidence.h | 59 ++++++ .../convertStartTime.h | 53 ++++++ .../convertStationID.h | 54 ++++++ .../convertStationType.h | 54 ++++++ .../convertStationarySince.h | 53 ++++++ .../convertStationaryVehicleSubCauseCode.h | 54 ++++++ .../convertSteeringWheelAngle.h | 56 ++++++ .../convertSteeringWheelAngleConfidence.h | 54 ++++++ .../convertSteeringWheelAngleValue.h | 54 ++++++ .../convertStopTime.h | 53 ++++++ .../convertSubCauseCodeType.h | 54 ++++++ .../convertTaxCode.h | 54 ++++++ .../convertTemperature.h | 54 ++++++ .../convertTemporaryID.h | 54 ++++++ .../convertThrottleConfidence.h | 53 ++++++ .../convertTimeChangeDetails.h | 94 ++++++++++ .../convertTimeConfidence.h | 53 ++++++ .../convertTimeIntervalConfidence.h | 54 ++++++ .../convertTimeMark.h | 54 ++++++ .../convertTimeReference.h | 54 ++++++ .../convertTimestampIts.h | 54 ++++++ .../convertTraces.h | 64 +++++++ .../convertTrafficConditionSubCauseCode.h | 54 ++++++ .../convertTrafficRule.h | 53 ++++++ .../convertTransitVehicleOccupancy.h | 53 ++++++ .../convertTransitVehicleStatus.h | 56 ++++++ .../convertTransmissionAndSpeed.h | 56 ++++++ .../convertTransmissionInterval.h | 54 ++++++ .../convertTransmissionState.h | 53 ++++++ .../convertTurningRadius.h | 54 ++++++ .../etsi_its_mapem_ts_conversion/convertVDS.h | 54 ++++++ .../convertValidityDuration.h | 54 ++++++ .../convertVehicleBreakdownSubCauseCode.h | 54 ++++++ .../convertVehicleHeight.h | 54 ++++++ .../convertVehicleID.h | 74 ++++++++ .../convertVehicleIdentification.h | 68 +++++++ .../convertVehicleLength.h | 56 ++++++ ...convertVehicleLengthConfidenceIndication.h | 53 ++++++ .../convertVehicleLengthValue.h | 54 ++++++ .../convertVehicleMass.h | 54 ++++++ .../convertVehicleRole.h | 53 ++++++ .../convertVehicleType.h | 53 ++++++ .../convertVehicleWidth.h | 54 ++++++ .../convertVelocity.h | 54 ++++++ .../convertVerticalAcceleration.h | 56 ++++++ .../convertVerticalAccelerationValue.h | 54 ++++++ .../convertWMInumber.h | 54 ++++++ .../convertWaitOnStopline.h | 54 ++++++ .../convertWheelBaseVehicle.h | 54 ++++++ .../convertWrongWayDrivingSubCauseCode.h | 54 ++++++ .../convertYawRate.h | 56 ++++++ .../convertYawRateConfidence.h | 53 ++++++ .../convertYawRateValue.h | 54 ++++++ .../convertZoneLength.h | 54 ++++++ .../msg/AccelerationConfidence.msg | 37 ++++ .../msg/AccelerationControl.msg | 49 +++++ .../msg/AccidentSubCauseCode.msg | 43 +++++ .../etsi_its_mapem_ts_msgs/msg/ActionID.msg | 37 ++++ ...seWeatherConditionAdhesionSubCauseCode.msg | 45 +++++ ...ionExtremeWeatherConditionSubCauseCode.msg | 41 +++++ ...therConditionPrecipitationSubCauseCode.msg | 38 ++++ ...WeatherConditionVisibilitySubCauseCode.msg | 43 +++++ .../msg/AdvisorySpeed.msg | 93 ++++++++++ .../msg/AdvisorySpeedList.msg | 34 ++++ .../msg/AdvisorySpeedType.msg | 46 +++++ .../msg/AllowedManeuvers.msg | 59 ++++++ .../msg/AlphabetIndicator.msg | 59 ++++++ .../etsi_its_mapem_ts_msgs/msg/Altitude.msg | 37 ++++ .../msg/AltitudeConfidence.msg | 66 +++++++ .../msg/AltitudeValue.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/Angle.msg | 35 ++++ .../msg/AntennaOffsetSet.msg | 40 +++++ .../etsi_its_mapem_ts_msgs/msg/ApproachID.msg | 35 ++++ .../msg/AviEriDateTime.msg | 34 ++++ .../msg/BasicVehicleRole.msg | 81 +++++++++ .../msg/BatteryStatus.msg | 46 +++++ .../etsi_its_mapem_ts_msgs/msg/CS1.msg | 40 +++++ .../etsi_its_mapem_ts_msgs/msg/CS2.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/CS3.msg | 43 +++++ .../etsi_its_mapem_ts_msgs/msg/CS4.msg | 48 +++++ .../etsi_its_mapem_ts_msgs/msg/CS5.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/CS7.msg | 32 ++++ .../etsi_its_mapem_ts_msgs/msg/CS8.msg | 43 +++++ .../etsi_its_mapem_ts_msgs/msg/CauseCode.msg | 38 ++++ .../msg/CauseCodeType.msg | 89 +++++++++ .../msg/CenDsrcTollingZone.msg | 42 +++++ .../msg/CenDsrcTollingZoneID.msg | 32 ++++ .../msg/ClosedLanes.msg | 44 +++++ .../msg/CollisionRiskSubCauseCode.msg | 39 ++++ .../msg/ComputedLane.msg | 170 ++++++++++++++++++ .../msg/ConnectingLane.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/Connection.msg | 50 ++++++ .../msg/ConnectionManeuverAssist.msg | 88 +++++++++ .../msg/ConnectionTrajectory.msg | 34 ++++ .../msg/ConnectsToList.msg | 34 ++++ .../msg/CountryCode.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/Curvature.msg | 37 ++++ .../msg/CurvatureCalculationMode.msg | 36 ++++ .../msg/CurvatureConfidence.msg | 50 ++++++ .../msg/CurvatureValue.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/DDateTime.msg | 59 ++++++ .../etsi_its_mapem_ts_msgs/msg/DDay.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DHour.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DMinute.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DMonth.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DOffset.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DSRCmsgID.msg | 39 ++++ .../etsi_its_mapem_ts_msgs/msg/DSecond.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/DYear.msg | 35 ++++ .../msg/DangerousEndOfQueueSubCauseCode.msg | 39 ++++ .../msg/DangerousGoodsBasic.msg | 74 ++++++++ .../msg/DangerousGoodsExtended.msg | 65 +++++++ .../msg/DangerousSituationSubCauseCode.msg | 42 +++++ .../msg/DataParameters.msg | 56 ++++++ .../msg/DeltaAltitude.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/DeltaAngle.msg | 35 ++++ .../msg/DeltaLatitude.msg | 37 ++++ .../msg/DeltaLongitude.msg | 37 ++++ .../msg/DeltaReferencePosition.msg | 40 +++++ .../etsi_its_mapem_ts_msgs/msg/DeltaTime.msg | 35 ++++ .../msg/DescriptiveName.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/DigitalMap.msg | 34 ++++ .../msg/DriveDirection.msg | 36 ++++ .../msg/DrivenLineOffsetLg.msg | 35 ++++ .../msg/DrivenLineOffsetSm.msg | 35 ++++ .../msg/DrivingLaneStatus.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/Elevation.msg | 35 ++++ .../msg/ElevationConfidence.msg | 66 +++++++ .../msg/EmbarkationStatus.msg | 33 ++++ .../msg/EmergencyPriority.msg | 36 ++++ ...mergencyVehicleApproachingSubCauseCode.msg | 37 ++++ .../msg/EmissionType.msg | 47 +++++ .../msg/EnabledLaneList.msg | 34 ++++ .../msg/EnergyStorageType.msg | 41 +++++ .../msg/EuVehicleCategoryCode.msg | 59 ++++++ .../msg/EuVehicleCategoryL.msg | 40 +++++ .../msg/EuVehicleCategoryM.msg | 36 ++++ .../msg/EuVehicleCategoryN.msg | 36 ++++ .../msg/EuVehicleCategoryO.msg | 37 ++++ .../msg/EventHistory.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/EventPoint.msg | 41 +++++ .../msg/ExceptionalCondition.msg | 61 +++++++ .../msg/ExteriorLights.msg | 51 ++++++ .../msg/FreightContainerData.msg | 79 ++++++++ .../etsi_its_mapem_ts_msgs/msg/FuelType.msg | 44 +++++ .../msg/FullPositionVector.msg | 70 ++++++++ .../etsi_its_mapem_ts_msgs/msg/GNSSstatus.msg | 51 ++++++ .../msg/GenericLane.msg | 102 +++++++++++ .../msg/GeoGraphicalLimit.msg | 51 ++++++ .../msg/HardShoulderStatus.msg | 36 ++++ ...ousLocationAnimalOnTheRoadSubCauseCode.msg | 39 ++++ ...dousLocationDangerousCurveSubCauseCode.msg | 40 +++++ ...sLocationObstacleOnTheRoadSubCauseCode.msg | 42 +++++ ...usLocationSurfaceConditionSubCauseCode.msg | 44 +++++ .../etsi_its_mapem_ts_msgs/msg/Heading.msg | 37 ++++ .../msg/HeadingConfidence.msg | 38 ++++ .../msg/HeadingConfidenceDSRC.msg | 50 ++++++ .../msg/HeadingDSRC.msg | 35 ++++ .../msg/HeadingValue.msg | 39 ++++ .../msg/HeightLonCarr.msg | 36 ++++ .../HumanPresenceOnTheRoadSubCauseCode.msg | 38 ++++ .../msg/HumanProblemSubCauseCode.msg | 37 ++++ .../msg/InformationQuality.msg | 37 ++++ .../msg/IntersectionAccessPoint.msg | 46 +++++ .../msg/IntersectionGeometry.msg | 97 ++++++++++ .../msg/IntersectionGeometryList.msg | 34 ++++ .../msg/IntersectionID.msg | 35 ++++ .../msg/IntersectionReferenceID.msg | 38 ++++ .../msg/IntersectionState.msg | 101 +++++++++++ .../msg/IntersectionStateList.msg | 34 ++++ .../msg/IntersectionStatusObject.msg | 63 +++++++ .../msg/Iso3833VehicleType.msg | 117 ++++++++++++ .../msg/IssuerIdentifier.msg | 35 ++++ .../msg/ItineraryPath.msg | 34 ++++ .../msg/ItsPduHeader.msg | 55 ++++++ .../msg/ItsStationPosition.msg | 51 ++++++ .../msg/ItsStationPositionList.msg | 34 ++++ .../msg/LaneAttributes.msg | 47 +++++ .../msg/LaneConnectionID.msg | 35 ++++ .../msg/LaneDataAttribute.msg | 95 ++++++++++ .../msg/LaneDataAttributeList.msg | 34 ++++ .../msg/LaneDirection.msg | 39 ++++ .../etsi_its_mapem_ts_msgs/msg/LaneID.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/LaneList.msg | 34 ++++ .../msg/LanePosition.msg | 39 ++++ .../msg/LaneSharing.msg | 55 ++++++ .../msg/LaneTypeAttributes.msg | 66 +++++++ .../etsi_its_mapem_ts_msgs/msg/LaneWidth.msg | 35 ++++ .../msg/LateralAcceleration.msg | 37 ++++ .../msg/LateralAccelerationValue.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/Latitude.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/LayerID.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/LayerType.msg | 51 ++++++ .../msg/LicPlateNumber.msg | 33 ++++ .../msg/LightBarSirenInUse.msg | 39 ++++ .../etsi_its_mapem_ts_msgs/msg/Longitude.msg | 37 ++++ .../msg/LongitudinalAcceleration.msg | 37 ++++ .../msg/LongitudinalAccelerationValue.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/MAPEM.msg | 48 +++++ .../msg/ManeuverAssistList.msg | 34 ++++ .../msg/ManufacturerIdentifier.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/MapData.msg | 100 +++++++++++ .../msg/MergeDivergeNodeAngle.msg | 35 ++++ .../msg/MinuteOfTheYear.msg | 35 ++++ .../msg/MovementEvent.msg | 80 +++++++++ .../msg/MovementEventList.msg | 34 ++++ .../msg/MovementList.msg | 34 ++++ .../msg/MovementPhaseState.msg | 54 ++++++ .../msg/MovementState.msg | 83 +++++++++ .../etsi_its_mapem_ts_msgs/msg/MsgCount.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/Node.msg | 40 +++++ .../msg/NodeAttributeSet.msg | 39 ++++ .../msg/NodeAttributeSetXY.msg | 93 ++++++++++ .../msg/NodeAttributeXY.msg | 59 ++++++ .../msg/NodeAttributeXYList.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/NodeLink.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/NodeListXY.msg | 42 +++++ .../msg/NodeOffsetPointXY.msg | 99 ++++++++++ .../etsi_its_mapem_ts_msgs/msg/NodeSetXY.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/NodeXY.msg | 39 ++++ .../msg/NumberOfOccupants.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB09.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB10.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB11.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB12.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB13.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB14.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/OffsetB16.msg | 35 ++++ .../msg/OpeningDaysHours.msg | 33 ++++ .../msg/OverlayLaneList.msg | 34 ++++ .../msg/PathDeltaTime.msg | 35 ++++ .../msg/PathHistory.msg | 34 ++++ .../etsi_its_mapem_ts_msgs/msg/PathPoint.msg | 38 ++++ .../msg/PedestrianBicycleDetect.msg | 33 ++++ .../msg/PerformanceClass.msg | 37 ++++ .../msg/PhoneNumber.msg | 34 ++++ .../msg/PosCentMass.msg | 36 ++++ .../msg/PosConfidenceEllipse.msg | 40 +++++ .../etsi_its_mapem_ts_msgs/msg/PosFrontAx.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/PosLonCarr.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/PosPillar.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/Position3D.msg | 79 ++++++++ .../msg/PositionConfidence.msg | 66 +++++++ .../msg/PositionConfidenceSet.msg | 37 ++++ .../msg/PositionOfOccupants.msg | 74 ++++++++ .../msg/PositionOfPillars.msg | 34 ++++ .../msg/PositionalAccuracy.msg | 40 +++++ .../msg/PositioningSolutionType.msg | 39 ++++ .../msg/PostCrashSubCauseCode.msg | 39 ++++ .../msg/PreemptPriorityList.msg | 34 ++++ .../msg/PrioritizationResponse.msg | 41 +++++ .../msg/PrioritizationResponseList.msg | 34 ++++ .../msg/PrioritizationResponseStatus.msg | 51 ++++++ .../msg/PriorityRequestType.msg | 43 +++++ .../msg/ProtectedCommunicationZone.msg | 53 ++++++ .../msg/ProtectedCommunicationZonesRSU.msg | 34 ++++ .../msg/ProtectedZoneID.msg | 35 ++++ .../msg/ProtectedZoneRadius.msg | 35 ++++ .../msg/ProtectedZoneType.msg | 36 ++++ .../msg/PtActivation.msg | 37 ++++ .../msg/PtActivationData.msg | 34 ++++ .../msg/PtActivationType.msg | 37 ++++ .../msg/PtvRequestType.msg | 45 +++++ .../etsi_its_mapem_ts_msgs/msg/RTCM.msg | 37 ++++ .../msg/RTCMcorrections.msg | 90 ++++++++++ .../etsi_its_mapem_ts_msgs/msg/RTCMheader.msg | 37 ++++ .../msg/RTCMmessage.msg | 34 ++++ .../msg/RTCMmessageList.msg | 34 ++++ .../msg/ReferencePosition.msg | 43 +++++ .../etsi_its_mapem_ts_msgs/msg/Reg.msg | 7 + .../etsi_its_mapem_ts_msgs/msg/RegionId.msg | 38 ++++ .../msg/RegulatorySpeedLimit.msg | 37 ++++ .../msg/RejectedReason.msg | 47 +++++ .../msg/RelevanceDistance.msg | 41 +++++ .../msg/RelevanceTrafficDirection.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/RequestID.msg | 35 ++++ .../msg/RequestImportanceLevel.msg | 66 +++++++ .../msg/RequestResponseIndication.msg | 35 ++++ .../msg/RequestSubRole.msg | 66 +++++++ .../msg/RequestorDescription.msg | 100 +++++++++++ .../msg/RequestorPositionVector.msg | 43 +++++ .../msg/RequestorType.msg | 86 +++++++++ ...eAndRecoveryWorkInProgressSubCauseCode.msg | 40 +++++ .../msg/RestrictedTypes.msg | 34 ++++ .../msg/RestrictionAppliesTo.msg | 63 +++++++ .../msg/RestrictionClassAssignment.msg | 37 ++++ .../msg/RestrictionClassID.msg | 35 ++++ .../msg/RestrictionClassList.msg | 34 ++++ .../msg/RestrictionUserType.msg | 75 ++++++++ .../msg/RestrictionUserTypeList.msg | 34 ++++ .../msg/RoadLaneSetList.msg | 34 ++++ .../msg/RoadRegulatorID.msg | 35 ++++ .../msg/RoadSegment.msg | 93 ++++++++++ .../msg/RoadSegmentID.msg | 35 ++++ .../msg/RoadSegmentList.msg | 34 ++++ .../msg/RoadSegmentReferenceID.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/RoadType.msg | 41 +++++ .../msg/RoadwayCrownAngle.msg | 35 ++++ .../msg/RoadworksSubCauseCode.msg | 41 +++++ .../etsi_its_mapem_ts_msgs/msg/SPAT.msg | 80 +++++++++ .../etsi_its_mapem_ts_msgs/msg/ScaleB12.msg | 35 ++++ .../msg/SegmentAttributeXY.msg | 111 ++++++++++++ .../msg/SegmentAttributeXYList.msg | 34 ++++ .../msg/SemiAxisLength.msg | 37 ++++ .../msg/SemiMajorAxisAccuracy.msg | 35 ++++ .../msg/SemiMajorAxisOrientation.msg | 35 ++++ .../msg/SemiMinorAxisAccuracy.msg | 35 ++++ .../msg/SequenceNumber.msg | 35 ++++ .../msg/ServiceApplicationLimit.msg | 51 ++++++ .../msg/ServiceNumber.msg | 36 ++++ .../msg/SignalControlZone.msg | 68 +++++++ .../msg/SignalGroupID.msg | 35 ++++ .../msg/SignalHeadLocation.msg | 41 +++++ .../msg/SignalHeadLocationList.msg | 34 ++++ .../msg/SignalRequest.msg | 85 +++++++++ .../msg/SignalRequestList.msg | 34 ++++ .../msg/SignalRequestMessage.msg | 87 +++++++++ .../msg/SignalRequestPackage.msg | 84 +++++++++ .../msg/SignalRequesterInfo.msg | 49 +++++ .../msg/SignalStatus.msg | 78 ++++++++ .../msg/SignalStatusList.msg | 34 ++++ .../msg/SignalStatusMessage.msg | 83 +++++++++ .../msg/SignalStatusPackage.msg | 96 ++++++++++ .../msg/SignalStatusPackageList.msg | 34 ++++ .../msg/SignalViolationSubCauseCode.msg | 38 ++++ .../msg/SlowVehicleSubCauseCode.msg | 43 +++++ .../msg/SpecialTransportType.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/Speed.msg | 37 ++++ .../msg/SpeedAdvice.msg | 35 ++++ .../msg/SpeedConfidence.msg | 38 ++++ .../msg/SpeedConfidenceDSRC.msg | 50 ++++++ .../etsi_its_mapem_ts_msgs/msg/SpeedLimit.msg | 35 ++++ .../msg/SpeedLimitList.msg | 34 ++++ .../msg/SpeedLimitType.msg | 61 +++++++ .../etsi_its_mapem_ts_msgs/msg/SpeedValue.msg | 37 ++++ .../SpeedandHeadingandThrottleConfidence.msg | 40 +++++ .../etsi_its_mapem_ts_msgs/msg/StartTime.msg | 33 ++++ .../etsi_its_mapem_ts_msgs/msg/StationID.msg | 35 ++++ .../msg/StationType.msg | 48 +++++ .../msg/StationarySince.msg | 37 ++++ .../msg/StationaryVehicleSubCauseCode.msg | 40 +++++ .../msg/SteeringWheelAngle.msg | 37 ++++ .../msg/SteeringWheelAngleConfidence.msg | 37 ++++ .../msg/SteeringWheelAngleValue.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/StopTime.msg | 32 ++++ .../msg/SubCauseCodeType.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/TaxCode.msg | 33 ++++ .../msg/Temperature.msg | 37 ++++ .../msg/TemporaryID.msg | 33 ++++ .../msg/ThrottleConfidence.msg | 42 +++++ .../msg/TimeChangeDetails.msg | 54 ++++++ .../msg/TimeConfidence.msg | 114 ++++++++++++ .../msg/TimeIntervalConfidence.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/TimeMark.msg | 35 ++++ .../msg/TimeReference.msg | 35 ++++ .../msg/TimestampIts.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/Traces.msg | 34 ++++ .../msg/TrafficConditionSubCauseCode.msg | 43 +++++ .../msg/TrafficRule.msg | 38 ++++ .../msg/TransitVehicleOccupancy.msg | 50 ++++++ .../msg/TransitVehicleStatus.msg | 47 +++++ .../msg/TransmissionAndSpeed.msg | 37 ++++ .../msg/TransmissionInterval.msg | 36 ++++ .../msg/TransmissionState.msg | 50 ++++++ .../msg/TurningRadius.msg | 36 ++++ .../etsi_its_mapem_ts_msgs/msg/VDS.msg | 33 ++++ .../msg/ValidityDuration.msg | 36 ++++ .../msg/VehicleBreakdownSubCauseCode.msg | 44 +++++ .../msg/VehicleHeight.msg | 35 ++++ .../etsi_its_mapem_ts_msgs/msg/VehicleID.msg | 41 +++++ .../msg/VehicleIdentification.msg | 40 +++++ .../msg/VehicleLength.msg | 37 ++++ .../msg/VehicleLengthConfidenceIndication.msg | 38 ++++ .../msg/VehicleLengthValue.msg | 37 ++++ .../msg/VehicleMass.msg | 36 ++++ .../msg/VehicleRole.msg | 49 +++++ .../msg/VehicleType.msg | 67 +++++++ .../msg/VehicleWidth.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/Velocity.msg | 35 ++++ .../msg/VerticalAcceleration.msg | 37 ++++ .../msg/VerticalAccelerationValue.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/WMInumber.msg | 34 ++++ .../msg/WaitOnStopline.msg | 33 ++++ .../msg/WheelBaseVehicle.msg | 36 ++++ .../msg/WrongWayDrivingSubCauseCode.msg | 37 ++++ .../etsi_its_mapem_ts_msgs/msg/YawRate.msg | 37 ++++ .../msg/YawRateConfidence.msg | 52 ++++++ .../msg/YawRateValue.msg | 38 ++++ .../etsi_its_mapem_ts_msgs/msg/ZoneLength.msg | 35 ++++ 693 files changed, 36801 insertions(+) create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationControl.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccidentSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertActionID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionAdhesionSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionExtremeWeatherConditionSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionPrecipitationSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionVisibilitySubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeed.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAllowedManeuvers.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAlphabetIndicator.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAngle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAntennaOffsetSet.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertApproachID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAviEriDateTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBasicVehicleRole.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBatteryStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS1.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS2.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS3.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS4.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS5.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS7.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS8.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCodeType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZone.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZoneID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertClosedLanes.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCollisionRiskSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertComputedLane.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectingLane.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnection.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssist.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssistaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionTrajectoryaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectsToList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCountryCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvature.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureCalculationMode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDateTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDay.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDHour.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMinute.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMonth.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDOffset.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSRCmsgID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSecond.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDYear.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousEndOfQueueSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsBasic.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsExtended.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousSituationSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDataParameters.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAltitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAngle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLatitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLongitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaReferencePosition.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDescriptiveName.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDigitalMap.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDriveDirection.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetLg.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetSm.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivingLaneStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevation.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevationConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmbarkationStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyPriority.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyVehicleApproachingSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmissionType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnabledLaneList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnergyStorageType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryL.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryM.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryN.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryO.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventHistory.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventPoint.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExceptionalCondition.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExteriorLights.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFreightContainerData.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFuelType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFullPositionVector.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGNSSstatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGenericLane.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGeoGraphicalLimit.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHardShoulderStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationAnimalOnTheRoadSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationDangerousCurveSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationObstacleOnTheRoadSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationSurfaceConditionSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeading.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidenceDSRC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingDSRC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeightLonCarr.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanPresenceOnTheRoadSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanProblemSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertInformationQuality.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionAccessPoint.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometry.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometryList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionReferenceID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionState.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStatusObject.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIso3833VehicleType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIssuerIdentifier.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItineraryPath.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsPduHeader.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPosition.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPositionList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributes.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBarrier.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBike.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesCrosswalk.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesParking.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesSidewalk.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesStriping.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesTrackedVehicle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesVehicle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneConnectionID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttribute.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttributeList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDirection.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLanePosition.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneSharing.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneTypeAttributes.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneWidth.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAcceleration.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAccelerationValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLatitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLicPlateNumber.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLightBarSirenInUse.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitude.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAcceleration.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAccelerationValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMAPEM.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManeuverAssistList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManufacturerIdentifier.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapData.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapDataaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMergeDivergeNodeAngle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMinuteOfTheYear.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEvent.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementPhaseState.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementState.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMsgCount.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXYList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLLmD64b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLink.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeListXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeOffsetPointXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeSetXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY20b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY22b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY24b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY26b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY28b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY32b.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNumberOfOccupants.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB09.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB10.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB11.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB12.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB13.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB14.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB16.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOpeningDaysHours.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOverlayLaneList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathDeltaTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathHistory.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathPoint.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPedestrianBicycleDetect.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPerformanceClass.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPhoneNumber.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosCentMass.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosConfidenceEllipse.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosFrontAx.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosLonCarr.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosPillar.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3D.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3DaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidenceSet.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfOccupants.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfPillars.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionalAccuracy.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositioningSolutionType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPostCrashSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPreemptPriorityList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponse.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPriorityRequestType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZone.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZonesRSU.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneRadius.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivation.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationData.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtvRequestType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMRevision.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMcorrections.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMheader.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessage.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessageList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertReferencePosition.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegionId.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegulatorySpeedLimit.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRejectedReason.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceDistance.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceTrafficDirection.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestImportanceLevel.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestResponseIndication.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestSubRole.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescription.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescriptionaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorPositionVector.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRescueAndRecoveryWorkInProgressSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictedTypes.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionAppliesTo.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassAssignment.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadLaneSetList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadRegulatorID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegment.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentReferenceID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadwayCrownAngle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadworksSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSPAT.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertScaleB12.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXY.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXYList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiAxisLength.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisAccuracy.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisOrientation.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMinorAxisAccuracy.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSequenceNumber.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceApplicationLimit.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceNumber.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalControlZone.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalGroupID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocation.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocationList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequest.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestMessage.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestPackage.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequesterInfo.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusMessage.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackage.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageaddGrpC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalViolationSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSlowVehicleSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpecialTransportType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeed.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedAdvice.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidenceDSRC.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimit.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitList.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedandHeadingandThrottleConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStartTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationarySince.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationaryVehicleSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStopTime.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSubCauseCodeType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTaxCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemperature.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemporaryID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertThrottleConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeChangeDetails.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeIntervalConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeMark.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeReference.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimestampIts.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTraces.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficConditionSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficRule.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleOccupancy.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleStatus.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionAndSpeed.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionInterval.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionState.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTurningRadius.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVDS.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertValidityDuration.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleBreakdownSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleHeight.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleID.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleIdentification.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLength.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthConfidenceIndication.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleMass.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleRole.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleType.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleWidth.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVelocity.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAcceleration.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAccelerationValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWMInumber.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWaitOnStopline.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWheelBaseVehicle.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWrongWayDrivingSubCauseCode.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRate.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateConfidence.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateValue.h create mode 100644 etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertZoneLength.h create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationControl.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccidentSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ActionID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionAdhesionSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionExtremeWeatherConditionSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionPrecipitationSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionVisibilitySubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeed.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AllowedManeuvers.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AlphabetIndicator.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Altitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Angle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AntennaOffsetSet.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ApproachID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AviEriDateTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BasicVehicleRole.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BatteryStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS1.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS2.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS3.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS4.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS5.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS7.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS8.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCodeType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZone.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZoneID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ClosedLanes.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CollisionRiskSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ComputedLane.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectingLane.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Connection.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionManeuverAssist.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionTrajectory.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectsToList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CountryCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Curvature.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureCalculationMode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDateTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDay.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DHour.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMinute.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMonth.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DOffset.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSRCmsgID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSecond.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DYear.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousEndOfQueueSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsBasic.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsExtended.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousSituationSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DataParameters.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAltitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAngle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLatitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLongitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaReferencePosition.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DescriptiveName.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DigitalMap.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DriveDirection.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetLg.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetSm.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivingLaneStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Elevation.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ElevationConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmbarkationStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyPriority.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyVehicleApproachingSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmissionType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnabledLaneList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnergyStorageType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryL.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryM.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryN.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryO.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventHistory.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventPoint.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExceptionalCondition.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExteriorLights.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FreightContainerData.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FuelType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FullPositionVector.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GNSSstatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GenericLane.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GeoGraphicalLimit.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HardShoulderStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationAnimalOnTheRoadSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationDangerousCurveSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationObstacleOnTheRoadSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationSurfaceConditionSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Heading.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidenceDSRC.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingDSRC.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeightLonCarr.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanPresenceOnTheRoadSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanProblemSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/InformationQuality.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionAccessPoint.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometry.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometryList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionReferenceID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionState.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStateList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStatusObject.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Iso3833VehicleType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IssuerIdentifier.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItineraryPath.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsPduHeader.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPosition.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPositionList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneAttributes.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneConnectionID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttribute.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttributeList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDirection.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LanePosition.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneSharing.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneTypeAttributes.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneWidth.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAcceleration.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAccelerationValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Latitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LicPlateNumber.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LightBarSirenInUse.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Longitude.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAcceleration.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAccelerationValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MAPEM.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManeuverAssistList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManufacturerIdentifier.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MapData.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MergeDivergeNodeAngle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MinuteOfTheYear.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEvent.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEventList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementPhaseState.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementState.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MsgCount.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Node.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSet.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSetXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXYList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeLink.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeListXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeOffsetPointXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeSetXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NumberOfOccupants.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB09.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB10.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB11.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB12.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB13.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB14.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB16.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OpeningDaysHours.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OverlayLaneList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathDeltaTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathHistory.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathPoint.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PedestrianBicycleDetect.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PerformanceClass.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PhoneNumber.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosCentMass.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosConfidenceEllipse.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosFrontAx.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosLonCarr.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosPillar.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Position3D.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidenceSet.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfOccupants.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfPillars.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionalAccuracy.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositioningSolutionType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PostCrashSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PreemptPriorityList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponse.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PriorityRequestType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZone.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZonesRSU.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneRadius.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivation.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationData.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtvRequestType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCM.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMcorrections.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMheader.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessage.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessageList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ReferencePosition.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Reg.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegionId.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegulatorySpeedLimit.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RejectedReason.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceDistance.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceTrafficDirection.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestImportanceLevel.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestResponseIndication.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestSubRole.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorDescription.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorPositionVector.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RescueAndRecoveryWorkInProgressSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictedTypes.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionAppliesTo.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassAssignment.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserTypeList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadLaneSetList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadRegulatorID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegment.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentReferenceID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadwayCrownAngle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadworksSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SPAT.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ScaleB12.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXY.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXYList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiAxisLength.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisAccuracy.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisOrientation.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMinorAxisAccuracy.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SequenceNumber.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceApplicationLimit.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceNumber.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalControlZone.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalGroupID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocation.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocationList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequest.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestMessage.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestPackage.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequesterInfo.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusMessage.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackage.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackageList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalViolationSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SlowVehicleSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpecialTransportType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Speed.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedAdvice.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidenceDSRC.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimit.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitList.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedandHeadingandThrottleConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StartTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationarySince.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationaryVehicleSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StopTime.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SubCauseCodeType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TaxCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Temperature.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TemporaryID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ThrottleConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeChangeDetails.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeIntervalConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeMark.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeReference.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimestampIts.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Traces.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficConditionSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficRule.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleOccupancy.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleStatus.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionAndSpeed.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionInterval.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionState.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TurningRadius.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VDS.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ValidityDuration.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleBreakdownSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleHeight.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleID.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleIdentification.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLength.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthConfidenceIndication.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleMass.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleRole.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleType.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleWidth.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Velocity.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAcceleration.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAccelerationValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WMInumber.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WaitOnStopline.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WheelBaseVehicle.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WrongWayDrivingSubCauseCode.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRate.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateConfidence.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateValue.msg create mode 100644 etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ZoneLength.msg diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationConfidence.h new file mode 100644 index 000000000..683b94270 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationConfidence.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AccelerationConfidence(const mapem_ts_AccelerationConfidence_t& in, mapem_ts_msgs::AccelerationConfidence& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AccelerationConfidence(const mapem_ts_msgs::AccelerationConfidence& in, mapem_ts_AccelerationConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_AccelerationConfidence_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationControl.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationControl.h new file mode 100644 index 000000000..0a365bb9a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccelerationControl.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AccelerationControl(const mapem_ts_AccelerationControl_t& in, mapem_ts_msgs::AccelerationControl& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_AccelerationControl(const mapem_ts_msgs::AccelerationControl& in, mapem_ts_AccelerationControl_t& out) { + memset(&out, 0, sizeof(mapem_ts_AccelerationControl_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccidentSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccidentSubCauseCode.h new file mode 100644 index 000000000..0a8af85a5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAccidentSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AccidentSubCauseCode(const mapem_ts_AccidentSubCauseCode_t& in, mapem_ts_msgs::AccidentSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AccidentSubCauseCode(const mapem_ts_msgs::AccidentSubCauseCode& in, mapem_ts_AccidentSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_AccidentSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertActionID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertActionID.h new file mode 100644 index 000000000..a5aa874c3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertActionID.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ActionID(const mapem_ts_ActionID_t& in, mapem_ts_msgs::ActionID& out) { + toRos_StationID(in.originatingStationID, out.originating_station_id); + toRos_SequenceNumber(in.sequenceNumber, out.sequence_number); +} + +void toStruct_ActionID(const mapem_ts_msgs::ActionID& in, mapem_ts_ActionID_t& out) { + memset(&out, 0, sizeof(mapem_ts_ActionID_t)); + + toStruct_StationID(in.originating_station_id, out.originatingStationID); + toStruct_SequenceNumber(in.sequence_number, out.sequenceNumber); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionAdhesionSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionAdhesionSubCauseCode.h new file mode 100644 index 000000000..71049364b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionAdhesionSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdverseWeatherConditionAdhesionSubCauseCode(const mapem_ts_AdverseWeatherCondition_AdhesionSubCauseCode_t& in, mapem_ts_msgs::AdverseWeatherConditionAdhesionSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AdverseWeatherConditionAdhesionSubCauseCode(const mapem_ts_msgs::AdverseWeatherConditionAdhesionSubCauseCode& in, mapem_ts_AdverseWeatherCondition_AdhesionSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdverseWeatherCondition_AdhesionSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionExtremeWeatherConditionSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionExtremeWeatherConditionSubCauseCode.h new file mode 100644 index 000000000..f35b1ede1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionExtremeWeatherConditionSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdverseWeatherConditionExtremeWeatherConditionSubCauseCode(const mapem_ts_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_t& in, mapem_ts_msgs::AdverseWeatherConditionExtremeWeatherConditionSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AdverseWeatherConditionExtremeWeatherConditionSubCauseCode(const mapem_ts_msgs::AdverseWeatherConditionExtremeWeatherConditionSubCauseCode& in, mapem_ts_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionPrecipitationSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionPrecipitationSubCauseCode.h new file mode 100644 index 000000000..15a85821b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionPrecipitationSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdverseWeatherConditionPrecipitationSubCauseCode(const mapem_ts_AdverseWeatherCondition_PrecipitationSubCauseCode_t& in, mapem_ts_msgs::AdverseWeatherConditionPrecipitationSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AdverseWeatherConditionPrecipitationSubCauseCode(const mapem_ts_msgs::AdverseWeatherConditionPrecipitationSubCauseCode& in, mapem_ts_AdverseWeatherCondition_PrecipitationSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdverseWeatherCondition_PrecipitationSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionVisibilitySubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionVisibilitySubCauseCode.h new file mode 100644 index 000000000..4daa7983b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdverseWeatherConditionVisibilitySubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdverseWeatherConditionVisibilitySubCauseCode(const mapem_ts_AdverseWeatherCondition_VisibilitySubCauseCode_t& in, mapem_ts_msgs::AdverseWeatherConditionVisibilitySubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AdverseWeatherConditionVisibilitySubCauseCode(const mapem_ts_msgs::AdverseWeatherConditionVisibilitySubCauseCode& in, mapem_ts_AdverseWeatherCondition_VisibilitySubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdverseWeatherCondition_VisibilitySubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeed.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeed.h new file mode 100644 index 000000000..83948a874 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeed.h @@ -0,0 +1,99 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdvisorySpeed(const mapem_ts_AdvisorySpeed_t& in, mapem_ts_msgs::AdvisorySpeed& out) { + toRos_AdvisorySpeedType(in.type, out.type); + if (in.speed) { + toRos_SpeedAdvice(*in.speed, out.speed); + out.speed_is_present = true; + } + if (in.confidence) { + toRos_SpeedConfidenceDSRC(*in.confidence, out.confidence); + out.confidence_is_present = true; + } + if (in.distance) { + toRos_ZoneLength(*in.distance, out.distance); + out.distance_is_present = true; + } + if (in.class) { + toRos_RestrictionClassID(*in.class, out.class); + out.class_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_AdvisorySpeed(const mapem_ts_msgs::AdvisorySpeed& in, mapem_ts_AdvisorySpeed_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdvisorySpeed_t)); + + toStruct_AdvisorySpeedType(in.type, out.type); + if (in.speed_is_present) { + out.speed = (mapem_ts_SpeedAdvice_t*) calloc(1, sizeof(mapem_ts_SpeedAdvice_t)); + toStruct_SpeedAdvice(in.speed, *out.speed); + } + if (in.confidence_is_present) { + out.confidence = (mapem_ts_SpeedConfidenceDSRC_t*) calloc(1, sizeof(mapem_ts_SpeedConfidenceDSRC_t)); + toStruct_SpeedConfidenceDSRC(in.confidence, *out.confidence); + } + if (in.distance_is_present) { + out.distance = (mapem_ts_ZoneLength_t*) calloc(1, sizeof(mapem_ts_ZoneLength_t)); + toStruct_ZoneLength(in.distance, *out.distance); + } + if (in.class_is_present) { + out.class = (mapem_ts_RestrictionClassID_t*) calloc(1, sizeof(mapem_ts_RestrictionClassID_t)); + toStruct_RestrictionClassID(in.class, *out.class); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedList.h new file mode 100644 index 000000000..676173fe0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdvisorySpeedList(const mapem_ts_AdvisorySpeedList_t& in, mapem_ts_msgs::AdvisorySpeedList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::AdvisorySpeed el; + toRos_AdvisorySpeed(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_AdvisorySpeedList(const mapem_ts_msgs::AdvisorySpeedList& in, mapem_ts_AdvisorySpeedList_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdvisorySpeedList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_AdvisorySpeed_t* el = (mapem_ts_AdvisorySpeed_t*) calloc(1, sizeof(mapem_ts_AdvisorySpeed_t)); + toStruct_AdvisorySpeed(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedType.h new file mode 100644 index 000000000..3c0309cd8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAdvisorySpeedType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AdvisorySpeedType(const mapem_ts_AdvisorySpeedType_t& in, mapem_ts_msgs::AdvisorySpeedType& out) { + out.value = in; +} + +void toStruct_AdvisorySpeedType(const mapem_ts_msgs::AdvisorySpeedType& in, mapem_ts_AdvisorySpeedType_t& out) { + memset(&out, 0, sizeof(mapem_ts_AdvisorySpeedType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAllowedManeuvers.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAllowedManeuvers.h new file mode 100644 index 000000000..ce03aacc6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAllowedManeuvers.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AllowedManeuvers(const mapem_ts_AllowedManeuvers_t& in, mapem_ts_msgs::AllowedManeuvers& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_AllowedManeuvers(const mapem_ts_msgs::AllowedManeuvers& in, mapem_ts_AllowedManeuvers_t& out) { + memset(&out, 0, sizeof(mapem_ts_AllowedManeuvers_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAlphabetIndicator.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAlphabetIndicator.h new file mode 100644 index 000000000..3613685c0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAlphabetIndicator.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AlphabetIndicator(const mapem_ts_AlphabetIndicator_t& in, mapem_ts_msgs::AlphabetIndicator& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AlphabetIndicator(const mapem_ts_msgs::AlphabetIndicator& in, mapem_ts_AlphabetIndicator_t& out) { + memset(&out, 0, sizeof(mapem_ts_AlphabetIndicator_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitude.h new file mode 100644 index 000000000..5ff8db913 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitude.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Altitude(const mapem_ts_Altitude_t& in, mapem_ts_msgs::Altitude& out) { + toRos_AltitudeValue(in.altitudeValue, out.altitude_value); + toRos_AltitudeConfidence(in.altitudeConfidence, out.altitude_confidence); +} + +void toStruct_Altitude(const mapem_ts_msgs::Altitude& in, mapem_ts_Altitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_Altitude_t)); + + toStruct_AltitudeValue(in.altitude_value, out.altitudeValue); + toStruct_AltitudeConfidence(in.altitude_confidence, out.altitudeConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeConfidence.h new file mode 100644 index 000000000..c0a382fa8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AltitudeConfidence(const mapem_ts_AltitudeConfidence_t& in, mapem_ts_msgs::AltitudeConfidence& out) { + out.value = in; +} + +void toStruct_AltitudeConfidence(const mapem_ts_msgs::AltitudeConfidence& in, mapem_ts_AltitudeConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_AltitudeConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeValue.h new file mode 100644 index 000000000..b4e4e6c0b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAltitudeValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AltitudeValue(const mapem_ts_AltitudeValue_t& in, mapem_ts_msgs::AltitudeValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_AltitudeValue(const mapem_ts_msgs::AltitudeValue& in, mapem_ts_AltitudeValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_AltitudeValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAngle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAngle.h new file mode 100644 index 000000000..9105b6bdc --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAngle.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Angle(const mapem_ts_Angle_t& in, mapem_ts_msgs::Angle& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Angle(const mapem_ts_msgs::Angle& in, mapem_ts_Angle_t& out) { + memset(&out, 0, sizeof(mapem_ts_Angle_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAntennaOffsetSet.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAntennaOffsetSet.h new file mode 100644 index 000000000..1d9367866 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAntennaOffsetSet.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AntennaOffsetSet(const mapem_ts_AntennaOffsetSet_t& in, mapem_ts_msgs::AntennaOffsetSet& out) { + toRos_OffsetB12(in.antOffsetX, out.ant_offset_x); + toRos_OffsetB09(in.antOffsetY, out.ant_offset_y); + toRos_OffsetB10(in.antOffsetZ, out.ant_offset_z); +} + +void toStruct_AntennaOffsetSet(const mapem_ts_msgs::AntennaOffsetSet& in, mapem_ts_AntennaOffsetSet_t& out) { + memset(&out, 0, sizeof(mapem_ts_AntennaOffsetSet_t)); + + toStruct_OffsetB12(in.ant_offset_x, out.antOffsetX); + toStruct_OffsetB09(in.ant_offset_y, out.antOffsetY); + toStruct_OffsetB10(in.ant_offset_z, out.antOffsetZ); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertApproachID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertApproachID.h new file mode 100644 index 000000000..fa55c9a7e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertApproachID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ApproachID(const mapem_ts_ApproachID_t& in, mapem_ts_msgs::ApproachID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ApproachID(const mapem_ts_msgs::ApproachID& in, mapem_ts_ApproachID_t& out) { + memset(&out, 0, sizeof(mapem_ts_ApproachID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAviEriDateTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAviEriDateTime.h new file mode 100644 index 000000000..949cf4dea --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertAviEriDateTime.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_AviEriDateTime(const mapem_ts_AviEriDateTime_t& in, mapem_ts_msgs::AviEriDateTime& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_AviEriDateTime(const mapem_ts_msgs::AviEriDateTime& in, mapem_ts_AviEriDateTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_AviEriDateTime_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBasicVehicleRole.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBasicVehicleRole.h new file mode 100644 index 000000000..c5fde4d41 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBasicVehicleRole.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_BasicVehicleRole(const mapem_ts_BasicVehicleRole_t& in, mapem_ts_msgs::BasicVehicleRole& out) { + out.value = in; +} + +void toStruct_BasicVehicleRole(const mapem_ts_msgs::BasicVehicleRole& in, mapem_ts_BasicVehicleRole_t& out) { + memset(&out, 0, sizeof(mapem_ts_BasicVehicleRole_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBatteryStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBatteryStatus.h new file mode 100644 index 000000000..9e6ae7a5b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertBatteryStatus.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_BatteryStatus(const mapem_ts_BatteryStatus_t& in, mapem_ts_msgs::BatteryStatus& out) { + out.value = in; +} + +void toStruct_BatteryStatus(const mapem_ts_msgs::BatteryStatus& in, mapem_ts_BatteryStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_BatteryStatus_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS1.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS1.h new file mode 100644 index 000000000..e846f2a3d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS1.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS1(const mapem_ts_CS1_t& in, mapem_ts_msgs::CS1& out) { + toRos_CountryCode(in.countryCode, out.country_code); + toRos_IssuerIdentifier(in.issuerIdentifier, out.issuer_identifier); + toRos_ServiceNumber(in.serviceNumber, out.service_number); +} + +void toStruct_CS1(const mapem_ts_msgs::CS1& in, mapem_ts_CS1_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS1_t)); + + toStruct_CountryCode(in.country_code, out.countryCode); + toStruct_IssuerIdentifier(in.issuer_identifier, out.issuerIdentifier); + toStruct_ServiceNumber(in.service_number, out.serviceNumber); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS2.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS2.h new file mode 100644 index 000000000..a2ba7c29a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS2.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS2(const mapem_ts_CS2_t& in, mapem_ts_msgs::CS2& out) { + toRos_ManufacturerIdentifier(in.manufacturerIdentifier, out.manufacturer_identifier); + toRos_ServiceNumber(in.serviceNumber, out.service_number); +} + +void toStruct_CS2(const mapem_ts_msgs::CS2& in, mapem_ts_CS2_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS2_t)); + + toStruct_ManufacturerIdentifier(in.manufacturer_identifier, out.manufacturerIdentifier); + toStruct_ServiceNumber(in.service_number, out.serviceNumber); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS3.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS3.h new file mode 100644 index 000000000..281adaa10 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS3.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS3(const mapem_ts_CS3_t& in, mapem_ts_msgs::CS3& out) { + toRos_StartTime(in.startTime, out.start_time); + toRos_StopTime(in.stopTime, out.stop_time); + toRos_GeoGraphicalLimit(in.geographLimit, out.geograph_limit); + toRos_ServiceApplicationLimit(in.serviceAppLimit, out.service_app_limit); +} + +void toStruct_CS3(const mapem_ts_msgs::CS3& in, mapem_ts_CS3_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS3_t)); + + toStruct_StartTime(in.start_time, out.startTime); + toStruct_StopTime(in.stop_time, out.stopTime); + toStruct_GeoGraphicalLimit(in.geograph_limit, out.geographLimit); + toStruct_ServiceApplicationLimit(in.service_app_limit, out.serviceAppLimit); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS4.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS4.h new file mode 100644 index 000000000..84d78ae6d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS4.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS4(const mapem_ts_CS4_t& in, mapem_ts_msgs::CS4& out) { + toRos_CountryCode(in.countryCode, out.country_code); + toRos_AlphabetIndicator(in.alphabetIndicator, out.alphabet_indicator); + toRos_LicPlateNumber(in.licPlateNumber, out.lic_plate_number); +} + +void toStruct_CS4(const mapem_ts_msgs::CS4& in, mapem_ts_CS4_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS4_t)); + + toStruct_CountryCode(in.country_code, out.countryCode); + toStruct_AlphabetIndicator(in.alphabet_indicator, out.alphabetIndicator); + toStruct_LicPlateNumber(in.lic_plate_number, out.licPlateNumber); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS5.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS5.h new file mode 100644 index 000000000..8a2402384 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS5.h @@ -0,0 +1,58 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS5(const mapem_ts_CS5_t& in, mapem_ts_msgs::CS5& out) { + etsi_its_primitives_conversion::toRos_VisibleString(in.vin, out.vin); + etsi_its_primitives_conversion::toRos_uint8[](in.fill, out.fill); +} + +void toStruct_CS5(const mapem_ts_msgs::CS5& in, mapem_ts_CS5_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS5_t)); + + etsi_its_primitives_conversion::toStruct_VisibleString(in.vin, out.vin); + etsi_its_primitives_conversion::toStruct_uint8[](in.fill, out.fill); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS7.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS7.h new file mode 100644 index 000000000..bd39618bd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS7.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS7(const mapem_ts_CS7_t& in, mapem_ts_msgs::CS7& out) { + toRos_FreightContainerData(in, out.value); +} + +void toStruct_CS7(const mapem_ts_msgs::CS7& in, mapem_ts_CS7_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS7_t)); + + toStruct_FreightContainerData(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS8.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS8.h new file mode 100644 index 000000000..a450a0172 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCS8.h @@ -0,0 +1,60 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CS8(const mapem_ts_CS8_t& in, mapem_ts_msgs::CS8& out) { + etsi_its_primitives_conversion::toRos_uint8[](in.fill, out.fill); + toRos_CountryCode(in.countryCode, out.country_code); + toRos_TaxCode(in.taxCode, out.tax_code); +} + +void toStruct_CS8(const mapem_ts_msgs::CS8& in, mapem_ts_CS8_t& out) { + memset(&out, 0, sizeof(mapem_ts_CS8_t)); + + etsi_its_primitives_conversion::toStruct_uint8[](in.fill, out.fill); + toStruct_CountryCode(in.country_code, out.countryCode); + toStruct_TaxCode(in.tax_code, out.taxCode); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCode.h new file mode 100644 index 000000000..de5d0e02c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCode.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CauseCode(const mapem_ts_CauseCode_t& in, mapem_ts_msgs::CauseCode& out) { + toRos_CauseCodeType(in.causeCode, out.cause_code); + toRos_SubCauseCodeType(in.subCauseCode, out.sub_cause_code); +} + +void toStruct_CauseCode(const mapem_ts_msgs::CauseCode& in, mapem_ts_CauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_CauseCode_t)); + + toStruct_CauseCodeType(in.cause_code, out.causeCode); + toStruct_SubCauseCodeType(in.sub_cause_code, out.subCauseCode); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCodeType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCodeType.h new file mode 100644 index 000000000..46ebef4f3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCauseCodeType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CauseCodeType(const mapem_ts_CauseCodeType_t& in, mapem_ts_msgs::CauseCodeType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_CauseCodeType(const mapem_ts_msgs::CauseCodeType& in, mapem_ts_CauseCodeType_t& out) { + memset(&out, 0, sizeof(mapem_ts_CauseCodeType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZone.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZone.h new file mode 100644 index 000000000..66b56fe10 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZone.h @@ -0,0 +1,65 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CenDsrcTollingZone(const mapem_ts_CenDsrcTollingZone_t& in, mapem_ts_msgs::CenDsrcTollingZone& out) { + toRos_Latitude(in.protectedZoneLatitude, out.protected_zone_latitude); + toRos_Longitude(in.protectedZoneLongitude, out.protected_zone_longitude); + if (in.cenDsrcTollingZoneID) { + toRos_CenDsrcTollingZoneID(*in.cenDsrcTollingZoneID, out.cen_dsrc_tolling_zone_id); + out.cen_dsrc_tolling_zone_id_is_present = true; + } +} + +void toStruct_CenDsrcTollingZone(const mapem_ts_msgs::CenDsrcTollingZone& in, mapem_ts_CenDsrcTollingZone_t& out) { + memset(&out, 0, sizeof(mapem_ts_CenDsrcTollingZone_t)); + + toStruct_Latitude(in.protected_zone_latitude, out.protectedZoneLatitude); + toStruct_Longitude(in.protected_zone_longitude, out.protectedZoneLongitude); + if (in.cen_dsrc_tolling_zone_id_is_present) { + out.cenDsrcTollingZoneID = (mapem_ts_CenDsrcTollingZoneID_t*) calloc(1, sizeof(mapem_ts_CenDsrcTollingZoneID_t)); + toStruct_CenDsrcTollingZoneID(in.cen_dsrc_tolling_zone_id, *out.cenDsrcTollingZoneID); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZoneID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZoneID.h new file mode 100644 index 000000000..501b9d3bd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCenDsrcTollingZoneID.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CenDsrcTollingZoneID(const mapem_ts_CenDsrcTollingZoneID_t& in, mapem_ts_msgs::CenDsrcTollingZoneID& out) { + toRos_ProtectedZoneID(in, out.value); +} + +void toStruct_CenDsrcTollingZoneID(const mapem_ts_msgs::CenDsrcTollingZoneID& in, mapem_ts_CenDsrcTollingZoneID_t& out) { + memset(&out, 0, sizeof(mapem_ts_CenDsrcTollingZoneID_t)); + + toStruct_ProtectedZoneID(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertClosedLanes.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertClosedLanes.h new file mode 100644 index 000000000..8681cc02d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertClosedLanes.h @@ -0,0 +1,76 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ClosedLanes(const mapem_ts_ClosedLanes_t& in, mapem_ts_msgs::ClosedLanes& out) { + if (in.innerhardShoulderStatus) { + toRos_HardShoulderStatus(*in.innerhardShoulderStatus, out.innerhard_shoulder_status); + out.innerhard_shoulder_status_is_present = true; + } + if (in.outerhardShoulderStatus) { + toRos_HardShoulderStatus(*in.outerhardShoulderStatus, out.outerhard_shoulder_status); + out.outerhard_shoulder_status_is_present = true; + } + if (in.drivingLaneStatus) { + toRos_DrivingLaneStatus(*in.drivingLaneStatus, out.driving_lane_status); + out.driving_lane_status_is_present = true; + } +} + +void toStruct_ClosedLanes(const mapem_ts_msgs::ClosedLanes& in, mapem_ts_ClosedLanes_t& out) { + memset(&out, 0, sizeof(mapem_ts_ClosedLanes_t)); + + if (in.innerhard_shoulder_status_is_present) { + out.innerhardShoulderStatus = (mapem_ts_HardShoulderStatus_t*) calloc(1, sizeof(mapem_ts_HardShoulderStatus_t)); + toStruct_HardShoulderStatus(in.innerhard_shoulder_status, *out.innerhardShoulderStatus); + } + if (in.outerhard_shoulder_status_is_present) { + out.outerhardShoulderStatus = (mapem_ts_HardShoulderStatus_t*) calloc(1, sizeof(mapem_ts_HardShoulderStatus_t)); + toStruct_HardShoulderStatus(in.outerhard_shoulder_status, *out.outerhardShoulderStatus); + } + if (in.driving_lane_status_is_present) { + out.drivingLaneStatus = (mapem_ts_DrivingLaneStatus_t*) calloc(1, sizeof(mapem_ts_DrivingLaneStatus_t)); + toStruct_DrivingLaneStatus(in.driving_lane_status, *out.drivingLaneStatus); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCollisionRiskSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCollisionRiskSubCauseCode.h new file mode 100644 index 000000000..c7cd3cbf7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCollisionRiskSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CollisionRiskSubCauseCode(const mapem_ts_CollisionRiskSubCauseCode_t& in, mapem_ts_msgs::CollisionRiskSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_CollisionRiskSubCauseCode(const mapem_ts_msgs::CollisionRiskSubCauseCode& in, mapem_ts_CollisionRiskSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_CollisionRiskSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertComputedLane.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertComputedLane.h new file mode 100644 index 000000000..690724fdf --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertComputedLane.h @@ -0,0 +1,97 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ComputedLane(const mapem_ts_ComputedLane_t& in, mapem_ts_msgs::ComputedLane& out) { + toRos_LaneID(in.referenceLaneId, out.reference_lane_id); + etsi_its_primitives_conversion::toRos_offsetXaxis(in.offsetXaxis, out.offset_xaxis); + etsi_its_primitives_conversion::toRos_offsetYaxis(in.offsetYaxis, out.offset_yaxis); + if (in.rotateXY) { + toRos_Angle(*in.rotateXY, out.rotate_xy); + out.rotate_xy_is_present = true; + } + if (in.scaleXaxis) { + toRos_ScaleB12(*in.scaleXaxis, out.scale_xaxis); + out.scale_xaxis_is_present = true; + } + if (in.scaleYaxis) { + toRos_ScaleB12(*in.scaleYaxis, out.scale_yaxis); + out.scale_yaxis_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_ComputedLane(const mapem_ts_msgs::ComputedLane& in, mapem_ts_ComputedLane_t& out) { + memset(&out, 0, sizeof(mapem_ts_ComputedLane_t)); + + toStruct_LaneID(in.reference_lane_id, out.referenceLaneId); + etsi_its_primitives_conversion::toStruct_offsetXaxis(in.offset_xaxis, out.offsetXaxis); + etsi_its_primitives_conversion::toStruct_offsetYaxis(in.offset_yaxis, out.offsetYaxis); + if (in.rotate_xy_is_present) { + out.rotateXY = (mapem_ts_Angle_t*) calloc(1, sizeof(mapem_ts_Angle_t)); + toStruct_Angle(in.rotate_xy, *out.rotateXY); + } + if (in.scale_xaxis_is_present) { + out.scaleXaxis = (mapem_ts_ScaleB12_t*) calloc(1, sizeof(mapem_ts_ScaleB12_t)); + toStruct_ScaleB12(in.scale_xaxis, *out.scaleXaxis); + } + if (in.scale_yaxis_is_present) { + out.scaleYaxis = (mapem_ts_ScaleB12_t*) calloc(1, sizeof(mapem_ts_ScaleB12_t)); + toStruct_ScaleB12(in.scale_yaxis, *out.scaleYaxis); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectingLane.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectingLane.h new file mode 100644 index 000000000..4ce90322a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectingLane.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ConnectingLane(const mapem_ts_ConnectingLane_t& in, mapem_ts_msgs::ConnectingLane& out) { + toRos_LaneID(in.lane, out.lane); + if (in.maneuver) { + toRos_AllowedManeuvers(*in.maneuver, out.maneuver); + out.maneuver_is_present = true; + } +} + +void toStruct_ConnectingLane(const mapem_ts_msgs::ConnectingLane& in, mapem_ts_ConnectingLane_t& out) { + memset(&out, 0, sizeof(mapem_ts_ConnectingLane_t)); + + toStruct_LaneID(in.lane, out.lane); + if (in.maneuver_is_present) { + out.maneuver = (mapem_ts_AllowedManeuvers_t*) calloc(1, sizeof(mapem_ts_AllowedManeuvers_t)); + toStruct_AllowedManeuvers(in.maneuver, *out.maneuver); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnection.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnection.h new file mode 100644 index 000000000..ec43fc9a0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnection.h @@ -0,0 +1,89 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Connection(const mapem_ts_Connection_t& in, mapem_ts_msgs::Connection& out) { + toRos_ConnectingLane(in.connectingLane, out.connecting_lane); + if (in.remoteIntersection) { + toRos_IntersectionReferenceID(*in.remoteIntersection, out.remote_intersection); + out.remote_intersection_is_present = true; + } + if (in.signalGroup) { + toRos_SignalGroupID(*in.signalGroup, out.signal_group); + out.signal_group_is_present = true; + } + if (in.userClass) { + toRos_RestrictionClassID(*in.userClass, out.user_class); + out.user_class_is_present = true; + } + if (in.connectionID) { + toRos_LaneConnectionID(*in.connectionID, out.connection_id); + out.connection_id_is_present = true; + } +} + +void toStruct_Connection(const mapem_ts_msgs::Connection& in, mapem_ts_Connection_t& out) { + memset(&out, 0, sizeof(mapem_ts_Connection_t)); + + toStruct_ConnectingLane(in.connecting_lane, out.connectingLane); + if (in.remote_intersection_is_present) { + out.remoteIntersection = (mapem_ts_IntersectionReferenceID_t*) calloc(1, sizeof(mapem_ts_IntersectionReferenceID_t)); + toStruct_IntersectionReferenceID(in.remote_intersection, *out.remoteIntersection); + } + if (in.signal_group_is_present) { + out.signalGroup = (mapem_ts_SignalGroupID_t*) calloc(1, sizeof(mapem_ts_SignalGroupID_t)); + toStruct_SignalGroupID(in.signal_group, *out.signalGroup); + } + if (in.user_class_is_present) { + out.userClass = (mapem_ts_RestrictionClassID_t*) calloc(1, sizeof(mapem_ts_RestrictionClassID_t)); + toStruct_RestrictionClassID(in.user_class, *out.userClass); + } + if (in.connection_id_is_present) { + out.connectionID = (mapem_ts_LaneConnectionID_t*) calloc(1, sizeof(mapem_ts_LaneConnectionID_t)); + toStruct_LaneConnectionID(in.connection_id, *out.connectionID); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssist.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssist.h new file mode 100644 index 000000000..9b885215d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssist.h @@ -0,0 +1,98 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ConnectionManeuverAssist(const mapem_ts_ConnectionManeuverAssist_t& in, mapem_ts_msgs::ConnectionManeuverAssist& out) { + toRos_LaneConnectionID(in.connectionID, out.connection_id); + if (in.queueLength) { + toRos_ZoneLength(*in.queueLength, out.queue_length); + out.queue_length_is_present = true; + } + if (in.availableStorageLength) { + toRos_ZoneLength(*in.availableStorageLength, out.available_storage_length); + out.available_storage_length_is_present = true; + } + if (in.waitOnStop) { + toRos_WaitOnStopline(*in.waitOnStop, out.wait_on_stop); + out.wait_on_stop_is_present = true; + } + if (in.pedBicycleDetect) { + toRos_PedestrianBicycleDetect(*in.pedBicycleDetect, out.ped_bicycle_detect); + out.ped_bicycle_detect_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_ConnectionManeuverAssist(const mapem_ts_msgs::ConnectionManeuverAssist& in, mapem_ts_ConnectionManeuverAssist_t& out) { + memset(&out, 0, sizeof(mapem_ts_ConnectionManeuverAssist_t)); + + toStruct_LaneConnectionID(in.connection_id, out.connectionID); + if (in.queue_length_is_present) { + out.queueLength = (mapem_ts_ZoneLength_t*) calloc(1, sizeof(mapem_ts_ZoneLength_t)); + toStruct_ZoneLength(in.queue_length, *out.queueLength); + } + if (in.available_storage_length_is_present) { + out.availableStorageLength = (mapem_ts_ZoneLength_t*) calloc(1, sizeof(mapem_ts_ZoneLength_t)); + toStruct_ZoneLength(in.available_storage_length, *out.availableStorageLength); + } + if (in.wait_on_stop_is_present) { + out.waitOnStop = (mapem_ts_WaitOnStopline_t*) calloc(1, sizeof(mapem_ts_WaitOnStopline_t)); + toStruct_WaitOnStopline(in.wait_on_stop, *out.waitOnStop); + } + if (in.ped_bicycle_detect_is_present) { + out.pedBicycleDetect = (mapem_ts_PedestrianBicycleDetect_t*) calloc(1, sizeof(mapem_ts_PedestrianBicycleDetect_t)); + toStruct_PedestrianBicycleDetect(in.ped_bicycle_detect, *out.pedBicycleDetect); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssistaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssistaddGrpC.h new file mode 100644 index 000000000..681552ff9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionManeuverAssistaddGrpC.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ConnectionManeuverAssistaddGrpC(const mapem_ts_ConnectionManeuverAssist_addGrpC_t& in, mapem_ts_msgs::ConnectionManeuverAssistaddGrpC& out) { + if (in.itsStationPosition) { + toRos_ItsStationPositionList(*in.itsStationPosition, out.its_station_position); + out.its_station_position_is_present = true; + } +} + +void toStruct_ConnectionManeuverAssistaddGrpC(const mapem_ts_msgs::ConnectionManeuverAssistaddGrpC& in, mapem_ts_ConnectionManeuverAssist_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_ConnectionManeuverAssist_addGrpC_t)); + + if (in.its_station_position_is_present) { + out.itsStationPosition = (mapem_ts_ItsStationPositionList_t*) calloc(1, sizeof(mapem_ts_ItsStationPositionList_t)); + toStruct_ItsStationPositionList(in.its_station_position, *out.itsStationPosition); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionTrajectoryaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionTrajectoryaddGrpC.h new file mode 100644 index 000000000..4e09cadbe --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectionTrajectoryaddGrpC.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ConnectionTrajectoryaddGrpC(const mapem_ts_ConnectionTrajectory_addGrpC_t& in, mapem_ts_msgs::ConnectionTrajectoryaddGrpC& out) { + toRos_NodeSetXY(in.nodes, out.nodes); + toRos_LaneConnectionID(in.connectionID, out.connection_id); +} + +void toStruct_ConnectionTrajectoryaddGrpC(const mapem_ts_msgs::ConnectionTrajectoryaddGrpC& in, mapem_ts_ConnectionTrajectory_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_ConnectionTrajectory_addGrpC_t)); + + toStruct_NodeSetXY(in.nodes, out.nodes); + toStruct_LaneConnectionID(in.connection_id, out.connectionID); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectsToList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectsToList.h new file mode 100644 index 000000000..ef20c4b42 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertConnectsToList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ConnectsToList(const mapem_ts_ConnectsToList_t& in, mapem_ts_msgs::ConnectsToList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::Connection el; + toRos_Connection(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_ConnectsToList(const mapem_ts_msgs::ConnectsToList& in, mapem_ts_ConnectsToList_t& out) { + memset(&out, 0, sizeof(mapem_ts_ConnectsToList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_Connection_t* el = (mapem_ts_Connection_t*) calloc(1, sizeof(mapem_ts_Connection_t)); + toStruct_Connection(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCountryCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCountryCode.h new file mode 100644 index 000000000..91a824534 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCountryCode.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CountryCode(const mapem_ts_CountryCode_t& in, mapem_ts_msgs::CountryCode& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_CountryCode(const mapem_ts_msgs::CountryCode& in, mapem_ts_CountryCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_CountryCode_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvature.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvature.h new file mode 100644 index 000000000..c705acd04 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvature.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Curvature(const mapem_ts_Curvature_t& in, mapem_ts_msgs::Curvature& out) { + toRos_CurvatureValue(in.curvatureValue, out.curvature_value); + toRos_CurvatureConfidence(in.curvatureConfidence, out.curvature_confidence); +} + +void toStruct_Curvature(const mapem_ts_msgs::Curvature& in, mapem_ts_Curvature_t& out) { + memset(&out, 0, sizeof(mapem_ts_Curvature_t)); + + toStruct_CurvatureValue(in.curvature_value, out.curvatureValue); + toStruct_CurvatureConfidence(in.curvature_confidence, out.curvatureConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureCalculationMode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureCalculationMode.h new file mode 100644 index 000000000..71f4a1b67 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureCalculationMode.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CurvatureCalculationMode(const mapem_ts_CurvatureCalculationMode_t& in, mapem_ts_msgs::CurvatureCalculationMode& out) { + out.value = in; +} + +void toStruct_CurvatureCalculationMode(const mapem_ts_msgs::CurvatureCalculationMode& in, mapem_ts_CurvatureCalculationMode_t& out) { + memset(&out, 0, sizeof(mapem_ts_CurvatureCalculationMode_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureConfidence.h new file mode 100644 index 000000000..3a83585b9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CurvatureConfidence(const mapem_ts_CurvatureConfidence_t& in, mapem_ts_msgs::CurvatureConfidence& out) { + out.value = in; +} + +void toStruct_CurvatureConfidence(const mapem_ts_msgs::CurvatureConfidence& in, mapem_ts_CurvatureConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_CurvatureConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureValue.h new file mode 100644 index 000000000..7d1f0707b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertCurvatureValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_CurvatureValue(const mapem_ts_CurvatureValue_t& in, mapem_ts_msgs::CurvatureValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_CurvatureValue(const mapem_ts_msgs::CurvatureValue& in, mapem_ts_CurvatureValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_CurvatureValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDateTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDateTime.h new file mode 100644 index 000000000..260ce376a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDateTime.h @@ -0,0 +1,113 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DDateTime(const mapem_ts_DDateTime_t& in, mapem_ts_msgs::DDateTime& out) { + if (in.year) { + toRos_DYear(*in.year, out.year); + out.year_is_present = true; + } + if (in.month) { + toRos_DMonth(*in.month, out.month); + out.month_is_present = true; + } + if (in.day) { + toRos_DDay(*in.day, out.day); + out.day_is_present = true; + } + if (in.hour) { + toRos_DHour(*in.hour, out.hour); + out.hour_is_present = true; + } + if (in.minute) { + toRos_DMinute(*in.minute, out.minute); + out.minute_is_present = true; + } + if (in.second) { + toRos_DSecond(*in.second, out.second); + out.second_is_present = true; + } + if (in.offset) { + toRos_DOffset(*in.offset, out.offset); + out.offset_is_present = true; + } +} + +void toStruct_DDateTime(const mapem_ts_msgs::DDateTime& in, mapem_ts_DDateTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_DDateTime_t)); + + if (in.year_is_present) { + out.year = (mapem_ts_DYear_t*) calloc(1, sizeof(mapem_ts_DYear_t)); + toStruct_DYear(in.year, *out.year); + } + if (in.month_is_present) { + out.month = (mapem_ts_DMonth_t*) calloc(1, sizeof(mapem_ts_DMonth_t)); + toStruct_DMonth(in.month, *out.month); + } + if (in.day_is_present) { + out.day = (mapem_ts_DDay_t*) calloc(1, sizeof(mapem_ts_DDay_t)); + toStruct_DDay(in.day, *out.day); + } + if (in.hour_is_present) { + out.hour = (mapem_ts_DHour_t*) calloc(1, sizeof(mapem_ts_DHour_t)); + toStruct_DHour(in.hour, *out.hour); + } + if (in.minute_is_present) { + out.minute = (mapem_ts_DMinute_t*) calloc(1, sizeof(mapem_ts_DMinute_t)); + toStruct_DMinute(in.minute, *out.minute); + } + if (in.second_is_present) { + out.second = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.second, *out.second); + } + if (in.offset_is_present) { + out.offset = (mapem_ts_DOffset_t*) calloc(1, sizeof(mapem_ts_DOffset_t)); + toStruct_DOffset(in.offset, *out.offset); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDay.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDay.h new file mode 100644 index 000000000..7a68eedfd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDDay.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DDay(const mapem_ts_DDay_t& in, mapem_ts_msgs::DDay& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DDay(const mapem_ts_msgs::DDay& in, mapem_ts_DDay_t& out) { + memset(&out, 0, sizeof(mapem_ts_DDay_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDHour.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDHour.h new file mode 100644 index 000000000..3ab55423b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDHour.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DHour(const mapem_ts_DHour_t& in, mapem_ts_msgs::DHour& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DHour(const mapem_ts_msgs::DHour& in, mapem_ts_DHour_t& out) { + memset(&out, 0, sizeof(mapem_ts_DHour_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMinute.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMinute.h new file mode 100644 index 000000000..61b045840 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMinute.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DMinute(const mapem_ts_DMinute_t& in, mapem_ts_msgs::DMinute& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DMinute(const mapem_ts_msgs::DMinute& in, mapem_ts_DMinute_t& out) { + memset(&out, 0, sizeof(mapem_ts_DMinute_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMonth.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMonth.h new file mode 100644 index 000000000..edc4d86ae --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDMonth.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DMonth(const mapem_ts_DMonth_t& in, mapem_ts_msgs::DMonth& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DMonth(const mapem_ts_msgs::DMonth& in, mapem_ts_DMonth_t& out) { + memset(&out, 0, sizeof(mapem_ts_DMonth_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDOffset.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDOffset.h new file mode 100644 index 000000000..6275a4807 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDOffset.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DOffset(const mapem_ts_DOffset_t& in, mapem_ts_msgs::DOffset& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DOffset(const mapem_ts_msgs::DOffset& in, mapem_ts_DOffset_t& out) { + memset(&out, 0, sizeof(mapem_ts_DOffset_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSRCmsgID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSRCmsgID.h new file mode 100644 index 000000000..17eb174fe --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSRCmsgID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DSRCmsgID(const mapem_ts_DSRCmsgID_t& in, mapem_ts_msgs::DSRCmsgID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DSRCmsgID(const mapem_ts_msgs::DSRCmsgID& in, mapem_ts_DSRCmsgID_t& out) { + memset(&out, 0, sizeof(mapem_ts_DSRCmsgID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSecond.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSecond.h new file mode 100644 index 000000000..f0f329dd7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDSecond.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DSecond(const mapem_ts_DSecond_t& in, mapem_ts_msgs::DSecond& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DSecond(const mapem_ts_msgs::DSecond& in, mapem_ts_DSecond_t& out) { + memset(&out, 0, sizeof(mapem_ts_DSecond_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDYear.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDYear.h new file mode 100644 index 000000000..f5b76ce4f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDYear.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DYear(const mapem_ts_DYear_t& in, mapem_ts_msgs::DYear& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DYear(const mapem_ts_msgs::DYear& in, mapem_ts_DYear_t& out) { + memset(&out, 0, sizeof(mapem_ts_DYear_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousEndOfQueueSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousEndOfQueueSubCauseCode.h new file mode 100644 index 000000000..5148c07fd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousEndOfQueueSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DangerousEndOfQueueSubCauseCode(const mapem_ts_DangerousEndOfQueueSubCauseCode_t& in, mapem_ts_msgs::DangerousEndOfQueueSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DangerousEndOfQueueSubCauseCode(const mapem_ts_msgs::DangerousEndOfQueueSubCauseCode& in, mapem_ts_DangerousEndOfQueueSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_DangerousEndOfQueueSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsBasic.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsBasic.h new file mode 100644 index 000000000..d704275d4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsBasic.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DangerousGoodsBasic(const mapem_ts_DangerousGoodsBasic_t& in, mapem_ts_msgs::DangerousGoodsBasic& out) { + out.value = in; +} + +void toStruct_DangerousGoodsBasic(const mapem_ts_msgs::DangerousGoodsBasic& in, mapem_ts_DangerousGoodsBasic_t& out) { + memset(&out, 0, sizeof(mapem_ts_DangerousGoodsBasic_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsExtended.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsExtended.h new file mode 100644 index 000000000..2d8acbb3e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousGoodsExtended.h @@ -0,0 +1,94 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DangerousGoodsExtended(const mapem_ts_DangerousGoodsExtended_t& in, mapem_ts_msgs::DangerousGoodsExtended& out) { + toRos_DangerousGoodsBasic(in.dangerousGoodsType, out.dangerous_goods_type); + etsi_its_primitives_conversion::toRos_INTEGER(in.unNumber, out.un_number); + etsi_its_primitives_conversion::toRos_BOOLEAN(in.elevatedTemperature, out.elevated_temperature); + etsi_its_primitives_conversion::toRos_BOOLEAN(in.tunnelsRestricted, out.tunnels_restricted); + etsi_its_primitives_conversion::toRos_BOOLEAN(in.limitedQuantity, out.limited_quantity); + if (in.emergencyActionCode) { + etsi_its_primitives_conversion::toRos_IA5String(*in.emergencyActionCode, out.emergency_action_code); + out.emergency_action_code_is_present = true; + } + if (in.phoneNumber) { + toRos_PhoneNumber(*in.phoneNumber, out.phone_number); + out.phone_number_is_present = true; + } + if (in.companyName) { + etsi_its_primitives_conversion::toRos_UTF8String(*in.companyName, out.company_name); + out.company_name_is_present = true; + } +} + +void toStruct_DangerousGoodsExtended(const mapem_ts_msgs::DangerousGoodsExtended& in, mapem_ts_DangerousGoodsExtended_t& out) { + memset(&out, 0, sizeof(mapem_ts_DangerousGoodsExtended_t)); + + toStruct_DangerousGoodsBasic(in.dangerous_goods_type, out.dangerousGoodsType); + etsi_its_primitives_conversion::toStruct_INTEGER(in.un_number, out.unNumber); + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.elevated_temperature, out.elevatedTemperature); + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.tunnels_restricted, out.tunnelsRestricted); + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.limited_quantity, out.limitedQuantity); + if (in.emergency_action_code_is_present) { + out.emergencyActionCode = (IA5String_t*) calloc(1, sizeof(IA5String_t)); + etsi_its_primitives_conversion::toStruct_IA5String(in.emergency_action_code, *out.emergencyActionCode); + } + if (in.phone_number_is_present) { + out.phoneNumber = (mapem_ts_PhoneNumber_t*) calloc(1, sizeof(mapem_ts_PhoneNumber_t)); + toStruct_PhoneNumber(in.phone_number, *out.phoneNumber); + } + if (in.company_name_is_present) { + out.companyName = (UTF8String_t*) calloc(1, sizeof(UTF8String_t)); + etsi_its_primitives_conversion::toStruct_UTF8String(in.company_name, *out.companyName); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousSituationSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousSituationSubCauseCode.h new file mode 100644 index 000000000..3b42fb972 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDangerousSituationSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DangerousSituationSubCauseCode(const mapem_ts_DangerousSituationSubCauseCode_t& in, mapem_ts_msgs::DangerousSituationSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DangerousSituationSubCauseCode(const mapem_ts_msgs::DangerousSituationSubCauseCode& in, mapem_ts_DangerousSituationSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_DangerousSituationSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDataParameters.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDataParameters.h new file mode 100644 index 000000000..5c182fda5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDataParameters.h @@ -0,0 +1,84 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DataParameters(const mapem_ts_DataParameters_t& in, mapem_ts_msgs::DataParameters& out) { + if (in.processMethod) { + etsi_its_primitives_conversion::toRos_IA5String(*in.processMethod, out.process_method); + out.process_method_is_present = true; + } + if (in.processAgency) { + etsi_its_primitives_conversion::toRos_IA5String(*in.processAgency, out.process_agency); + out.process_agency_is_present = true; + } + if (in.lastCheckedDate) { + etsi_its_primitives_conversion::toRos_IA5String(*in.lastCheckedDate, out.last_checked_date); + out.last_checked_date_is_present = true; + } + if (in.geoidUsed) { + etsi_its_primitives_conversion::toRos_IA5String(*in.geoidUsed, out.geoid_used); + out.geoid_used_is_present = true; + } +} + +void toStruct_DataParameters(const mapem_ts_msgs::DataParameters& in, mapem_ts_DataParameters_t& out) { + memset(&out, 0, sizeof(mapem_ts_DataParameters_t)); + + if (in.process_method_is_present) { + out.processMethod = (IA5String_t*) calloc(1, sizeof(IA5String_t)); + etsi_its_primitives_conversion::toStruct_IA5String(in.process_method, *out.processMethod); + } + if (in.process_agency_is_present) { + out.processAgency = (IA5String_t*) calloc(1, sizeof(IA5String_t)); + etsi_its_primitives_conversion::toStruct_IA5String(in.process_agency, *out.processAgency); + } + if (in.last_checked_date_is_present) { + out.lastCheckedDate = (IA5String_t*) calloc(1, sizeof(IA5String_t)); + etsi_its_primitives_conversion::toStruct_IA5String(in.last_checked_date, *out.lastCheckedDate); + } + if (in.geoid_used_is_present) { + out.geoidUsed = (IA5String_t*) calloc(1, sizeof(IA5String_t)); + etsi_its_primitives_conversion::toStruct_IA5String(in.geoid_used, *out.geoidUsed); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAltitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAltitude.h new file mode 100644 index 000000000..e1c348e90 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAltitude.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaAltitude(const mapem_ts_DeltaAltitude_t& in, mapem_ts_msgs::DeltaAltitude& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DeltaAltitude(const mapem_ts_msgs::DeltaAltitude& in, mapem_ts_DeltaAltitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaAltitude_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAngle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAngle.h new file mode 100644 index 000000000..1fb8413f4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaAngle.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaAngle(const mapem_ts_DeltaAngle_t& in, mapem_ts_msgs::DeltaAngle& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DeltaAngle(const mapem_ts_msgs::DeltaAngle& in, mapem_ts_DeltaAngle_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaAngle_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLatitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLatitude.h new file mode 100644 index 000000000..0345c4037 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLatitude.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaLatitude(const mapem_ts_DeltaLatitude_t& in, mapem_ts_msgs::DeltaLatitude& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DeltaLatitude(const mapem_ts_msgs::DeltaLatitude& in, mapem_ts_DeltaLatitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaLatitude_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLongitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLongitude.h new file mode 100644 index 000000000..965a0a6a0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaLongitude.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaLongitude(const mapem_ts_DeltaLongitude_t& in, mapem_ts_msgs::DeltaLongitude& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DeltaLongitude(const mapem_ts_msgs::DeltaLongitude& in, mapem_ts_DeltaLongitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaLongitude_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaReferencePosition.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaReferencePosition.h new file mode 100644 index 000000000..a4f7453da --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaReferencePosition.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaReferencePosition(const mapem_ts_DeltaReferencePosition_t& in, mapem_ts_msgs::DeltaReferencePosition& out) { + toRos_DeltaLatitude(in.deltaLatitude, out.delta_latitude); + toRos_DeltaLongitude(in.deltaLongitude, out.delta_longitude); + toRos_DeltaAltitude(in.deltaAltitude, out.delta_altitude); +} + +void toStruct_DeltaReferencePosition(const mapem_ts_msgs::DeltaReferencePosition& in, mapem_ts_DeltaReferencePosition_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaReferencePosition_t)); + + toStruct_DeltaLatitude(in.delta_latitude, out.deltaLatitude); + toStruct_DeltaLongitude(in.delta_longitude, out.deltaLongitude); + toStruct_DeltaAltitude(in.delta_altitude, out.deltaAltitude); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaTime.h new file mode 100644 index 000000000..eb21f959c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDeltaTime.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DeltaTime(const mapem_ts_DeltaTime_t& in, mapem_ts_msgs::DeltaTime& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DeltaTime(const mapem_ts_msgs::DeltaTime& in, mapem_ts_DeltaTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_DeltaTime_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDescriptiveName.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDescriptiveName.h new file mode 100644 index 000000000..160cbd9a9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDescriptiveName.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DescriptiveName(const mapem_ts_DescriptiveName_t& in, mapem_ts_msgs::DescriptiveName& out) { + etsi_its_primitives_conversion::toRos_IA5String(in, out.value); +} + +void toStruct_DescriptiveName(const mapem_ts_msgs::DescriptiveName& in, mapem_ts_DescriptiveName_t& out) { + memset(&out, 0, sizeof(mapem_ts_DescriptiveName_t)); + + etsi_its_primitives_conversion::toStruct_IA5String(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDigitalMap.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDigitalMap.h new file mode 100644 index 000000000..625460bd2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDigitalMap.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DigitalMap(const mapem_ts_DigitalMap_t& in, mapem_ts_msgs::DigitalMap& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::ReferencePosition el; + toRos_ReferencePosition(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_DigitalMap(const mapem_ts_msgs::DigitalMap& in, mapem_ts_DigitalMap_t& out) { + memset(&out, 0, sizeof(mapem_ts_DigitalMap_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_ReferencePosition_t* el = (mapem_ts_ReferencePosition_t*) calloc(1, sizeof(mapem_ts_ReferencePosition_t)); + toStruct_ReferencePosition(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDriveDirection.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDriveDirection.h new file mode 100644 index 000000000..3d2ad96bb --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDriveDirection.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DriveDirection(const mapem_ts_DriveDirection_t& in, mapem_ts_msgs::DriveDirection& out) { + out.value = in; +} + +void toStruct_DriveDirection(const mapem_ts_msgs::DriveDirection& in, mapem_ts_DriveDirection_t& out) { + memset(&out, 0, sizeof(mapem_ts_DriveDirection_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetLg.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetLg.h new file mode 100644 index 000000000..878330065 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetLg.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DrivenLineOffsetLg(const mapem_ts_DrivenLineOffsetLg_t& in, mapem_ts_msgs::DrivenLineOffsetLg& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DrivenLineOffsetLg(const mapem_ts_msgs::DrivenLineOffsetLg& in, mapem_ts_DrivenLineOffsetLg_t& out) { + memset(&out, 0, sizeof(mapem_ts_DrivenLineOffsetLg_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetSm.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetSm.h new file mode 100644 index 000000000..851926a03 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivenLineOffsetSm.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DrivenLineOffsetSm(const mapem_ts_DrivenLineOffsetSm_t& in, mapem_ts_msgs::DrivenLineOffsetSm& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_DrivenLineOffsetSm(const mapem_ts_msgs::DrivenLineOffsetSm& in, mapem_ts_DrivenLineOffsetSm_t& out) { + memset(&out, 0, sizeof(mapem_ts_DrivenLineOffsetSm_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivingLaneStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivingLaneStatus.h new file mode 100644 index 000000000..b71fd55ca --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertDrivingLaneStatus.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_DrivingLaneStatus(const mapem_ts_DrivingLaneStatus_t& in, mapem_ts_msgs::DrivingLaneStatus& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_DrivingLaneStatus(const mapem_ts_msgs::DrivingLaneStatus& in, mapem_ts_DrivingLaneStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_DrivingLaneStatus_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevation.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevation.h new file mode 100644 index 000000000..6d22e65e8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevation.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Elevation(const mapem_ts_Elevation_t& in, mapem_ts_msgs::Elevation& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Elevation(const mapem_ts_msgs::Elevation& in, mapem_ts_Elevation_t& out) { + memset(&out, 0, sizeof(mapem_ts_Elevation_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevationConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevationConfidence.h new file mode 100644 index 000000000..2032bd0ff --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertElevationConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ElevationConfidence(const mapem_ts_ElevationConfidence_t& in, mapem_ts_msgs::ElevationConfidence& out) { + out.value = in; +} + +void toStruct_ElevationConfidence(const mapem_ts_msgs::ElevationConfidence& in, mapem_ts_ElevationConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_ElevationConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmbarkationStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmbarkationStatus.h new file mode 100644 index 000000000..850092526 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmbarkationStatus.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EmbarkationStatus(const mapem_ts_EmbarkationStatus_t& in, mapem_ts_msgs::EmbarkationStatus& out) { + etsi_its_primitives_conversion::toRos_BOOLEAN(in, out.value); +} + +void toStruct_EmbarkationStatus(const mapem_ts_msgs::EmbarkationStatus& in, mapem_ts_EmbarkationStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_EmbarkationStatus_t)); + + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyPriority.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyPriority.h new file mode 100644 index 000000000..b094644b1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyPriority.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EmergencyPriority(const mapem_ts_EmergencyPriority_t& in, mapem_ts_msgs::EmergencyPriority& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_EmergencyPriority(const mapem_ts_msgs::EmergencyPriority& in, mapem_ts_EmergencyPriority_t& out) { + memset(&out, 0, sizeof(mapem_ts_EmergencyPriority_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyVehicleApproachingSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyVehicleApproachingSubCauseCode.h new file mode 100644 index 000000000..c0cc31ffa --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmergencyVehicleApproachingSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EmergencyVehicleApproachingSubCauseCode(const mapem_ts_EmergencyVehicleApproachingSubCauseCode_t& in, mapem_ts_msgs::EmergencyVehicleApproachingSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_EmergencyVehicleApproachingSubCauseCode(const mapem_ts_msgs::EmergencyVehicleApproachingSubCauseCode& in, mapem_ts_EmergencyVehicleApproachingSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_EmergencyVehicleApproachingSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmissionType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmissionType.h new file mode 100644 index 000000000..101247eb5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEmissionType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EmissionType(const mapem_ts_EmissionType_t& in, mapem_ts_msgs::EmissionType& out) { + out.value = in; +} + +void toStruct_EmissionType(const mapem_ts_msgs::EmissionType& in, mapem_ts_EmissionType_t& out) { + memset(&out, 0, sizeof(mapem_ts_EmissionType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnabledLaneList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnabledLaneList.h new file mode 100644 index 000000000..b857e75b9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnabledLaneList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EnabledLaneList(const mapem_ts_EnabledLaneList_t& in, mapem_ts_msgs::EnabledLaneList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::LaneID el; + toRos_LaneID(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_EnabledLaneList(const mapem_ts_msgs::EnabledLaneList& in, mapem_ts_EnabledLaneList_t& out) { + memset(&out, 0, sizeof(mapem_ts_EnabledLaneList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_LaneID_t* el = (mapem_ts_LaneID_t*) calloc(1, sizeof(mapem_ts_LaneID_t)); + toStruct_LaneID(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnergyStorageType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnergyStorageType.h new file mode 100644 index 000000000..9b04b492a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEnergyStorageType.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EnergyStorageType(const mapem_ts_EnergyStorageType_t& in, mapem_ts_msgs::EnergyStorageType& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_EnergyStorageType(const mapem_ts_msgs::EnergyStorageType& in, mapem_ts_EnergyStorageType_t& out) { + memset(&out, 0, sizeof(mapem_ts_EnergyStorageType_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryCode.h new file mode 100644 index 000000000..df97a45ae --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryCode.h @@ -0,0 +1,102 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EuVehicleCategoryCode(const mapem_ts_EuVehicleCategoryCode_t& in, mapem_ts_msgs::EuVehicleCategoryCode& out) { + switch (in.present) { + case mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryL: + toRos_EuVehicleCategoryL(in.choice.euVehicleCategoryL, out.eu_vehicle_category_l); + out.choice = mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_L; + break; + case mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryM: + toRos_EuVehicleCategoryM(in.choice.euVehicleCategoryM, out.eu_vehicle_category_m); + out.choice = mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_M; + break; + case mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryN: + toRos_EuVehicleCategoryN(in.choice.euVehicleCategoryN, out.eu_vehicle_category_n); + out.choice = mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_N; + break; + case mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryO: + toRos_EuVehicleCategoryO(in.choice.euVehicleCategoryO, out.eu_vehicle_category_o); + out.choice = mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_O; + break; +etsi_its_primitives_conversion::toRos_byte(in, out.value); + break; +etsi_its_primitives_conversion::toRos_byte(in, out.value); + break; + default: break; + } +} + +void toStruct_EuVehicleCategoryCode(const mapem_ts_msgs::EuVehicleCategoryCode& in, mapem_ts_EuVehicleCategoryCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_EuVehicleCategoryCode_t)); + + switch (in.choice) { + case mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_L: + toStruct_EuVehicleCategoryL(in.eu_vehicle_category_l, out.choice.euVehicleCategoryL); + out.present = mapem_ts_EuVehicleCategoryCode_PR::mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryL; + break; + case mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_M: + toStruct_EuVehicleCategoryM(in.eu_vehicle_category_m, out.choice.euVehicleCategoryM); + out.present = mapem_ts_EuVehicleCategoryCode_PR::mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryM; + break; + case mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_N: + toStruct_EuVehicleCategoryN(in.eu_vehicle_category_n, out.choice.euVehicleCategoryN); + out.present = mapem_ts_EuVehicleCategoryCode_PR::mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryN; + break; + case mapem_ts_msgs::EuVehicleCategoryCode::CHOICE_EU_VEHICLE_CATEGORY_O: + toStruct_EuVehicleCategoryO(in.eu_vehicle_category_o, out.choice.euVehicleCategoryO); + out.present = mapem_ts_EuVehicleCategoryCode_PR::mapem_ts_EuVehicleCategoryCode_PR_euVehicleCategoryO; + break; +etsi_its_primitives_conversion::toStruct_byte(in, out.value); + break; +etsi_its_primitives_conversion::toStruct_byte(in, out.value); + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryL.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryL.h new file mode 100644 index 000000000..60d45f2c6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryL.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EuVehicleCategoryL(const mapem_ts_EuVehicleCategoryL_t& in, mapem_ts_msgs::EuVehicleCategoryL& out) { + out.value = in; +} + +void toStruct_EuVehicleCategoryL(const mapem_ts_msgs::EuVehicleCategoryL& in, mapem_ts_EuVehicleCategoryL_t& out) { + memset(&out, 0, sizeof(mapem_ts_EuVehicleCategoryL_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryM.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryM.h new file mode 100644 index 000000000..6f9f2a946 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryM.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EuVehicleCategoryM(const mapem_ts_EuVehicleCategoryM_t& in, mapem_ts_msgs::EuVehicleCategoryM& out) { + out.value = in; +} + +void toStruct_EuVehicleCategoryM(const mapem_ts_msgs::EuVehicleCategoryM& in, mapem_ts_EuVehicleCategoryM_t& out) { + memset(&out, 0, sizeof(mapem_ts_EuVehicleCategoryM_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryN.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryN.h new file mode 100644 index 000000000..f82c06401 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryN.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EuVehicleCategoryN(const mapem_ts_EuVehicleCategoryN_t& in, mapem_ts_msgs::EuVehicleCategoryN& out) { + out.value = in; +} + +void toStruct_EuVehicleCategoryN(const mapem_ts_msgs::EuVehicleCategoryN& in, mapem_ts_EuVehicleCategoryN_t& out) { + memset(&out, 0, sizeof(mapem_ts_EuVehicleCategoryN_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryO.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryO.h new file mode 100644 index 000000000..513d5dbf1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEuVehicleCategoryO.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EuVehicleCategoryO(const mapem_ts_EuVehicleCategoryO_t& in, mapem_ts_msgs::EuVehicleCategoryO& out) { + out.value = in; +} + +void toStruct_EuVehicleCategoryO(const mapem_ts_msgs::EuVehicleCategoryO& in, mapem_ts_EuVehicleCategoryO_t& out) { + memset(&out, 0, sizeof(mapem_ts_EuVehicleCategoryO_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventHistory.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventHistory.h new file mode 100644 index 000000000..1ea3052a7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventHistory.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EventHistory(const mapem_ts_EventHistory_t& in, mapem_ts_msgs::EventHistory& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::EventPoint el; + toRos_EventPoint(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_EventHistory(const mapem_ts_msgs::EventHistory& in, mapem_ts_EventHistory_t& out) { + memset(&out, 0, sizeof(mapem_ts_EventHistory_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_EventPoint_t* el = (mapem_ts_EventPoint_t*) calloc(1, sizeof(mapem_ts_EventPoint_t)); + toStruct_EventPoint(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventPoint.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventPoint.h new file mode 100644 index 000000000..632006d38 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertEventPoint.h @@ -0,0 +1,65 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_EventPoint(const mapem_ts_EventPoint_t& in, mapem_ts_msgs::EventPoint& out) { + toRos_DeltaReferencePosition(in.eventPosition, out.event_position); + if (in.eventDeltaTime) { + toRos_PathDeltaTime(*in.eventDeltaTime, out.event_delta_time); + out.event_delta_time_is_present = true; + } + toRos_InformationQuality(in.informationQuality, out.information_quality); +} + +void toStruct_EventPoint(const mapem_ts_msgs::EventPoint& in, mapem_ts_EventPoint_t& out) { + memset(&out, 0, sizeof(mapem_ts_EventPoint_t)); + + toStruct_DeltaReferencePosition(in.event_position, out.eventPosition); + if (in.event_delta_time_is_present) { + out.eventDeltaTime = (mapem_ts_PathDeltaTime_t*) calloc(1, sizeof(mapem_ts_PathDeltaTime_t)); + toStruct_PathDeltaTime(in.event_delta_time, *out.eventDeltaTime); + } + toStruct_InformationQuality(in.information_quality, out.informationQuality); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExceptionalCondition.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExceptionalCondition.h new file mode 100644 index 000000000..dbc3088ec --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExceptionalCondition.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ExceptionalCondition(const mapem_ts_ExceptionalCondition_t& in, mapem_ts_msgs::ExceptionalCondition& out) { + out.value = in; +} + +void toStruct_ExceptionalCondition(const mapem_ts_msgs::ExceptionalCondition& in, mapem_ts_ExceptionalCondition_t& out) { + memset(&out, 0, sizeof(mapem_ts_ExceptionalCondition_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExteriorLights.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExteriorLights.h new file mode 100644 index 000000000..e05f78959 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertExteriorLights.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ExteriorLights(const mapem_ts_ExteriorLights_t& in, mapem_ts_msgs::ExteriorLights& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_ExteriorLights(const mapem_ts_msgs::ExteriorLights& in, mapem_ts_ExteriorLights_t& out) { + memset(&out, 0, sizeof(mapem_ts_ExteriorLights_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFreightContainerData.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFreightContainerData.h new file mode 100644 index 000000000..dc92b04c9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFreightContainerData.h @@ -0,0 +1,74 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_FreightContainerData(const mapem_ts_FreightContainerData_t& in, mapem_ts_msgs::FreightContainerData& out) { + etsi_its_primitives_conversion::toRos_uint8[](in.ownerCode, out.owner_code); + etsi_its_primitives_conversion::toRos_INTEGER(in.serialNumber, out.serial_number); + etsi_its_primitives_conversion::toRos_INTEGER(in.checkDigit, out.check_digit); + etsi_its_primitives_conversion::toRos_INTEGER(in.length, out.length); + etsi_its_primitives_conversion::toRos_INTEGER(in.height, out.height); + etsi_its_primitives_conversion::toRos_INTEGER(in.width, out.width); + etsi_its_primitives_conversion::toRos_INTEGER(in.containerTypeCode, out.container_type_code); + etsi_its_primitives_conversion::toRos_INTEGER(in.maximumGrossMass, out.maximum_gross_mass); + etsi_its_primitives_conversion::toRos_INTEGER(in.tareMass, out.tare_mass); + etsi_its_primitives_conversion::toRos_uint8[](in.fill, out.fill); +} + +void toStruct_FreightContainerData(const mapem_ts_msgs::FreightContainerData& in, mapem_ts_FreightContainerData_t& out) { + memset(&out, 0, sizeof(mapem_ts_FreightContainerData_t)); + + etsi_its_primitives_conversion::toStruct_uint8[](in.owner_code, out.ownerCode); + etsi_its_primitives_conversion::toStruct_INTEGER(in.serial_number, out.serialNumber); + etsi_its_primitives_conversion::toStruct_INTEGER(in.check_digit, out.checkDigit); + etsi_its_primitives_conversion::toStruct_INTEGER(in.length, out.length); + etsi_its_primitives_conversion::toStruct_INTEGER(in.height, out.height); + etsi_its_primitives_conversion::toStruct_INTEGER(in.width, out.width); + etsi_its_primitives_conversion::toStruct_INTEGER(in.container_type_code, out.containerTypeCode); + etsi_its_primitives_conversion::toStruct_INTEGER(in.maximum_gross_mass, out.maximumGrossMass); + etsi_its_primitives_conversion::toStruct_INTEGER(in.tare_mass, out.tareMass); + etsi_its_primitives_conversion::toStruct_uint8[](in.fill, out.fill); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFuelType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFuelType.h new file mode 100644 index 000000000..8ca53c1c1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFuelType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_FuelType(const mapem_ts_FuelType_t& in, mapem_ts_msgs::FuelType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_FuelType(const mapem_ts_msgs::FuelType& in, mapem_ts_FuelType_t& out) { + memset(&out, 0, sizeof(mapem_ts_FuelType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFullPositionVector.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFullPositionVector.h new file mode 100644 index 000000000..8555da80d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertFullPositionVector.h @@ -0,0 +1,128 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_FullPositionVector(const mapem_ts_FullPositionVector_t& in, mapem_ts_msgs::FullPositionVector& out) { + if (in.utcTime) { + toRos_DDateTime(*in.utcTime, out.utc_time); + out.utc_time_is_present = true; + } + toRos_Longitude(in.long, out.long); + toRos_Latitude(in.lat, out.lat); + if (in.elevation) { + toRos_Elevation(*in.elevation, out.elevation); + out.elevation_is_present = true; + } + if (in.heading) { + toRos_HeadingDSRC(*in.heading, out.heading); + out.heading_is_present = true; + } + if (in.speed) { + toRos_TransmissionAndSpeed(*in.speed, out.speed); + out.speed_is_present = true; + } + if (in.posAccuracy) { + toRos_PositionalAccuracy(*in.posAccuracy, out.pos_accuracy); + out.pos_accuracy_is_present = true; + } + if (in.timeConfidence) { + toRos_TimeConfidence(*in.timeConfidence, out.time_confidence); + out.time_confidence_is_present = true; + } + if (in.posConfidence) { + toRos_PositionConfidenceSet(*in.posConfidence, out.pos_confidence); + out.pos_confidence_is_present = true; + } + if (in.speedConfidence) { + toRos_SpeedandHeadingandThrottleConfidence(*in.speedConfidence, out.speed_confidence); + out.speed_confidence_is_present = true; + } +} + +void toStruct_FullPositionVector(const mapem_ts_msgs::FullPositionVector& in, mapem_ts_FullPositionVector_t& out) { + memset(&out, 0, sizeof(mapem_ts_FullPositionVector_t)); + + if (in.utc_time_is_present) { + out.utcTime = (mapem_ts_DDateTime_t*) calloc(1, sizeof(mapem_ts_DDateTime_t)); + toStruct_DDateTime(in.utc_time, *out.utcTime); + } + toStruct_Longitude(in.long, out.long); + toStruct_Latitude(in.lat, out.lat); + if (in.elevation_is_present) { + out.elevation = (mapem_ts_Elevation_t*) calloc(1, sizeof(mapem_ts_Elevation_t)); + toStruct_Elevation(in.elevation, *out.elevation); + } + if (in.heading_is_present) { + out.heading = (mapem_ts_HeadingDSRC_t*) calloc(1, sizeof(mapem_ts_HeadingDSRC_t)); + toStruct_HeadingDSRC(in.heading, *out.heading); + } + if (in.speed_is_present) { + out.speed = (mapem_ts_TransmissionAndSpeed_t*) calloc(1, sizeof(mapem_ts_TransmissionAndSpeed_t)); + toStruct_TransmissionAndSpeed(in.speed, *out.speed); + } + if (in.pos_accuracy_is_present) { + out.posAccuracy = (mapem_ts_PositionalAccuracy_t*) calloc(1, sizeof(mapem_ts_PositionalAccuracy_t)); + toStruct_PositionalAccuracy(in.pos_accuracy, *out.posAccuracy); + } + if (in.time_confidence_is_present) { + out.timeConfidence = (mapem_ts_TimeConfidence_t*) calloc(1, sizeof(mapem_ts_TimeConfidence_t)); + toStruct_TimeConfidence(in.time_confidence, *out.timeConfidence); + } + if (in.pos_confidence_is_present) { + out.posConfidence = (mapem_ts_PositionConfidenceSet_t*) calloc(1, sizeof(mapem_ts_PositionConfidenceSet_t)); + toStruct_PositionConfidenceSet(in.pos_confidence, *out.posConfidence); + } + if (in.speed_confidence_is_present) { + out.speedConfidence = (mapem_ts_SpeedandHeadingandThrottleConfidence_t*) calloc(1, sizeof(mapem_ts_SpeedandHeadingandThrottleConfidence_t)); + toStruct_SpeedandHeadingandThrottleConfidence(in.speed_confidence, *out.speedConfidence); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGNSSstatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGNSSstatus.h new file mode 100644 index 000000000..9e1d80ff6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGNSSstatus.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_GNSSstatus(const mapem_ts_GNSSstatus_t& in, mapem_ts_msgs::GNSSstatus& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_GNSSstatus(const mapem_ts_msgs::GNSSstatus& in, mapem_ts_GNSSstatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_GNSSstatus_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGenericLane.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGenericLane.h new file mode 100644 index 000000000..1357f8959 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGenericLane.h @@ -0,0 +1,122 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_GenericLane(const mapem_ts_GenericLane_t& in, mapem_ts_msgs::GenericLane& out) { + toRos_LaneID(in.laneID, out.lane_id); + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + if (in.ingressApproach) { + toRos_ApproachID(*in.ingressApproach, out.ingress_approach); + out.ingress_approach_is_present = true; + } + if (in.egressApproach) { + toRos_ApproachID(*in.egressApproach, out.egress_approach); + out.egress_approach_is_present = true; + } + toRos_LaneAttributes(in.laneAttributes, out.lane_attributes); + if (in.maneuvers) { + toRos_AllowedManeuvers(*in.maneuvers, out.maneuvers); + out.maneuvers_is_present = true; + } + toRos_NodeListXY(in.nodeList, out.node_list); + if (in.connectsTo) { + toRos_ConnectsToList(*in.connectsTo, out.connects_to); + out.connects_to_is_present = true; + } + if (in.overlays) { + toRos_OverlayLaneList(*in.overlays, out.overlays); + out.overlays_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_GenericLane(const mapem_ts_msgs::GenericLane& in, mapem_ts_GenericLane_t& out) { + memset(&out, 0, sizeof(mapem_ts_GenericLane_t)); + + toStruct_LaneID(in.lane_id, out.laneID); + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + if (in.ingress_approach_is_present) { + out.ingressApproach = (mapem_ts_ApproachID_t*) calloc(1, sizeof(mapem_ts_ApproachID_t)); + toStruct_ApproachID(in.ingress_approach, *out.ingressApproach); + } + if (in.egress_approach_is_present) { + out.egressApproach = (mapem_ts_ApproachID_t*) calloc(1, sizeof(mapem_ts_ApproachID_t)); + toStruct_ApproachID(in.egress_approach, *out.egressApproach); + } + toStruct_LaneAttributes(in.lane_attributes, out.laneAttributes); + if (in.maneuvers_is_present) { + out.maneuvers = (mapem_ts_AllowedManeuvers_t*) calloc(1, sizeof(mapem_ts_AllowedManeuvers_t)); + toStruct_AllowedManeuvers(in.maneuvers, *out.maneuvers); + } + toStruct_NodeListXY(in.node_list, out.nodeList); + if (in.connects_to_is_present) { + out.connectsTo = (mapem_ts_ConnectsToList_t*) calloc(1, sizeof(mapem_ts_ConnectsToList_t)); + toStruct_ConnectsToList(in.connects_to, *out.connectsTo); + } + if (in.overlays_is_present) { + out.overlays = (mapem_ts_OverlayLaneList_t*) calloc(1, sizeof(mapem_ts_OverlayLaneList_t)); + toStruct_OverlayLaneList(in.overlays, *out.overlays); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGeoGraphicalLimit.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGeoGraphicalLimit.h new file mode 100644 index 000000000..802569992 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertGeoGraphicalLimit.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_GeoGraphicalLimit(const mapem_ts_GeoGraphicalLimit_t& in, mapem_ts_msgs::GeoGraphicalLimit& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_GeoGraphicalLimit(const mapem_ts_msgs::GeoGraphicalLimit& in, mapem_ts_GeoGraphicalLimit_t& out) { + memset(&out, 0, sizeof(mapem_ts_GeoGraphicalLimit_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHardShoulderStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHardShoulderStatus.h new file mode 100644 index 000000000..54b87a9a7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHardShoulderStatus.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HardShoulderStatus(const mapem_ts_HardShoulderStatus_t& in, mapem_ts_msgs::HardShoulderStatus& out) { + out.value = in; +} + +void toStruct_HardShoulderStatus(const mapem_ts_msgs::HardShoulderStatus& in, mapem_ts_HardShoulderStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_HardShoulderStatus_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationAnimalOnTheRoadSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationAnimalOnTheRoadSubCauseCode.h new file mode 100644 index 000000000..59ff10966 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationAnimalOnTheRoadSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HazardousLocationAnimalOnTheRoadSubCauseCode(const mapem_ts_HazardousLocation_AnimalOnTheRoadSubCauseCode_t& in, mapem_ts_msgs::HazardousLocationAnimalOnTheRoadSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HazardousLocationAnimalOnTheRoadSubCauseCode(const mapem_ts_msgs::HazardousLocationAnimalOnTheRoadSubCauseCode& in, mapem_ts_HazardousLocation_AnimalOnTheRoadSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HazardousLocation_AnimalOnTheRoadSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationDangerousCurveSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationDangerousCurveSubCauseCode.h new file mode 100644 index 000000000..4483cd83e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationDangerousCurveSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HazardousLocationDangerousCurveSubCauseCode(const mapem_ts_HazardousLocation_DangerousCurveSubCauseCode_t& in, mapem_ts_msgs::HazardousLocationDangerousCurveSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HazardousLocationDangerousCurveSubCauseCode(const mapem_ts_msgs::HazardousLocationDangerousCurveSubCauseCode& in, mapem_ts_HazardousLocation_DangerousCurveSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HazardousLocation_DangerousCurveSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationObstacleOnTheRoadSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationObstacleOnTheRoadSubCauseCode.h new file mode 100644 index 000000000..ee95e81c0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationObstacleOnTheRoadSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HazardousLocationObstacleOnTheRoadSubCauseCode(const mapem_ts_HazardousLocation_ObstacleOnTheRoadSubCauseCode_t& in, mapem_ts_msgs::HazardousLocationObstacleOnTheRoadSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HazardousLocationObstacleOnTheRoadSubCauseCode(const mapem_ts_msgs::HazardousLocationObstacleOnTheRoadSubCauseCode& in, mapem_ts_HazardousLocation_ObstacleOnTheRoadSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HazardousLocation_ObstacleOnTheRoadSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationSurfaceConditionSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationSurfaceConditionSubCauseCode.h new file mode 100644 index 000000000..c2bc278dc --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHazardousLocationSurfaceConditionSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HazardousLocationSurfaceConditionSubCauseCode(const mapem_ts_HazardousLocation_SurfaceConditionSubCauseCode_t& in, mapem_ts_msgs::HazardousLocationSurfaceConditionSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HazardousLocationSurfaceConditionSubCauseCode(const mapem_ts_msgs::HazardousLocationSurfaceConditionSubCauseCode& in, mapem_ts_HazardousLocation_SurfaceConditionSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HazardousLocation_SurfaceConditionSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeading.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeading.h new file mode 100644 index 000000000..d8d68c35d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeading.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Heading(const mapem_ts_Heading_t& in, mapem_ts_msgs::Heading& out) { + toRos_HeadingValue(in.headingValue, out.heading_value); + toRos_HeadingConfidence(in.headingConfidence, out.heading_confidence); +} + +void toStruct_Heading(const mapem_ts_msgs::Heading& in, mapem_ts_Heading_t& out) { + memset(&out, 0, sizeof(mapem_ts_Heading_t)); + + toStruct_HeadingValue(in.heading_value, out.headingValue); + toStruct_HeadingConfidence(in.heading_confidence, out.headingConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidence.h new file mode 100644 index 000000000..ec1aad393 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidence.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HeadingConfidence(const mapem_ts_HeadingConfidence_t& in, mapem_ts_msgs::HeadingConfidence& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HeadingConfidence(const mapem_ts_msgs::HeadingConfidence& in, mapem_ts_HeadingConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_HeadingConfidence_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidenceDSRC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidenceDSRC.h new file mode 100644 index 000000000..d9a6b2450 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingConfidenceDSRC.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HeadingConfidenceDSRC(const mapem_ts_HeadingConfidenceDSRC_t& in, mapem_ts_msgs::HeadingConfidenceDSRC& out) { + out.value = in; +} + +void toStruct_HeadingConfidenceDSRC(const mapem_ts_msgs::HeadingConfidenceDSRC& in, mapem_ts_HeadingConfidenceDSRC_t& out) { + memset(&out, 0, sizeof(mapem_ts_HeadingConfidenceDSRC_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingDSRC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingDSRC.h new file mode 100644 index 000000000..3ac6bcf7b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingDSRC.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HeadingDSRC(const mapem_ts_HeadingDSRC_t& in, mapem_ts_msgs::HeadingDSRC& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HeadingDSRC(const mapem_ts_msgs::HeadingDSRC& in, mapem_ts_HeadingDSRC_t& out) { + memset(&out, 0, sizeof(mapem_ts_HeadingDSRC_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingValue.h new file mode 100644 index 000000000..d1d3adb87 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeadingValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HeadingValue(const mapem_ts_HeadingValue_t& in, mapem_ts_msgs::HeadingValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HeadingValue(const mapem_ts_msgs::HeadingValue& in, mapem_ts_HeadingValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_HeadingValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeightLonCarr.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeightLonCarr.h new file mode 100644 index 000000000..440255d58 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHeightLonCarr.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HeightLonCarr(const mapem_ts_HeightLonCarr_t& in, mapem_ts_msgs::HeightLonCarr& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HeightLonCarr(const mapem_ts_msgs::HeightLonCarr& in, mapem_ts_HeightLonCarr_t& out) { + memset(&out, 0, sizeof(mapem_ts_HeightLonCarr_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanPresenceOnTheRoadSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanPresenceOnTheRoadSubCauseCode.h new file mode 100644 index 000000000..df209ad94 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanPresenceOnTheRoadSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HumanPresenceOnTheRoadSubCauseCode(const mapem_ts_HumanPresenceOnTheRoadSubCauseCode_t& in, mapem_ts_msgs::HumanPresenceOnTheRoadSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HumanPresenceOnTheRoadSubCauseCode(const mapem_ts_msgs::HumanPresenceOnTheRoadSubCauseCode& in, mapem_ts_HumanPresenceOnTheRoadSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HumanPresenceOnTheRoadSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanProblemSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanProblemSubCauseCode.h new file mode 100644 index 000000000..a63d9e73b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertHumanProblemSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_HumanProblemSubCauseCode(const mapem_ts_HumanProblemSubCauseCode_t& in, mapem_ts_msgs::HumanProblemSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_HumanProblemSubCauseCode(const mapem_ts_msgs::HumanProblemSubCauseCode& in, mapem_ts_HumanProblemSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_HumanProblemSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertInformationQuality.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertInformationQuality.h new file mode 100644 index 000000000..039eb805e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertInformationQuality.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_InformationQuality(const mapem_ts_InformationQuality_t& in, mapem_ts_msgs::InformationQuality& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_InformationQuality(const mapem_ts_msgs::InformationQuality& in, mapem_ts_InformationQuality_t& out) { + memset(&out, 0, sizeof(mapem_ts_InformationQuality_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionAccessPoint.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionAccessPoint.h new file mode 100644 index 000000000..3b4bab070 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionAccessPoint.h @@ -0,0 +1,83 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionAccessPoint(const mapem_ts_IntersectionAccessPoint_t& in, mapem_ts_msgs::IntersectionAccessPoint& out) { + switch (in.present) { + case mapem_ts_IntersectionAccessPoint_PR_lane: + toRos_LaneID(in.choice.lane, out.lane); + out.choice = mapem_ts_msgs::IntersectionAccessPoint::CHOICE_LANE; + break; + case mapem_ts_IntersectionAccessPoint_PR_approach: + toRos_ApproachID(in.choice.approach, out.approach); + out.choice = mapem_ts_msgs::IntersectionAccessPoint::CHOICE_APPROACH; + break; + case mapem_ts_IntersectionAccessPoint_PR_connection: + toRos_LaneConnectionID(in.choice.connection, out.connection); + out.choice = mapem_ts_msgs::IntersectionAccessPoint::CHOICE_CONNECTION; + break; + default: break; + } +} + +void toStruct_IntersectionAccessPoint(const mapem_ts_msgs::IntersectionAccessPoint& in, mapem_ts_IntersectionAccessPoint_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionAccessPoint_t)); + + switch (in.choice) { + case mapem_ts_msgs::IntersectionAccessPoint::CHOICE_LANE: + toStruct_LaneID(in.lane, out.choice.lane); + out.present = mapem_ts_IntersectionAccessPoint_PR::mapem_ts_IntersectionAccessPoint_PR_lane; + break; + case mapem_ts_msgs::IntersectionAccessPoint::CHOICE_APPROACH: + toStruct_ApproachID(in.approach, out.choice.approach); + out.present = mapem_ts_IntersectionAccessPoint_PR::mapem_ts_IntersectionAccessPoint_PR_approach; + break; + case mapem_ts_msgs::IntersectionAccessPoint::CHOICE_CONNECTION: + toStruct_LaneConnectionID(in.connection, out.choice.connection); + out.present = mapem_ts_IntersectionAccessPoint_PR::mapem_ts_IntersectionAccessPoint_PR_connection; + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometry.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometry.h new file mode 100644 index 000000000..0f67e8ed4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometry.h @@ -0,0 +1,108 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionGeometry(const mapem_ts_IntersectionGeometry_t& in, mapem_ts_msgs::IntersectionGeometry& out) { + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + toRos_IntersectionReferenceID(in.id, out.id); + toRos_MsgCount(in.revision, out.revision); + toRos_Position3D(in.refPoint, out.ref_point); + if (in.laneWidth) { + toRos_LaneWidth(*in.laneWidth, out.lane_width); + out.lane_width_is_present = true; + } + if (in.speedLimits) { + toRos_SpeedLimitList(*in.speedLimits, out.speed_limits); + out.speed_limits_is_present = true; + } + toRos_LaneList(in.laneSet, out.lane_set); + if (in.preemptPriorityData) { + toRos_PreemptPriorityList(*in.preemptPriorityData, out.preempt_priority_data); + out.preempt_priority_data_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_IntersectionGeometry(const mapem_ts_msgs::IntersectionGeometry& in, mapem_ts_IntersectionGeometry_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionGeometry_t)); + + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + toStruct_IntersectionReferenceID(in.id, out.id); + toStruct_MsgCount(in.revision, out.revision); + toStruct_Position3D(in.ref_point, out.refPoint); + if (in.lane_width_is_present) { + out.laneWidth = (mapem_ts_LaneWidth_t*) calloc(1, sizeof(mapem_ts_LaneWidth_t)); + toStruct_LaneWidth(in.lane_width, *out.laneWidth); + } + if (in.speed_limits_is_present) { + out.speedLimits = (mapem_ts_SpeedLimitList_t*) calloc(1, sizeof(mapem_ts_SpeedLimitList_t)); + toStruct_SpeedLimitList(in.speed_limits, *out.speedLimits); + } + toStruct_LaneList(in.lane_set, out.laneSet); + if (in.preempt_priority_data_is_present) { + out.preemptPriorityData = (mapem_ts_PreemptPriorityList_t*) calloc(1, sizeof(mapem_ts_PreemptPriorityList_t)); + toStruct_PreemptPriorityList(in.preempt_priority_data, *out.preemptPriorityData); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometryList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometryList.h new file mode 100644 index 000000000..121712843 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionGeometryList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionGeometryList(const mapem_ts_IntersectionGeometryList_t& in, mapem_ts_msgs::IntersectionGeometryList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::IntersectionGeometry el; + toRos_IntersectionGeometry(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_IntersectionGeometryList(const mapem_ts_msgs::IntersectionGeometryList& in, mapem_ts_IntersectionGeometryList_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionGeometryList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_IntersectionGeometry_t* el = (mapem_ts_IntersectionGeometry_t*) calloc(1, sizeof(mapem_ts_IntersectionGeometry_t)); + toStruct_IntersectionGeometry(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionID.h new file mode 100644 index 000000000..a5c38059c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionID(const mapem_ts_IntersectionID_t& in, mapem_ts_msgs::IntersectionID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_IntersectionID(const mapem_ts_msgs::IntersectionID& in, mapem_ts_IntersectionID_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionReferenceID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionReferenceID.h new file mode 100644 index 000000000..aa016597a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionReferenceID.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionReferenceID(const mapem_ts_IntersectionReferenceID_t& in, mapem_ts_msgs::IntersectionReferenceID& out) { + if (in.region) { + toRos_RoadRegulatorID(*in.region, out.region); + out.region_is_present = true; + } + toRos_IntersectionID(in.id, out.id); +} + +void toStruct_IntersectionReferenceID(const mapem_ts_msgs::IntersectionReferenceID& in, mapem_ts_IntersectionReferenceID_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionReferenceID_t)); + + if (in.region_is_present) { + out.region = (mapem_ts_RoadRegulatorID_t*) calloc(1, sizeof(mapem_ts_RoadRegulatorID_t)); + toStruct_RoadRegulatorID(in.region, *out.region); + } + toStruct_IntersectionID(in.id, out.id); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionState.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionState.h new file mode 100644 index 000000000..4f695beb3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionState.h @@ -0,0 +1,117 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionState(const mapem_ts_IntersectionState_t& in, mapem_ts_msgs::IntersectionState& out) { + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + toRos_IntersectionReferenceID(in.id, out.id); + toRos_MsgCount(in.revision, out.revision); + toRos_IntersectionStatusObject(in.status, out.status); + if (in.moy) { + toRos_MinuteOfTheYear(*in.moy, out.moy); + out.moy_is_present = true; + } + if (in.timeStamp) { + toRos_DSecond(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + if (in.enabledLanes) { + toRos_EnabledLaneList(*in.enabledLanes, out.enabled_lanes); + out.enabled_lanes_is_present = true; + } + toRos_MovementList(in.states, out.states); + if (in.maneuverAssistList) { + toRos_ManeuverAssistList(*in.maneuverAssistList, out.maneuver_assist_list); + out.maneuver_assist_list_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_IntersectionState(const mapem_ts_msgs::IntersectionState& in, mapem_ts_IntersectionState_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionState_t)); + + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + toStruct_IntersectionReferenceID(in.id, out.id); + toStruct_MsgCount(in.revision, out.revision); + toStruct_IntersectionStatusObject(in.status, out.status); + if (in.moy_is_present) { + out.moy = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.moy, *out.moy); + } + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.time_stamp, *out.timeStamp); + } + if (in.enabled_lanes_is_present) { + out.enabledLanes = (mapem_ts_EnabledLaneList_t*) calloc(1, sizeof(mapem_ts_EnabledLaneList_t)); + toStruct_EnabledLaneList(in.enabled_lanes, *out.enabledLanes); + } + toStruct_MovementList(in.states, out.states); + if (in.maneuver_assist_list_is_present) { + out.maneuverAssistList = (mapem_ts_ManeuverAssistList_t*) calloc(1, sizeof(mapem_ts_ManeuverAssistList_t)); + toStruct_ManeuverAssistList(in.maneuver_assist_list, *out.maneuverAssistList); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateList.h new file mode 100644 index 000000000..d780a4eb1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionStateList(const mapem_ts_IntersectionStateList_t& in, mapem_ts_msgs::IntersectionStateList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::IntersectionState el; + toRos_IntersectionState(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_IntersectionStateList(const mapem_ts_msgs::IntersectionStateList& in, mapem_ts_IntersectionStateList_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionStateList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_IntersectionState_t* el = (mapem_ts_IntersectionState_t*) calloc(1, sizeof(mapem_ts_IntersectionState_t)); + toStruct_IntersectionState(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateaddGrpC.h new file mode 100644 index 000000000..04df96066 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStateaddGrpC.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionStateaddGrpC(const mapem_ts_IntersectionState_addGrpC_t& in, mapem_ts_msgs::IntersectionStateaddGrpC& out) { + if (in.activePrioritizations) { + toRos_PrioritizationResponseList(*in.activePrioritizations, out.active_prioritizations); + out.active_prioritizations_is_present = true; + } +} + +void toStruct_IntersectionStateaddGrpC(const mapem_ts_msgs::IntersectionStateaddGrpC& in, mapem_ts_IntersectionState_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionState_addGrpC_t)); + + if (in.active_prioritizations_is_present) { + out.activePrioritizations = (mapem_ts_PrioritizationResponseList_t*) calloc(1, sizeof(mapem_ts_PrioritizationResponseList_t)); + toStruct_PrioritizationResponseList(in.active_prioritizations, *out.activePrioritizations); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStatusObject.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStatusObject.h new file mode 100644 index 000000000..9e3baff64 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIntersectionStatusObject.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IntersectionStatusObject(const mapem_ts_IntersectionStatusObject_t& in, mapem_ts_msgs::IntersectionStatusObject& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_IntersectionStatusObject(const mapem_ts_msgs::IntersectionStatusObject& in, mapem_ts_IntersectionStatusObject_t& out) { + memset(&out, 0, sizeof(mapem_ts_IntersectionStatusObject_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIso3833VehicleType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIso3833VehicleType.h new file mode 100644 index 000000000..5d4b2d06d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIso3833VehicleType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Iso3833VehicleType(const mapem_ts_Iso3833VehicleType_t& in, mapem_ts_msgs::Iso3833VehicleType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Iso3833VehicleType(const mapem_ts_msgs::Iso3833VehicleType& in, mapem_ts_Iso3833VehicleType_t& out) { + memset(&out, 0, sizeof(mapem_ts_Iso3833VehicleType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIssuerIdentifier.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIssuerIdentifier.h new file mode 100644 index 000000000..1f9e7d0c5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertIssuerIdentifier.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_IssuerIdentifier(const mapem_ts_IssuerIdentifier_t& in, mapem_ts_msgs::IssuerIdentifier& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_IssuerIdentifier(const mapem_ts_msgs::IssuerIdentifier& in, mapem_ts_IssuerIdentifier_t& out) { + memset(&out, 0, sizeof(mapem_ts_IssuerIdentifier_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItineraryPath.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItineraryPath.h new file mode 100644 index 000000000..5b1d7d741 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItineraryPath.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ItineraryPath(const mapem_ts_ItineraryPath_t& in, mapem_ts_msgs::ItineraryPath& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::ReferencePosition el; + toRos_ReferencePosition(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_ItineraryPath(const mapem_ts_msgs::ItineraryPath& in, mapem_ts_ItineraryPath_t& out) { + memset(&out, 0, sizeof(mapem_ts_ItineraryPath_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_ReferencePosition_t* el = (mapem_ts_ReferencePosition_t*) calloc(1, sizeof(mapem_ts_ReferencePosition_t)); + toStruct_ReferencePosition(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsPduHeader.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsPduHeader.h new file mode 100644 index 000000000..b412feb4b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsPduHeader.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ItsPduHeader(const mapem_ts_ItsPduHeader_t& in, mapem_ts_msgs::ItsPduHeader& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in.protocolVersion, out.protocol_version); + etsi_its_primitives_conversion::toRos_INTEGER(in.messageID, out.message_id); + toRos_StationID(in.stationID, out.station_id); +} + +void toStruct_ItsPduHeader(const mapem_ts_msgs::ItsPduHeader& in, mapem_ts_ItsPduHeader_t& out) { + memset(&out, 0, sizeof(mapem_ts_ItsPduHeader_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.protocol_version, out.protocolVersion); + etsi_its_primitives_conversion::toStruct_INTEGER(in.message_id, out.messageID); + toStruct_StationID(in.station_id, out.stationID); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPosition.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPosition.h new file mode 100644 index 000000000..bf4d9c96f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPosition.h @@ -0,0 +1,80 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ItsStationPosition(const mapem_ts_ItsStationPosition_t& in, mapem_ts_msgs::ItsStationPosition& out) { + toRos_StationID(in.stationID, out.station_id); + if (in.laneID) { + toRos_LaneID(*in.laneID, out.lane_id); + out.lane_id_is_present = true; + } + if (in.nodeXY) { + toRos_NodeOffsetPointXY(*in.nodeXY, out.node_xy); + out.node_xy_is_present = true; + } + if (in.timeReference) { + toRos_TimeReference(*in.timeReference, out.time_reference); + out.time_reference_is_present = true; + } +} + +void toStruct_ItsStationPosition(const mapem_ts_msgs::ItsStationPosition& in, mapem_ts_ItsStationPosition_t& out) { + memset(&out, 0, sizeof(mapem_ts_ItsStationPosition_t)); + + toStruct_StationID(in.station_id, out.stationID); + if (in.lane_id_is_present) { + out.laneID = (mapem_ts_LaneID_t*) calloc(1, sizeof(mapem_ts_LaneID_t)); + toStruct_LaneID(in.lane_id, *out.laneID); + } + if (in.node_xy_is_present) { + out.nodeXY = (mapem_ts_NodeOffsetPointXY_t*) calloc(1, sizeof(mapem_ts_NodeOffsetPointXY_t)); + toStruct_NodeOffsetPointXY(in.node_xy, *out.nodeXY); + } + if (in.time_reference_is_present) { + out.timeReference = (mapem_ts_TimeReference_t*) calloc(1, sizeof(mapem_ts_TimeReference_t)); + toStruct_TimeReference(in.time_reference, *out.timeReference); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPositionList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPositionList.h new file mode 100644 index 000000000..4c1788803 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertItsStationPositionList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ItsStationPositionList(const mapem_ts_ItsStationPositionList_t& in, mapem_ts_msgs::ItsStationPositionList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::ItsStationPosition el; + toRos_ItsStationPosition(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_ItsStationPositionList(const mapem_ts_msgs::ItsStationPositionList& in, mapem_ts_ItsStationPositionList_t& out) { + memset(&out, 0, sizeof(mapem_ts_ItsStationPositionList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_ItsStationPosition_t* el = (mapem_ts_ItsStationPosition_t*) calloc(1, sizeof(mapem_ts_ItsStationPosition_t)); + toStruct_ItsStationPosition(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributes.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributes.h new file mode 100644 index 000000000..b5bf39379 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributes.h @@ -0,0 +1,69 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributes(const mapem_ts_LaneAttributes_t& in, mapem_ts_msgs::LaneAttributes& out) { + toRos_LaneDirection(in.directionalUse, out.directional_use); + toRos_LaneSharing(in.sharedWith, out.shared_with); + toRos_LaneTypeAttributes(in.laneType, out.lane_type); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional(*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_LaneAttributes(const mapem_ts_msgs::LaneAttributes& in, mapem_ts_LaneAttributes_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_t)); + + toStruct_LaneDirection(in.directional_use, out.directionalUse); + toStruct_LaneSharing(in.shared_with, out.sharedWith); + toStruct_LaneTypeAttributes(in.lane_type, out.laneType); + if (in.regional_is_present) { + out.regional = (regional_t*) calloc(1, sizeof(regional_t)); + etsi_its_primitives_conversion::toStruct_regional(in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBarrier.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBarrier.h new file mode 100644 index 000000000..c4e2ca328 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBarrier.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesBarrier(const mapem_ts_LaneAttributes_Barrier_t& in, mapem_ts_msgs::LaneAttributesBarrier& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesBarrier(const mapem_ts_msgs::LaneAttributesBarrier& in, mapem_ts_LaneAttributes_Barrier_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Barrier_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBike.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBike.h new file mode 100644 index 000000000..4438ce5f7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesBike.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesBike(const mapem_ts_LaneAttributes_Bike_t& in, mapem_ts_msgs::LaneAttributesBike& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesBike(const mapem_ts_msgs::LaneAttributesBike& in, mapem_ts_LaneAttributes_Bike_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Bike_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesCrosswalk.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesCrosswalk.h new file mode 100644 index 000000000..ac2947c5c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesCrosswalk.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesCrosswalk(const mapem_ts_LaneAttributes_Crosswalk_t& in, mapem_ts_msgs::LaneAttributesCrosswalk& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesCrosswalk(const mapem_ts_msgs::LaneAttributesCrosswalk& in, mapem_ts_LaneAttributes_Crosswalk_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Crosswalk_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesParking.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesParking.h new file mode 100644 index 000000000..b2a974992 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesParking.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesParking(const mapem_ts_LaneAttributes_Parking_t& in, mapem_ts_msgs::LaneAttributesParking& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesParking(const mapem_ts_msgs::LaneAttributesParking& in, mapem_ts_LaneAttributes_Parking_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Parking_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesSidewalk.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesSidewalk.h new file mode 100644 index 000000000..2cd4b7520 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesSidewalk.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesSidewalk(const mapem_ts_LaneAttributes_Sidewalk_t& in, mapem_ts_msgs::LaneAttributesSidewalk& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesSidewalk(const mapem_ts_msgs::LaneAttributesSidewalk& in, mapem_ts_LaneAttributes_Sidewalk_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Sidewalk_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesStriping.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesStriping.h new file mode 100644 index 000000000..31e64b425 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesStriping.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesStriping(const mapem_ts_LaneAttributes_Striping_t& in, mapem_ts_msgs::LaneAttributesStriping& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesStriping(const mapem_ts_msgs::LaneAttributesStriping& in, mapem_ts_LaneAttributes_Striping_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Striping_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesTrackedVehicle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesTrackedVehicle.h new file mode 100644 index 000000000..ba39fc1f1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesTrackedVehicle.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesTrackedVehicle(const mapem_ts_LaneAttributes_TrackedVehicle_t& in, mapem_ts_msgs::LaneAttributesTrackedVehicle& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesTrackedVehicle(const mapem_ts_msgs::LaneAttributesTrackedVehicle& in, mapem_ts_LaneAttributes_TrackedVehicle_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_TrackedVehicle_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesVehicle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesVehicle.h new file mode 100644 index 000000000..5b7cd878a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesVehicle.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesVehicle(const mapem_ts_LaneAttributes_Vehicle_t& in, mapem_ts_msgs::LaneAttributesVehicle& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneAttributesVehicle(const mapem_ts_msgs::LaneAttributesVehicle& in, mapem_ts_LaneAttributes_Vehicle_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_Vehicle_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesaddGrpC.h new file mode 100644 index 000000000..e9d1d5ac0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneAttributesaddGrpC.h @@ -0,0 +1,68 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneAttributesaddGrpC(const mapem_ts_LaneAttributes_addGrpC_t& in, mapem_ts_msgs::LaneAttributesaddGrpC& out) { + if (in.maxVehicleHeight) { + toRos_VehicleHeight(*in.maxVehicleHeight, out.max_vehicle_height); + out.max_vehicle_height_is_present = true; + } + if (in.maxVehicleWeight) { + toRos_VehicleMass(*in.maxVehicleWeight, out.max_vehicle_weight); + out.max_vehicle_weight_is_present = true; + } +} + +void toStruct_LaneAttributesaddGrpC(const mapem_ts_msgs::LaneAttributesaddGrpC& in, mapem_ts_LaneAttributes_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneAttributes_addGrpC_t)); + + if (in.max_vehicle_height_is_present) { + out.maxVehicleHeight = (mapem_ts_VehicleHeight_t*) calloc(1, sizeof(mapem_ts_VehicleHeight_t)); + toStruct_VehicleHeight(in.max_vehicle_height, *out.maxVehicleHeight); + } + if (in.max_vehicle_weight_is_present) { + out.maxVehicleWeight = (mapem_ts_VehicleMass_t*) calloc(1, sizeof(mapem_ts_VehicleMass_t)); + toStruct_VehicleMass(in.max_vehicle_weight, *out.maxVehicleWeight); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneConnectionID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneConnectionID.h new file mode 100644 index 000000000..97436636d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneConnectionID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneConnectionID(const mapem_ts_LaneConnectionID_t& in, mapem_ts_msgs::LaneConnectionID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LaneConnectionID(const mapem_ts_msgs::LaneConnectionID& in, mapem_ts_LaneConnectionID_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneConnectionID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttribute.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttribute.h new file mode 100644 index 000000000..ade37f621 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttribute.h @@ -0,0 +1,114 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneDataAttribute(const mapem_ts_LaneDataAttribute_t& in, mapem_ts_msgs::LaneDataAttribute& out) { + switch (in.present) { + case mapem_ts_LaneDataAttribute_PR_pathEndPointAngle: + toRos_DeltaAngle(in.choice.pathEndPointAngle, out.path_end_point_angle); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_PATH_END_POINT_ANGLE; + break; + case mapem_ts_LaneDataAttribute_PR_laneCrownPointCenter: + toRos_RoadwayCrownAngle(in.choice.laneCrownPointCenter, out.lane_crown_point_center); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_CENTER; + break; + case mapem_ts_LaneDataAttribute_PR_laneCrownPointLeft: + toRos_RoadwayCrownAngle(in.choice.laneCrownPointLeft, out.lane_crown_point_left); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_LEFT; + break; + case mapem_ts_LaneDataAttribute_PR_laneCrownPointRight: + toRos_RoadwayCrownAngle(in.choice.laneCrownPointRight, out.lane_crown_point_right); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_RIGHT; + break; + case mapem_ts_LaneDataAttribute_PR_laneAngle: + toRos_MergeDivergeNodeAngle(in.choice.laneAngle, out.lane_angle); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_ANGLE; + break; + case mapem_ts_LaneDataAttribute_PR_speedLimits: + toRos_SpeedLimitList(in.choice.speedLimits, out.speed_limits); + out.choice = mapem_ts_msgs::LaneDataAttribute::CHOICE_SPEED_LIMITS; + break; +etsi_its_primitives_conversion::toRos_regional[](in, out.value); + break; + default: break; + } +} + +void toStruct_LaneDataAttribute(const mapem_ts_msgs::LaneDataAttribute& in, mapem_ts_LaneDataAttribute_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneDataAttribute_t)); + + switch (in.choice) { + case mapem_ts_msgs::LaneDataAttribute::CHOICE_PATH_END_POINT_ANGLE: + toStruct_DeltaAngle(in.path_end_point_angle, out.choice.pathEndPointAngle); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_pathEndPointAngle; + break; + case mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_CENTER: + toStruct_RoadwayCrownAngle(in.lane_crown_point_center, out.choice.laneCrownPointCenter); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_laneCrownPointCenter; + break; + case mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_LEFT: + toStruct_RoadwayCrownAngle(in.lane_crown_point_left, out.choice.laneCrownPointLeft); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_laneCrownPointLeft; + break; + case mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_CROWN_POINT_RIGHT: + toStruct_RoadwayCrownAngle(in.lane_crown_point_right, out.choice.laneCrownPointRight); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_laneCrownPointRight; + break; + case mapem_ts_msgs::LaneDataAttribute::CHOICE_LANE_ANGLE: + toStruct_MergeDivergeNodeAngle(in.lane_angle, out.choice.laneAngle); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_laneAngle; + break; + case mapem_ts_msgs::LaneDataAttribute::CHOICE_SPEED_LIMITS: + toStruct_SpeedLimitList(in.speed_limits, out.choice.speedLimits); + out.present = mapem_ts_LaneDataAttribute_PR::mapem_ts_LaneDataAttribute_PR_speedLimits; + break; +etsi_its_primitives_conversion::toStruct_regional[](in, out.value); + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttributeList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttributeList.h new file mode 100644 index 000000000..2f78e0bac --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDataAttributeList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneDataAttributeList(const mapem_ts_LaneDataAttributeList_t& in, mapem_ts_msgs::LaneDataAttributeList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::LaneDataAttribute el; + toRos_LaneDataAttribute(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_LaneDataAttributeList(const mapem_ts_msgs::LaneDataAttributeList& in, mapem_ts_LaneDataAttributeList_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneDataAttributeList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_LaneDataAttribute_t* el = (mapem_ts_LaneDataAttribute_t*) calloc(1, sizeof(mapem_ts_LaneDataAttribute_t)); + toStruct_LaneDataAttribute(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDirection.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDirection.h new file mode 100644 index 000000000..cc9a719c4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneDirection.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneDirection(const mapem_ts_LaneDirection_t& in, mapem_ts_msgs::LaneDirection& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneDirection(const mapem_ts_msgs::LaneDirection& in, mapem_ts_LaneDirection_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneDirection_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneID.h new file mode 100644 index 000000000..f247e8b16 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneID(const mapem_ts_LaneID_t& in, mapem_ts_msgs::LaneID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LaneID(const mapem_ts_msgs::LaneID& in, mapem_ts_LaneID_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneList.h new file mode 100644 index 000000000..43ff5879e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneList(const mapem_ts_LaneList_t& in, mapem_ts_msgs::LaneList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::GenericLane el; + toRos_GenericLane(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_LaneList(const mapem_ts_msgs::LaneList& in, mapem_ts_LaneList_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_GenericLane_t* el = (mapem_ts_GenericLane_t*) calloc(1, sizeof(mapem_ts_GenericLane_t)); + toStruct_GenericLane(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLanePosition.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLanePosition.h new file mode 100644 index 000000000..acd2e1929 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLanePosition.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LanePosition(const mapem_ts_LanePosition_t& in, mapem_ts_msgs::LanePosition& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LanePosition(const mapem_ts_msgs::LanePosition& in, mapem_ts_LanePosition_t& out) { + memset(&out, 0, sizeof(mapem_ts_LanePosition_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneSharing.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneSharing.h new file mode 100644 index 000000000..7e5b23161 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneSharing.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneSharing(const mapem_ts_LaneSharing_t& in, mapem_ts_msgs::LaneSharing& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LaneSharing(const mapem_ts_msgs::LaneSharing& in, mapem_ts_LaneSharing_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneSharing_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneTypeAttributes.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneTypeAttributes.h new file mode 100644 index 000000000..3c29aefb7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneTypeAttributes.h @@ -0,0 +1,128 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneTypeAttributes(const mapem_ts_LaneTypeAttributes_t& in, mapem_ts_msgs::LaneTypeAttributes& out) { + switch (in.present) { + case mapem_ts_LaneTypeAttributes_PR_vehicle: + toRos_LaneAttributesVehicle(in.choice.vehicle, out.vehicle); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_VEHICLE; + break; + case mapem_ts_LaneTypeAttributes_PR_crosswalk: + toRos_LaneAttributesCrosswalk(in.choice.crosswalk, out.crosswalk); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_CROSSWALK; + break; + case mapem_ts_LaneTypeAttributes_PR_bikeLane: + toRos_LaneAttributesBike(in.choice.bikeLane, out.bike_lane); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_BIKE_LANE; + break; + case mapem_ts_LaneTypeAttributes_PR_sidewalk: + toRos_LaneAttributesSidewalk(in.choice.sidewalk, out.sidewalk); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_SIDEWALK; + break; + case mapem_ts_LaneTypeAttributes_PR_median: + toRos_LaneAttributesBarrier(in.choice.median, out.median); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_MEDIAN; + break; + case mapem_ts_LaneTypeAttributes_PR_striping: + toRos_LaneAttributesStriping(in.choice.striping, out.striping); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_STRIPING; + break; + case mapem_ts_LaneTypeAttributes_PR_trackedVehicle: + toRos_LaneAttributesTrackedVehicle(in.choice.trackedVehicle, out.tracked_vehicle); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_TRACKED_VEHICLE; + break; + case mapem_ts_LaneTypeAttributes_PR_parking: + toRos_LaneAttributesParking(in.choice.parking, out.parking); + out.choice = mapem_ts_msgs::LaneTypeAttributes::CHOICE_PARKING; + break; + default: break; + } +} + +void toStruct_LaneTypeAttributes(const mapem_ts_msgs::LaneTypeAttributes& in, mapem_ts_LaneTypeAttributes_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneTypeAttributes_t)); + + switch (in.choice) { + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_VEHICLE: + toStruct_LaneAttributesVehicle(in.vehicle, out.choice.vehicle); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_vehicle; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_CROSSWALK: + toStruct_LaneAttributesCrosswalk(in.crosswalk, out.choice.crosswalk); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_crosswalk; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_BIKE_LANE: + toStruct_LaneAttributesBike(in.bike_lane, out.choice.bikeLane); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_bikeLane; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_SIDEWALK: + toStruct_LaneAttributesSidewalk(in.sidewalk, out.choice.sidewalk); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_sidewalk; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_MEDIAN: + toStruct_LaneAttributesBarrier(in.median, out.choice.median); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_median; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_STRIPING: + toStruct_LaneAttributesStriping(in.striping, out.choice.striping); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_striping; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_TRACKED_VEHICLE: + toStruct_LaneAttributesTrackedVehicle(in.tracked_vehicle, out.choice.trackedVehicle); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_trackedVehicle; + break; + case mapem_ts_msgs::LaneTypeAttributes::CHOICE_PARKING: + toStruct_LaneAttributesParking(in.parking, out.choice.parking); + out.present = mapem_ts_LaneTypeAttributes_PR::mapem_ts_LaneTypeAttributes_PR_parking; + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneWidth.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneWidth.h new file mode 100644 index 000000000..d89b723fb --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLaneWidth.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LaneWidth(const mapem_ts_LaneWidth_t& in, mapem_ts_msgs::LaneWidth& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LaneWidth(const mapem_ts_msgs::LaneWidth& in, mapem_ts_LaneWidth_t& out) { + memset(&out, 0, sizeof(mapem_ts_LaneWidth_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAcceleration.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAcceleration.h new file mode 100644 index 000000000..7548fef15 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAcceleration.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LateralAcceleration(const mapem_ts_LateralAcceleration_t& in, mapem_ts_msgs::LateralAcceleration& out) { + toRos_LateralAccelerationValue(in.lateralAccelerationValue, out.lateral_acceleration_value); + toRos_AccelerationConfidence(in.lateralAccelerationConfidence, out.lateral_acceleration_confidence); +} + +void toStruct_LateralAcceleration(const mapem_ts_msgs::LateralAcceleration& in, mapem_ts_LateralAcceleration_t& out) { + memset(&out, 0, sizeof(mapem_ts_LateralAcceleration_t)); + + toStruct_LateralAccelerationValue(in.lateral_acceleration_value, out.lateralAccelerationValue); + toStruct_AccelerationConfidence(in.lateral_acceleration_confidence, out.lateralAccelerationConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAccelerationValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAccelerationValue.h new file mode 100644 index 000000000..18ecf0a00 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLateralAccelerationValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LateralAccelerationValue(const mapem_ts_LateralAccelerationValue_t& in, mapem_ts_msgs::LateralAccelerationValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LateralAccelerationValue(const mapem_ts_msgs::LateralAccelerationValue& in, mapem_ts_LateralAccelerationValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_LateralAccelerationValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLatitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLatitude.h new file mode 100644 index 000000000..9f60a4f82 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLatitude.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Latitude(const mapem_ts_Latitude_t& in, mapem_ts_msgs::Latitude& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Latitude(const mapem_ts_msgs::Latitude& in, mapem_ts_Latitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_Latitude_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerID.h new file mode 100644 index 000000000..af086faac --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LayerID(const mapem_ts_LayerID_t& in, mapem_ts_msgs::LayerID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LayerID(const mapem_ts_msgs::LayerID& in, mapem_ts_LayerID_t& out) { + memset(&out, 0, sizeof(mapem_ts_LayerID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerType.h new file mode 100644 index 000000000..a81081c9c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLayerType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LayerType(const mapem_ts_LayerType_t& in, mapem_ts_msgs::LayerType& out) { + out.value = in; +} + +void toStruct_LayerType(const mapem_ts_msgs::LayerType& in, mapem_ts_LayerType_t& out) { + memset(&out, 0, sizeof(mapem_ts_LayerType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLicPlateNumber.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLicPlateNumber.h new file mode 100644 index 000000000..b4a62147a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLicPlateNumber.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LicPlateNumber(const mapem_ts_LicPlateNumber_t& in, mapem_ts_msgs::LicPlateNumber& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_LicPlateNumber(const mapem_ts_msgs::LicPlateNumber& in, mapem_ts_LicPlateNumber_t& out) { + memset(&out, 0, sizeof(mapem_ts_LicPlateNumber_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLightBarSirenInUse.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLightBarSirenInUse.h new file mode 100644 index 000000000..49d7b70b3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLightBarSirenInUse.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LightBarSirenInUse(const mapem_ts_LightBarSirenInUse_t& in, mapem_ts_msgs::LightBarSirenInUse& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_LightBarSirenInUse(const mapem_ts_msgs::LightBarSirenInUse& in, mapem_ts_LightBarSirenInUse_t& out) { + memset(&out, 0, sizeof(mapem_ts_LightBarSirenInUse_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitude.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitude.h new file mode 100644 index 000000000..eee30d385 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitude.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Longitude(const mapem_ts_Longitude_t& in, mapem_ts_msgs::Longitude& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Longitude(const mapem_ts_msgs::Longitude& in, mapem_ts_Longitude_t& out) { + memset(&out, 0, sizeof(mapem_ts_Longitude_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAcceleration.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAcceleration.h new file mode 100644 index 000000000..fa8731f99 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAcceleration.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LongitudinalAcceleration(const mapem_ts_LongitudinalAcceleration_t& in, mapem_ts_msgs::LongitudinalAcceleration& out) { + toRos_LongitudinalAccelerationValue(in.longitudinalAccelerationValue, out.longitudinal_acceleration_value); + toRos_AccelerationConfidence(in.longitudinalAccelerationConfidence, out.longitudinal_acceleration_confidence); +} + +void toStruct_LongitudinalAcceleration(const mapem_ts_msgs::LongitudinalAcceleration& in, mapem_ts_LongitudinalAcceleration_t& out) { + memset(&out, 0, sizeof(mapem_ts_LongitudinalAcceleration_t)); + + toStruct_LongitudinalAccelerationValue(in.longitudinal_acceleration_value, out.longitudinalAccelerationValue); + toStruct_AccelerationConfidence(in.longitudinal_acceleration_confidence, out.longitudinalAccelerationConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAccelerationValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAccelerationValue.h new file mode 100644 index 000000000..7d0a1c584 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertLongitudinalAccelerationValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_LongitudinalAccelerationValue(const mapem_ts_LongitudinalAccelerationValue_t& in, mapem_ts_msgs::LongitudinalAccelerationValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_LongitudinalAccelerationValue(const mapem_ts_msgs::LongitudinalAccelerationValue& in, mapem_ts_LongitudinalAccelerationValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_LongitudinalAccelerationValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMAPEM.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMAPEM.h new file mode 100644 index 000000000..f8f3eca74 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMAPEM.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MAPEM(const mapem_ts_MAPEM_t& in, mapem_ts_msgs::MAPEM& out) { + toRos_ItsPduHeader(in.header, out.header); + toRos_MapData(in.map, out.map); +} + +void toStruct_MAPEM(const mapem_ts_msgs::MAPEM& in, mapem_ts_MAPEM_t& out) { + memset(&out, 0, sizeof(mapem_ts_MAPEM_t)); + + toStruct_ItsPduHeader(in.header, out.header); + toStruct_MapData(in.map, out.map); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManeuverAssistList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManeuverAssistList.h new file mode 100644 index 000000000..a690db223 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManeuverAssistList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ManeuverAssistList(const mapem_ts_ManeuverAssistList_t& in, mapem_ts_msgs::ManeuverAssistList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::ConnectionManeuverAssist el; + toRos_ConnectionManeuverAssist(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_ManeuverAssistList(const mapem_ts_msgs::ManeuverAssistList& in, mapem_ts_ManeuverAssistList_t& out) { + memset(&out, 0, sizeof(mapem_ts_ManeuverAssistList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_ConnectionManeuverAssist_t* el = (mapem_ts_ConnectionManeuverAssist_t*) calloc(1, sizeof(mapem_ts_ConnectionManeuverAssist_t)); + toStruct_ConnectionManeuverAssist(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManufacturerIdentifier.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManufacturerIdentifier.h new file mode 100644 index 000000000..1dd1729f9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertManufacturerIdentifier.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ManufacturerIdentifier(const mapem_ts_ManufacturerIdentifier_t& in, mapem_ts_msgs::ManufacturerIdentifier& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ManufacturerIdentifier(const mapem_ts_msgs::ManufacturerIdentifier& in, mapem_ts_ManufacturerIdentifier_t& out) { + memset(&out, 0, sizeof(mapem_ts_ManufacturerIdentifier_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapData.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapData.h new file mode 100644 index 000000000..50590cb3e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapData.h @@ -0,0 +1,126 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MapData(const mapem_ts_MapData_t& in, mapem_ts_msgs::MapData& out) { + if (in.timeStamp) { + toRos_MinuteOfTheYear(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + toRos_MsgCount(in.msgIssueRevision, out.msg_issue_revision); + if (in.layerType) { + toRos_LayerType(*in.layerType, out.layer_type); + out.layer_type_is_present = true; + } + if (in.layerID) { + toRos_LayerID(*in.layerID, out.layer_id); + out.layer_id_is_present = true; + } + if (in.intersections) { + toRos_IntersectionGeometryList(*in.intersections, out.intersections); + out.intersections_is_present = true; + } + if (in.roadSegments) { + toRos_RoadSegmentList(*in.roadSegments, out.road_segments); + out.road_segments_is_present = true; + } + if (in.dataParameters) { + toRos_DataParameters(*in.dataParameters, out.data_parameters); + out.data_parameters_is_present = true; + } + if (in.restrictionList) { + toRos_RestrictionClassList(*in.restrictionList, out.restriction_list); + out.restriction_list_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_MapData(const mapem_ts_msgs::MapData& in, mapem_ts_MapData_t& out) { + memset(&out, 0, sizeof(mapem_ts_MapData_t)); + + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.time_stamp, *out.timeStamp); + } + toStruct_MsgCount(in.msg_issue_revision, out.msgIssueRevision); + if (in.layer_type_is_present) { + out.layerType = (mapem_ts_LayerType_t*) calloc(1, sizeof(mapem_ts_LayerType_t)); + toStruct_LayerType(in.layer_type, *out.layerType); + } + if (in.layer_id_is_present) { + out.layerID = (mapem_ts_LayerID_t*) calloc(1, sizeof(mapem_ts_LayerID_t)); + toStruct_LayerID(in.layer_id, *out.layerID); + } + if (in.intersections_is_present) { + out.intersections = (mapem_ts_IntersectionGeometryList_t*) calloc(1, sizeof(mapem_ts_IntersectionGeometryList_t)); + toStruct_IntersectionGeometryList(in.intersections, *out.intersections); + } + if (in.road_segments_is_present) { + out.roadSegments = (mapem_ts_RoadSegmentList_t*) calloc(1, sizeof(mapem_ts_RoadSegmentList_t)); + toStruct_RoadSegmentList(in.road_segments, *out.roadSegments); + } + if (in.data_parameters_is_present) { + out.dataParameters = (mapem_ts_DataParameters_t*) calloc(1, sizeof(mapem_ts_DataParameters_t)); + toStruct_DataParameters(in.data_parameters, *out.dataParameters); + } + if (in.restriction_list_is_present) { + out.restrictionList = (mapem_ts_RestrictionClassList_t*) calloc(1, sizeof(mapem_ts_RestrictionClassList_t)); + toStruct_RestrictionClassList(in.restriction_list, *out.restrictionList); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapDataaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapDataaddGrpC.h new file mode 100644 index 000000000..1bfd136f8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMapDataaddGrpC.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MapDataaddGrpC(const mapem_ts_MapData_addGrpC_t& in, mapem_ts_msgs::MapDataaddGrpC& out) { + if (in.signalHeadLocations) { + toRos_SignalHeadLocationList(*in.signalHeadLocations, out.signal_head_locations); + out.signal_head_locations_is_present = true; + } +} + +void toStruct_MapDataaddGrpC(const mapem_ts_msgs::MapDataaddGrpC& in, mapem_ts_MapData_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_MapData_addGrpC_t)); + + if (in.signal_head_locations_is_present) { + out.signalHeadLocations = (mapem_ts_SignalHeadLocationList_t*) calloc(1, sizeof(mapem_ts_SignalHeadLocationList_t)); + toStruct_SignalHeadLocationList(in.signal_head_locations, *out.signalHeadLocations); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMergeDivergeNodeAngle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMergeDivergeNodeAngle.h new file mode 100644 index 000000000..103c35735 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMergeDivergeNodeAngle.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MergeDivergeNodeAngle(const mapem_ts_MergeDivergeNodeAngle_t& in, mapem_ts_msgs::MergeDivergeNodeAngle& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_MergeDivergeNodeAngle(const mapem_ts_msgs::MergeDivergeNodeAngle& in, mapem_ts_MergeDivergeNodeAngle_t& out) { + memset(&out, 0, sizeof(mapem_ts_MergeDivergeNodeAngle_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMinuteOfTheYear.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMinuteOfTheYear.h new file mode 100644 index 000000000..475b0791b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMinuteOfTheYear.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MinuteOfTheYear(const mapem_ts_MinuteOfTheYear_t& in, mapem_ts_msgs::MinuteOfTheYear& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_MinuteOfTheYear(const mapem_ts_msgs::MinuteOfTheYear& in, mapem_ts_MinuteOfTheYear_t& out) { + memset(&out, 0, sizeof(mapem_ts_MinuteOfTheYear_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEvent.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEvent.h new file mode 100644 index 000000000..190fb2941 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEvent.h @@ -0,0 +1,81 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementEvent(const mapem_ts_MovementEvent_t& in, mapem_ts_msgs::MovementEvent& out) { + toRos_MovementPhaseState(in.eventState, out.event_state); + if (in.timing) { + toRos_TimeChangeDetails(*in.timing, out.timing); + out.timing_is_present = true; + } + if (in.speeds) { + toRos_AdvisorySpeedList(*in.speeds, out.speeds); + out.speeds_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_MovementEvent(const mapem_ts_msgs::MovementEvent& in, mapem_ts_MovementEvent_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementEvent_t)); + + toStruct_MovementPhaseState(in.event_state, out.eventState); + if (in.timing_is_present) { + out.timing = (mapem_ts_TimeChangeDetails_t*) calloc(1, sizeof(mapem_ts_TimeChangeDetails_t)); + toStruct_TimeChangeDetails(in.timing, *out.timing); + } + if (in.speeds_is_present) { + out.speeds = (mapem_ts_AdvisorySpeedList_t*) calloc(1, sizeof(mapem_ts_AdvisorySpeedList_t)); + toStruct_AdvisorySpeedList(in.speeds, *out.speeds); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventList.h new file mode 100644 index 000000000..73669eb20 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementEventList(const mapem_ts_MovementEventList_t& in, mapem_ts_msgs::MovementEventList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::MovementEvent el; + toRos_MovementEvent(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_MovementEventList(const mapem_ts_msgs::MovementEventList& in, mapem_ts_MovementEventList_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementEventList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_MovementEvent_t* el = (mapem_ts_MovementEvent_t*) calloc(1, sizeof(mapem_ts_MovementEvent_t)); + toStruct_MovementEvent(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventaddGrpC.h new file mode 100644 index 000000000..721147842 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementEventaddGrpC.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementEventaddGrpC(const mapem_ts_MovementEvent_addGrpC_t& in, mapem_ts_msgs::MovementEventaddGrpC& out) { + if (in.stateChangeReason) { + toRos_ExceptionalCondition(*in.stateChangeReason, out.state_change_reason); + out.state_change_reason_is_present = true; + } +} + +void toStruct_MovementEventaddGrpC(const mapem_ts_msgs::MovementEventaddGrpC& in, mapem_ts_MovementEvent_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementEvent_addGrpC_t)); + + if (in.state_change_reason_is_present) { + out.stateChangeReason = (mapem_ts_ExceptionalCondition_t*) calloc(1, sizeof(mapem_ts_ExceptionalCondition_t)); + toStruct_ExceptionalCondition(in.state_change_reason, *out.stateChangeReason); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementList.h new file mode 100644 index 000000000..d1c463467 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementList(const mapem_ts_MovementList_t& in, mapem_ts_msgs::MovementList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::MovementState el; + toRos_MovementState(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_MovementList(const mapem_ts_msgs::MovementList& in, mapem_ts_MovementList_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_MovementState_t* el = (mapem_ts_MovementState_t*) calloc(1, sizeof(mapem_ts_MovementState_t)); + toStruct_MovementState(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementPhaseState.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementPhaseState.h new file mode 100644 index 000000000..58528c2d3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementPhaseState.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementPhaseState(const mapem_ts_MovementPhaseState_t& in, mapem_ts_msgs::MovementPhaseState& out) { + out.value = in; +} + +void toStruct_MovementPhaseState(const mapem_ts_msgs::MovementPhaseState& in, mapem_ts_MovementPhaseState_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementPhaseState_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementState.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementState.h new file mode 100644 index 000000000..362dbf7ff --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMovementState.h @@ -0,0 +1,84 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MovementState(const mapem_ts_MovementState_t& in, mapem_ts_msgs::MovementState& out) { + if (in.movementName) { + toRos_DescriptiveName(*in.movementName, out.movement_name); + out.movement_name_is_present = true; + } + toRos_SignalGroupID(in.signalGroup, out.signal_group); + toRos_MovementEventList(in.state-time-speed, out.state_time_speed); + if (in.maneuverAssistList) { + toRos_ManeuverAssistList(*in.maneuverAssistList, out.maneuver_assist_list); + out.maneuver_assist_list_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_MovementState(const mapem_ts_msgs::MovementState& in, mapem_ts_MovementState_t& out) { + memset(&out, 0, sizeof(mapem_ts_MovementState_t)); + + if (in.movement_name_is_present) { + out.movementName = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.movement_name, *out.movementName); + } + toStruct_SignalGroupID(in.signal_group, out.signalGroup); + toStruct_MovementEventList(in.state_time_speed, out.state-time-speed); + if (in.maneuver_assist_list_is_present) { + out.maneuverAssistList = (mapem_ts_ManeuverAssistList_t*) calloc(1, sizeof(mapem_ts_ManeuverAssistList_t)); + toStruct_ManeuverAssistList(in.maneuver_assist_list, *out.maneuverAssistList); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMsgCount.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMsgCount.h new file mode 100644 index 000000000..394a19e62 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertMsgCount.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_MsgCount(const mapem_ts_MsgCount_t& in, mapem_ts_msgs::MsgCount& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_MsgCount(const mapem_ts_msgs::MsgCount& in, mapem_ts_MsgCount_t& out) { + memset(&out, 0, sizeof(mapem_ts_MsgCount_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNode.h new file mode 100644 index 000000000..cf9429ab2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNode.h @@ -0,0 +1,81 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Node(const mapem_ts_Node_t& in, mapem_ts_msgs::Node& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in.id, out.id); + if (in.lane) { + toRos_LaneID(*in.lane, out.lane); + out.lane_is_present = true; + } + if (in.connectionID) { + toRos_LaneConnectionID(*in.connectionID, out.connection_id); + out.connection_id_is_present = true; + } + if (in.intersectionID) { + toRos_IntersectionID(*in.intersectionID, out.intersection_id); + out.intersection_id_is_present = true; + } +} + +void toStruct_Node(const mapem_ts_msgs::Node& in, mapem_ts_Node_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.id, out.id); + if (in.lane_is_present) { + out.lane = (mapem_ts_LaneID_t*) calloc(1, sizeof(mapem_ts_LaneID_t)); + toStruct_LaneID(in.lane, *out.lane); + } + if (in.connection_id_is_present) { + out.connectionID = (mapem_ts_LaneConnectionID_t*) calloc(1, sizeof(mapem_ts_LaneConnectionID_t)); + toStruct_LaneConnectionID(in.connection_id, *out.connectionID); + } + if (in.intersection_id_is_present) { + out.intersectionID = (mapem_ts_IntersectionID_t*) calloc(1, sizeof(mapem_ts_IntersectionID_t)); + toStruct_IntersectionID(in.intersection_id, *out.intersectionID); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetXY.h new file mode 100644 index 000000000..1a5c22f78 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetXY.h @@ -0,0 +1,112 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeAttributeSetXY(const mapem_ts_NodeAttributeSetXY_t& in, mapem_ts_msgs::NodeAttributeSetXY& out) { + if (in.localNode) { + toRos_NodeAttributeXYList(*in.localNode, out.local_node); + out.local_node_is_present = true; + } + if (in.disabled) { + toRos_SegmentAttributeXYList(*in.disabled, out.disabled); + out.disabled_is_present = true; + } + if (in.enabled) { + toRos_SegmentAttributeXYList(*in.enabled, out.enabled); + out.enabled_is_present = true; + } + if (in.data) { + toRos_LaneDataAttributeList(*in.data, out.data); + out.data_is_present = true; + } + if (in.dWidth) { + toRos_OffsetB10(*in.dWidth, out.d_width); + out.d_width_is_present = true; + } + if (in.dElevation) { + toRos_OffsetB10(*in.dElevation, out.d_elevation); + out.d_elevation_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_NodeAttributeSetXY(const mapem_ts_msgs::NodeAttributeSetXY& in, mapem_ts_NodeAttributeSetXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeAttributeSetXY_t)); + + if (in.local_node_is_present) { + out.localNode = (mapem_ts_NodeAttributeXYList_t*) calloc(1, sizeof(mapem_ts_NodeAttributeXYList_t)); + toStruct_NodeAttributeXYList(in.local_node, *out.localNode); + } + if (in.disabled_is_present) { + out.disabled = (mapem_ts_SegmentAttributeXYList_t*) calloc(1, sizeof(mapem_ts_SegmentAttributeXYList_t)); + toStruct_SegmentAttributeXYList(in.disabled, *out.disabled); + } + if (in.enabled_is_present) { + out.enabled = (mapem_ts_SegmentAttributeXYList_t*) calloc(1, sizeof(mapem_ts_SegmentAttributeXYList_t)); + toStruct_SegmentAttributeXYList(in.enabled, *out.enabled); + } + if (in.data_is_present) { + out.data = (mapem_ts_LaneDataAttributeList_t*) calloc(1, sizeof(mapem_ts_LaneDataAttributeList_t)); + toStruct_LaneDataAttributeList(in.data, *out.data); + } + if (in.d_width_is_present) { + out.dWidth = (mapem_ts_OffsetB10_t*) calloc(1, sizeof(mapem_ts_OffsetB10_t)); + toStruct_OffsetB10(in.d_width, *out.dWidth); + } + if (in.d_elevation_is_present) { + out.dElevation = (mapem_ts_OffsetB10_t*) calloc(1, sizeof(mapem_ts_OffsetB10_t)); + toStruct_OffsetB10(in.d_elevation, *out.dElevation); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetaddGrpC.h new file mode 100644 index 000000000..9121bf1aa --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeSetaddGrpC.h @@ -0,0 +1,77 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeAttributeSetaddGrpC(const mapem_ts_NodeAttributeSet_addGrpC_t& in, mapem_ts_msgs::NodeAttributeSetaddGrpC& out) { + if (in.ptvRequest) { + toRos_PtvRequestType(*in.ptvRequest, out.ptv_request); + out.ptv_request_is_present = true; + } + if (in.nodeLink) { + toRos_NodeLink(*in.nodeLink, out.node_link); + out.node_link_is_present = true; + } + if (in.node) { + toRos_Node(*in.node, out.node); + out.node_is_present = true; + } +} + +void toStruct_NodeAttributeSetaddGrpC(const mapem_ts_msgs::NodeAttributeSetaddGrpC& in, mapem_ts_NodeAttributeSet_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeAttributeSet_addGrpC_t)); + + if (in.ptv_request_is_present) { + out.ptvRequest = (mapem_ts_PtvRequestType_t*) calloc(1, sizeof(mapem_ts_PtvRequestType_t)); + toStruct_PtvRequestType(in.ptv_request, *out.ptvRequest); + } + if (in.node_link_is_present) { + out.nodeLink = (mapem_ts_NodeLink_t*) calloc(1, sizeof(mapem_ts_NodeLink_t)); + toStruct_NodeLink(in.node_link, *out.nodeLink); + } + if (in.node_is_present) { + out.node = (mapem_ts_Node_t*) calloc(1, sizeof(mapem_ts_Node_t)); + toStruct_Node(in.node, *out.node); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXY.h new file mode 100644 index 000000000..6b7bf610b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXY.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeAttributeXY(const mapem_ts_NodeAttributeXY_t& in, mapem_ts_msgs::NodeAttributeXY& out) { + out.value = in; +} + +void toStruct_NodeAttributeXY(const mapem_ts_msgs::NodeAttributeXY& in, mapem_ts_NodeAttributeXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeAttributeXY_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXYList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXYList.h new file mode 100644 index 000000000..a5be5b8d1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeAttributeXYList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeAttributeXYList(const mapem_ts_NodeAttributeXYList_t& in, mapem_ts_msgs::NodeAttributeXYList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::NodeAttributeXY el; + toRos_NodeAttributeXY(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_NodeAttributeXYList(const mapem_ts_msgs::NodeAttributeXYList& in, mapem_ts_NodeAttributeXYList_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeAttributeXYList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_NodeAttributeXY_t* el = (mapem_ts_NodeAttributeXY_t*) calloc(1, sizeof(mapem_ts_NodeAttributeXY_t)); + toStruct_NodeAttributeXY(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLLmD64b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLLmD64b.h new file mode 100644 index 000000000..0e0886fb5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLLmD64b.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeLLmD64b(const mapem_ts_Node_LLmD_64b_t& in, mapem_ts_msgs::NodeLLmD64b& out) { + toRos_Longitude(in.lon, out.lon); + toRos_Latitude(in.lat, out.lat); +} + +void toStruct_NodeLLmD64b(const mapem_ts_msgs::NodeLLmD64b& in, mapem_ts_Node_LLmD_64b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_LLmD_64b_t)); + + toStruct_Longitude(in.lon, out.lon); + toStruct_Latitude(in.lat, out.lat); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLink.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLink.h new file mode 100644 index 000000000..c870560ec --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeLink.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeLink(const mapem_ts_NodeLink_t& in, mapem_ts_msgs::NodeLink& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::Node el; + toRos_Node(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_NodeLink(const mapem_ts_msgs::NodeLink& in, mapem_ts_NodeLink_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeLink_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_Node_t* el = (mapem_ts_Node_t*) calloc(1, sizeof(mapem_ts_Node_t)); + toStruct_Node(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeListXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeListXY.h new file mode 100644 index 000000000..b0627932e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeListXY.h @@ -0,0 +1,74 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeListXY(const mapem_ts_NodeListXY_t& in, mapem_ts_msgs::NodeListXY& out) { + switch (in.present) { + case mapem_ts_NodeListXY_PR_nodes: + toRos_NodeSetXY(in.choice.nodes, out.nodes); + out.choice = mapem_ts_msgs::NodeListXY::CHOICE_NODES; + break; + case mapem_ts_NodeListXY_PR_computed: + toRos_ComputedLane(in.choice.computed, out.computed); + out.choice = mapem_ts_msgs::NodeListXY::CHOICE_COMPUTED; + break; + default: break; + } +} + +void toStruct_NodeListXY(const mapem_ts_msgs::NodeListXY& in, mapem_ts_NodeListXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeListXY_t)); + + switch (in.choice) { + case mapem_ts_msgs::NodeListXY::CHOICE_NODES: + toStruct_NodeSetXY(in.nodes, out.choice.nodes); + out.present = mapem_ts_NodeListXY_PR::mapem_ts_NodeListXY_PR_nodes; + break; + case mapem_ts_msgs::NodeListXY::CHOICE_COMPUTED: + toStruct_ComputedLane(in.computed, out.choice.computed); + out.present = mapem_ts_NodeListXY_PR::mapem_ts_NodeListXY_PR_computed; + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeOffsetPointXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeOffsetPointXY.h new file mode 100644 index 000000000..f8f4d4c0b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeOffsetPointXY.h @@ -0,0 +1,125 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeOffsetPointXY(const mapem_ts_NodeOffsetPointXY_t& in, mapem_ts_msgs::NodeOffsetPointXY& out) { + switch (in.present) { + case mapem_ts_NodeOffsetPointXY_PR_node_XY1: + toRos_NodeXY20b(in.choice.node_XY1, out.node_xy1); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY1; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_XY2: + toRos_NodeXY22b(in.choice.node_XY2, out.node_xy2); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY2; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_XY3: + toRos_NodeXY24b(in.choice.node_XY3, out.node_xy3); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY3; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_XY4: + toRos_NodeXY26b(in.choice.node_XY4, out.node_xy4); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY4; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_XY5: + toRos_NodeXY28b(in.choice.node_XY5, out.node_xy5); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY5; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_XY6: + toRos_NodeXY32b(in.choice.node_XY6, out.node_xy6); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY6; + break; + case mapem_ts_NodeOffsetPointXY_PR_node_LatLon: + toRos_NodeLLmD64b(in.choice.node_LatLon, out.node_lat_lon); + out.choice = mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_LAT_LON; + break; +etsi_its_primitives_conversion::toRos_regional(in, out.value); + break; + default: break; + } +} + +void toStruct_NodeOffsetPointXY(const mapem_ts_msgs::NodeOffsetPointXY& in, mapem_ts_NodeOffsetPointXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeOffsetPointXY_t)); + + switch (in.choice) { + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY1: + toStruct_NodeXY20b(in.node_xy1, out.choice.node_XY1); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY1; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY2: + toStruct_NodeXY22b(in.node_xy2, out.choice.node_XY2); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY2; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY3: + toStruct_NodeXY24b(in.node_xy3, out.choice.node_XY3); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY3; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY4: + toStruct_NodeXY26b(in.node_xy4, out.choice.node_XY4); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY4; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY5: + toStruct_NodeXY28b(in.node_xy5, out.choice.node_XY5); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY5; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_XY6: + toStruct_NodeXY32b(in.node_xy6, out.choice.node_XY6); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_XY6; + break; + case mapem_ts_msgs::NodeOffsetPointXY::CHOICE_NODE_LAT_LON: + toStruct_NodeLLmD64b(in.node_lat_lon, out.choice.node_LatLon); + out.present = mapem_ts_NodeOffsetPointXY_PR::mapem_ts_NodeOffsetPointXY_PR_node_LatLon; + break; +etsi_its_primitives_conversion::toStruct_regional(in, out.value); + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeSetXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeSetXY.h new file mode 100644 index 000000000..0f68d84f4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeSetXY.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeSetXY(const mapem_ts_NodeSetXY_t& in, mapem_ts_msgs::NodeSetXY& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::NodeXY el; + toRos_NodeXY(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_NodeSetXY(const mapem_ts_msgs::NodeSetXY& in, mapem_ts_NodeSetXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeSetXY_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_NodeXY_t* el = (mapem_ts_NodeXY_t*) calloc(1, sizeof(mapem_ts_NodeXY_t)); + toStruct_NodeXY(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY.h new file mode 100644 index 000000000..0b75f7ea1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY(const mapem_ts_NodeXY_t& in, mapem_ts_msgs::NodeXY& out) { + toRos_NodeOffsetPointXY(in.delta, out.delta); + if (in.attributes) { + toRos_NodeAttributeSetXY(*in.attributes, out.attributes); + out.attributes_is_present = true; + } +} + +void toStruct_NodeXY(const mapem_ts_msgs::NodeXY& in, mapem_ts_NodeXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_NodeXY_t)); + + toStruct_NodeOffsetPointXY(in.delta, out.delta); + if (in.attributes_is_present) { + out.attributes = (mapem_ts_NodeAttributeSetXY_t*) calloc(1, sizeof(mapem_ts_NodeAttributeSetXY_t)); + toStruct_NodeAttributeSetXY(in.attributes, *out.attributes); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY20b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY20b.h new file mode 100644 index 000000000..864bc0ce2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY20b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY20b(const mapem_ts_Node_XY_20b_t& in, mapem_ts_msgs::NodeXY20b& out) { + toRos_OffsetB10(in.x, out.x); + toRos_OffsetB10(in.y, out.y); +} + +void toStruct_NodeXY20b(const mapem_ts_msgs::NodeXY20b& in, mapem_ts_Node_XY_20b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_20b_t)); + + toStruct_OffsetB10(in.x, out.x); + toStruct_OffsetB10(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY22b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY22b.h new file mode 100644 index 000000000..457ccdbd1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY22b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY22b(const mapem_ts_Node_XY_22b_t& in, mapem_ts_msgs::NodeXY22b& out) { + toRos_OffsetB11(in.x, out.x); + toRos_OffsetB11(in.y, out.y); +} + +void toStruct_NodeXY22b(const mapem_ts_msgs::NodeXY22b& in, mapem_ts_Node_XY_22b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_22b_t)); + + toStruct_OffsetB11(in.x, out.x); + toStruct_OffsetB11(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY24b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY24b.h new file mode 100644 index 000000000..c31312ec6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY24b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY24b(const mapem_ts_Node_XY_24b_t& in, mapem_ts_msgs::NodeXY24b& out) { + toRos_OffsetB12(in.x, out.x); + toRos_OffsetB12(in.y, out.y); +} + +void toStruct_NodeXY24b(const mapem_ts_msgs::NodeXY24b& in, mapem_ts_Node_XY_24b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_24b_t)); + + toStruct_OffsetB12(in.x, out.x); + toStruct_OffsetB12(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY26b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY26b.h new file mode 100644 index 000000000..82b66da07 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY26b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY26b(const mapem_ts_Node_XY_26b_t& in, mapem_ts_msgs::NodeXY26b& out) { + toRos_OffsetB13(in.x, out.x); + toRos_OffsetB13(in.y, out.y); +} + +void toStruct_NodeXY26b(const mapem_ts_msgs::NodeXY26b& in, mapem_ts_Node_XY_26b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_26b_t)); + + toStruct_OffsetB13(in.x, out.x); + toStruct_OffsetB13(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY28b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY28b.h new file mode 100644 index 000000000..e99af2097 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY28b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY28b(const mapem_ts_Node_XY_28b_t& in, mapem_ts_msgs::NodeXY28b& out) { + toRos_OffsetB14(in.x, out.x); + toRos_OffsetB14(in.y, out.y); +} + +void toStruct_NodeXY28b(const mapem_ts_msgs::NodeXY28b& in, mapem_ts_Node_XY_28b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_28b_t)); + + toStruct_OffsetB14(in.x, out.x); + toStruct_OffsetB14(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY32b.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY32b.h new file mode 100644 index 000000000..6e6b4416a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNodeXY32b.h @@ -0,0 +1,55 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NodeXY32b(const mapem_ts_Node_XY_32b_t& in, mapem_ts_msgs::NodeXY32b& out) { + toRos_OffsetB16(in.x, out.x); + toRos_OffsetB16(in.y, out.y); +} + +void toStruct_NodeXY32b(const mapem_ts_msgs::NodeXY32b& in, mapem_ts_Node_XY_32b_t& out) { + memset(&out, 0, sizeof(mapem_ts_Node_XY_32b_t)); + + toStruct_OffsetB16(in.x, out.x); + toStruct_OffsetB16(in.y, out.y); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNumberOfOccupants.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNumberOfOccupants.h new file mode 100644 index 000000000..4cf43eec3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertNumberOfOccupants.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_NumberOfOccupants(const mapem_ts_NumberOfOccupants_t& in, mapem_ts_msgs::NumberOfOccupants& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_NumberOfOccupants(const mapem_ts_msgs::NumberOfOccupants& in, mapem_ts_NumberOfOccupants_t& out) { + memset(&out, 0, sizeof(mapem_ts_NumberOfOccupants_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB09.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB09.h new file mode 100644 index 000000000..f11ffb06c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB09.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB09(const mapem_ts_Offset_B09_t& in, mapem_ts_msgs::OffsetB09& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB09(const mapem_ts_msgs::OffsetB09& in, mapem_ts_Offset_B09_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B09_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB10.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB10.h new file mode 100644 index 000000000..a07700f39 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB10.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB10(const mapem_ts_Offset_B10_t& in, mapem_ts_msgs::OffsetB10& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB10(const mapem_ts_msgs::OffsetB10& in, mapem_ts_Offset_B10_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B10_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB11.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB11.h new file mode 100644 index 000000000..8102a28cf --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB11.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB11(const mapem_ts_Offset_B11_t& in, mapem_ts_msgs::OffsetB11& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB11(const mapem_ts_msgs::OffsetB11& in, mapem_ts_Offset_B11_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B11_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB12.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB12.h new file mode 100644 index 000000000..bcbefcaa9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB12.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB12(const mapem_ts_Offset_B12_t& in, mapem_ts_msgs::OffsetB12& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB12(const mapem_ts_msgs::OffsetB12& in, mapem_ts_Offset_B12_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B12_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB13.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB13.h new file mode 100644 index 000000000..6a5964023 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB13.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB13(const mapem_ts_Offset_B13_t& in, mapem_ts_msgs::OffsetB13& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB13(const mapem_ts_msgs::OffsetB13& in, mapem_ts_Offset_B13_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B13_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB14.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB14.h new file mode 100644 index 000000000..f26aed280 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB14.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB14(const mapem_ts_Offset_B14_t& in, mapem_ts_msgs::OffsetB14& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB14(const mapem_ts_msgs::OffsetB14& in, mapem_ts_Offset_B14_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B14_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB16.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB16.h new file mode 100644 index 000000000..f84afa33d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOffsetB16.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OffsetB16(const mapem_ts_Offset_B16_t& in, mapem_ts_msgs::OffsetB16& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_OffsetB16(const mapem_ts_msgs::OffsetB16& in, mapem_ts_Offset_B16_t& out) { + memset(&out, 0, sizeof(mapem_ts_Offset_B16_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOpeningDaysHours.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOpeningDaysHours.h new file mode 100644 index 000000000..0138c6cd3 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOpeningDaysHours.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OpeningDaysHours(const mapem_ts_OpeningDaysHours_t& in, mapem_ts_msgs::OpeningDaysHours& out) { + etsi_its_primitives_conversion::toRos_UTF8String(in, out.value); +} + +void toStruct_OpeningDaysHours(const mapem_ts_msgs::OpeningDaysHours& in, mapem_ts_OpeningDaysHours_t& out) { + memset(&out, 0, sizeof(mapem_ts_OpeningDaysHours_t)); + + etsi_its_primitives_conversion::toStruct_UTF8String(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOverlayLaneList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOverlayLaneList.h new file mode 100644 index 000000000..690969f3c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertOverlayLaneList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_OverlayLaneList(const mapem_ts_OverlayLaneList_t& in, mapem_ts_msgs::OverlayLaneList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::LaneID el; + toRos_LaneID(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_OverlayLaneList(const mapem_ts_msgs::OverlayLaneList& in, mapem_ts_OverlayLaneList_t& out) { + memset(&out, 0, sizeof(mapem_ts_OverlayLaneList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_LaneID_t* el = (mapem_ts_LaneID_t*) calloc(1, sizeof(mapem_ts_LaneID_t)); + toStruct_LaneID(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathDeltaTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathDeltaTime.h new file mode 100644 index 000000000..625e7f39d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathDeltaTime.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PathDeltaTime(const mapem_ts_PathDeltaTime_t& in, mapem_ts_msgs::PathDeltaTime& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PathDeltaTime(const mapem_ts_msgs::PathDeltaTime& in, mapem_ts_PathDeltaTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_PathDeltaTime_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathHistory.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathHistory.h new file mode 100644 index 000000000..6bf9716b1 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathHistory.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PathHistory(const mapem_ts_PathHistory_t& in, mapem_ts_msgs::PathHistory& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::PathPoint el; + toRos_PathPoint(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_PathHistory(const mapem_ts_msgs::PathHistory& in, mapem_ts_PathHistory_t& out) { + memset(&out, 0, sizeof(mapem_ts_PathHistory_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_PathPoint_t* el = (mapem_ts_PathPoint_t*) calloc(1, sizeof(mapem_ts_PathPoint_t)); + toStruct_PathPoint(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathPoint.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathPoint.h new file mode 100644 index 000000000..fcc2c387f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPathPoint.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PathPoint(const mapem_ts_PathPoint_t& in, mapem_ts_msgs::PathPoint& out) { + toRos_DeltaReferencePosition(in.pathPosition, out.path_position); + if (in.pathDeltaTime) { + toRos_PathDeltaTime(*in.pathDeltaTime, out.path_delta_time); + out.path_delta_time_is_present = true; + } +} + +void toStruct_PathPoint(const mapem_ts_msgs::PathPoint& in, mapem_ts_PathPoint_t& out) { + memset(&out, 0, sizeof(mapem_ts_PathPoint_t)); + + toStruct_DeltaReferencePosition(in.path_position, out.pathPosition); + if (in.path_delta_time_is_present) { + out.pathDeltaTime = (mapem_ts_PathDeltaTime_t*) calloc(1, sizeof(mapem_ts_PathDeltaTime_t)); + toStruct_PathDeltaTime(in.path_delta_time, *out.pathDeltaTime); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPedestrianBicycleDetect.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPedestrianBicycleDetect.h new file mode 100644 index 000000000..a8f186c33 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPedestrianBicycleDetect.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PedestrianBicycleDetect(const mapem_ts_PedestrianBicycleDetect_t& in, mapem_ts_msgs::PedestrianBicycleDetect& out) { + etsi_its_primitives_conversion::toRos_BOOLEAN(in, out.value); +} + +void toStruct_PedestrianBicycleDetect(const mapem_ts_msgs::PedestrianBicycleDetect& in, mapem_ts_PedestrianBicycleDetect_t& out) { + memset(&out, 0, sizeof(mapem_ts_PedestrianBicycleDetect_t)); + + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPerformanceClass.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPerformanceClass.h new file mode 100644 index 000000000..108336d67 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPerformanceClass.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PerformanceClass(const mapem_ts_PerformanceClass_t& in, mapem_ts_msgs::PerformanceClass& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PerformanceClass(const mapem_ts_msgs::PerformanceClass& in, mapem_ts_PerformanceClass_t& out) { + memset(&out, 0, sizeof(mapem_ts_PerformanceClass_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPhoneNumber.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPhoneNumber.h new file mode 100644 index 000000000..e1c5eeb87 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPhoneNumber.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PhoneNumber(const mapem_ts_PhoneNumber_t& in, mapem_ts_msgs::PhoneNumber& out) { + etsi_its_primitives_conversion::toRos_NumericString(in, out.value); +} + +void toStruct_PhoneNumber(const mapem_ts_msgs::PhoneNumber& in, mapem_ts_PhoneNumber_t& out) { + memset(&out, 0, sizeof(mapem_ts_PhoneNumber_t)); + + etsi_its_primitives_conversion::toStruct_NumericString(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosCentMass.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosCentMass.h new file mode 100644 index 000000000..ef230043f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosCentMass.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PosCentMass(const mapem_ts_PosCentMass_t& in, mapem_ts_msgs::PosCentMass& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PosCentMass(const mapem_ts_msgs::PosCentMass& in, mapem_ts_PosCentMass_t& out) { + memset(&out, 0, sizeof(mapem_ts_PosCentMass_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosConfidenceEllipse.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosConfidenceEllipse.h new file mode 100644 index 000000000..f298e57dc --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosConfidenceEllipse.h @@ -0,0 +1,58 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PosConfidenceEllipse(const mapem_ts_PosConfidenceEllipse_t& in, mapem_ts_msgs::PosConfidenceEllipse& out) { + toRos_SemiAxisLength(in.semiMajorConfidence, out.semi_major_confidence); + toRos_SemiAxisLength(in.semiMinorConfidence, out.semi_minor_confidence); + toRos_HeadingValue(in.semiMajorOrientation, out.semi_major_orientation); +} + +void toStruct_PosConfidenceEllipse(const mapem_ts_msgs::PosConfidenceEllipse& in, mapem_ts_PosConfidenceEllipse_t& out) { + memset(&out, 0, sizeof(mapem_ts_PosConfidenceEllipse_t)); + + toStruct_SemiAxisLength(in.semi_major_confidence, out.semiMajorConfidence); + toStruct_SemiAxisLength(in.semi_minor_confidence, out.semiMinorConfidence); + toStruct_HeadingValue(in.semi_major_orientation, out.semiMajorOrientation); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosFrontAx.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosFrontAx.h new file mode 100644 index 000000000..681889455 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosFrontAx.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PosFrontAx(const mapem_ts_PosFrontAx_t& in, mapem_ts_msgs::PosFrontAx& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PosFrontAx(const mapem_ts_msgs::PosFrontAx& in, mapem_ts_PosFrontAx_t& out) { + memset(&out, 0, sizeof(mapem_ts_PosFrontAx_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosLonCarr.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosLonCarr.h new file mode 100644 index 000000000..2038f7319 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosLonCarr.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PosLonCarr(const mapem_ts_PosLonCarr_t& in, mapem_ts_msgs::PosLonCarr& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PosLonCarr(const mapem_ts_msgs::PosLonCarr& in, mapem_ts_PosLonCarr_t& out) { + memset(&out, 0, sizeof(mapem_ts_PosLonCarr_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosPillar.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosPillar.h new file mode 100644 index 000000000..05cb95639 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosPillar.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PosPillar(const mapem_ts_PosPillar_t& in, mapem_ts_msgs::PosPillar& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PosPillar(const mapem_ts_msgs::PosPillar& in, mapem_ts_PosPillar_t& out) { + memset(&out, 0, sizeof(mapem_ts_PosPillar_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3D.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3D.h new file mode 100644 index 000000000..fd8d2e3a5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3D.h @@ -0,0 +1,75 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Position3D(const mapem_ts_Position3D_t& in, mapem_ts_msgs::Position3D& out) { + toRos_Latitude(in.lat, out.lat); + toRos_Longitude(in.long, out.long); + if (in.elevation) { + toRos_Elevation(*in.elevation, out.elevation); + out.elevation_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_Position3D(const mapem_ts_msgs::Position3D& in, mapem_ts_Position3D_t& out) { + memset(&out, 0, sizeof(mapem_ts_Position3D_t)); + + toStruct_Latitude(in.lat, out.lat); + toStruct_Longitude(in.long, out.long); + if (in.elevation_is_present) { + out.elevation = (mapem_ts_Elevation_t*) calloc(1, sizeof(mapem_ts_Elevation_t)); + toStruct_Elevation(in.elevation, *out.elevation); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3DaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3DaddGrpC.h new file mode 100644 index 000000000..fdc73ee83 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPosition3DaddGrpC.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Position3DaddGrpC(const mapem_ts_Position3D_addGrpC_t& in, mapem_ts_msgs::Position3DaddGrpC& out) { + toRos_Altitude(in.altitude, out.altitude); +} + +void toStruct_Position3DaddGrpC(const mapem_ts_msgs::Position3DaddGrpC& in, mapem_ts_Position3D_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_Position3D_addGrpC_t)); + + toStruct_Altitude(in.altitude, out.altitude); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidence.h new file mode 100644 index 000000000..fd9c790fa --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositionConfidence(const mapem_ts_PositionConfidence_t& in, mapem_ts_msgs::PositionConfidence& out) { + out.value = in; +} + +void toStruct_PositionConfidence(const mapem_ts_msgs::PositionConfidence& in, mapem_ts_PositionConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositionConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidenceSet.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidenceSet.h new file mode 100644 index 000000000..a5ed29085 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionConfidenceSet.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositionConfidenceSet(const mapem_ts_PositionConfidenceSet_t& in, mapem_ts_msgs::PositionConfidenceSet& out) { + toRos_PositionConfidence(in.pos, out.pos); + toRos_ElevationConfidence(in.elevation, out.elevation); +} + +void toStruct_PositionConfidenceSet(const mapem_ts_msgs::PositionConfidenceSet& in, mapem_ts_PositionConfidenceSet_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositionConfidenceSet_t)); + + toStruct_PositionConfidence(in.pos, out.pos); + toStruct_ElevationConfidence(in.elevation, out.elevation); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfOccupants.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfOccupants.h new file mode 100644 index 000000000..22a8317ff --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfOccupants.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositionOfOccupants(const mapem_ts_PositionOfOccupants_t& in, mapem_ts_msgs::PositionOfOccupants& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_PositionOfOccupants(const mapem_ts_msgs::PositionOfOccupants& in, mapem_ts_PositionOfOccupants_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositionOfOccupants_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfPillars.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfPillars.h new file mode 100644 index 000000000..736cd8d31 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionOfPillars.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositionOfPillars(const mapem_ts_PositionOfPillars_t& in, mapem_ts_msgs::PositionOfPillars& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::PosPillar el; + toRos_PosPillar(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_PositionOfPillars(const mapem_ts_msgs::PositionOfPillars& in, mapem_ts_PositionOfPillars_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositionOfPillars_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_PosPillar_t* el = (mapem_ts_PosPillar_t*) calloc(1, sizeof(mapem_ts_PosPillar_t)); + toStruct_PosPillar(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionalAccuracy.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionalAccuracy.h new file mode 100644 index 000000000..07a67a772 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositionalAccuracy.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositionalAccuracy(const mapem_ts_PositionalAccuracy_t& in, mapem_ts_msgs::PositionalAccuracy& out) { + toRos_SemiMajorAxisAccuracy(in.semiMajor, out.semi_major); + toRos_SemiMinorAxisAccuracy(in.semiMinor, out.semi_minor); + toRos_SemiMajorAxisOrientation(in.orientation, out.orientation); +} + +void toStruct_PositionalAccuracy(const mapem_ts_msgs::PositionalAccuracy& in, mapem_ts_PositionalAccuracy_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositionalAccuracy_t)); + + toStruct_SemiMajorAxisAccuracy(in.semi_major, out.semiMajor); + toStruct_SemiMinorAxisAccuracy(in.semi_minor, out.semiMinor); + toStruct_SemiMajorAxisOrientation(in.orientation, out.orientation); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositioningSolutionType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositioningSolutionType.h new file mode 100644 index 000000000..38e28d1a0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPositioningSolutionType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PositioningSolutionType(const mapem_ts_PositioningSolutionType_t& in, mapem_ts_msgs::PositioningSolutionType& out) { + out.value = in; +} + +void toStruct_PositioningSolutionType(const mapem_ts_msgs::PositioningSolutionType& in, mapem_ts_PositioningSolutionType_t& out) { + memset(&out, 0, sizeof(mapem_ts_PositioningSolutionType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPostCrashSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPostCrashSubCauseCode.h new file mode 100644 index 000000000..553e257ca --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPostCrashSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PostCrashSubCauseCode(const mapem_ts_PostCrashSubCauseCode_t& in, mapem_ts_msgs::PostCrashSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PostCrashSubCauseCode(const mapem_ts_msgs::PostCrashSubCauseCode& in, mapem_ts_PostCrashSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_PostCrashSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPreemptPriorityList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPreemptPriorityList.h new file mode 100644 index 000000000..330a6c0e7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPreemptPriorityList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PreemptPriorityList(const mapem_ts_PreemptPriorityList_t& in, mapem_ts_msgs::PreemptPriorityList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SignalControlZone el; + toRos_SignalControlZone(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_PreemptPriorityList(const mapem_ts_msgs::PreemptPriorityList& in, mapem_ts_PreemptPriorityList_t& out) { + memset(&out, 0, sizeof(mapem_ts_PreemptPriorityList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SignalControlZone_t* el = (mapem_ts_SignalControlZone_t*) calloc(1, sizeof(mapem_ts_SignalControlZone_t)); + toStruct_SignalControlZone(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponse.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponse.h new file mode 100644 index 000000000..767ca8a5b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponse.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PrioritizationResponse(const mapem_ts_PrioritizationResponse_t& in, mapem_ts_msgs::PrioritizationResponse& out) { + toRos_StationID(in.stationID, out.station_id); + toRos_PrioritizationResponseStatus(in.priorState, out.prior_state); + toRos_SignalGroupID(in.signalGroup, out.signal_group); +} + +void toStruct_PrioritizationResponse(const mapem_ts_msgs::PrioritizationResponse& in, mapem_ts_PrioritizationResponse_t& out) { + memset(&out, 0, sizeof(mapem_ts_PrioritizationResponse_t)); + + toStruct_StationID(in.station_id, out.stationID); + toStruct_PrioritizationResponseStatus(in.prior_state, out.priorState); + toStruct_SignalGroupID(in.signal_group, out.signalGroup); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseList.h new file mode 100644 index 000000000..9fc9b65fe --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PrioritizationResponseList(const mapem_ts_PrioritizationResponseList_t& in, mapem_ts_msgs::PrioritizationResponseList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::PrioritizationResponse el; + toRos_PrioritizationResponse(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_PrioritizationResponseList(const mapem_ts_msgs::PrioritizationResponseList& in, mapem_ts_PrioritizationResponseList_t& out) { + memset(&out, 0, sizeof(mapem_ts_PrioritizationResponseList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_PrioritizationResponse_t* el = (mapem_ts_PrioritizationResponse_t*) calloc(1, sizeof(mapem_ts_PrioritizationResponse_t)); + toStruct_PrioritizationResponse(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseStatus.h new file mode 100644 index 000000000..e5dab8937 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPrioritizationResponseStatus.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PrioritizationResponseStatus(const mapem_ts_PrioritizationResponseStatus_t& in, mapem_ts_msgs::PrioritizationResponseStatus& out) { + out.value = in; +} + +void toStruct_PrioritizationResponseStatus(const mapem_ts_msgs::PrioritizationResponseStatus& in, mapem_ts_PrioritizationResponseStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_PrioritizationResponseStatus_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPriorityRequestType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPriorityRequestType.h new file mode 100644 index 000000000..fbcdafef0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPriorityRequestType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PriorityRequestType(const mapem_ts_PriorityRequestType_t& in, mapem_ts_msgs::PriorityRequestType& out) { + out.value = in; +} + +void toStruct_PriorityRequestType(const mapem_ts_msgs::PriorityRequestType& in, mapem_ts_PriorityRequestType_t& out) { + memset(&out, 0, sizeof(mapem_ts_PriorityRequestType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZone.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZone.h new file mode 100644 index 000000000..faba10409 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZone.h @@ -0,0 +1,86 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ProtectedCommunicationZone(const mapem_ts_ProtectedCommunicationZone_t& in, mapem_ts_msgs::ProtectedCommunicationZone& out) { + toRos_ProtectedZoneType(in.protectedZoneType, out.protected_zone_type); + if (in.expiryTime) { + toRos_TimestampIts(*in.expiryTime, out.expiry_time); + out.expiry_time_is_present = true; + } + toRos_Latitude(in.protectedZoneLatitude, out.protected_zone_latitude); + toRos_Longitude(in.protectedZoneLongitude, out.protected_zone_longitude); + if (in.protectedZoneRadius) { + toRos_ProtectedZoneRadius(*in.protectedZoneRadius, out.protected_zone_radius); + out.protected_zone_radius_is_present = true; + } + if (in.protectedZoneID) { + toRos_ProtectedZoneID(*in.protectedZoneID, out.protected_zone_id); + out.protected_zone_id_is_present = true; + } +} + +void toStruct_ProtectedCommunicationZone(const mapem_ts_msgs::ProtectedCommunicationZone& in, mapem_ts_ProtectedCommunicationZone_t& out) { + memset(&out, 0, sizeof(mapem_ts_ProtectedCommunicationZone_t)); + + toStruct_ProtectedZoneType(in.protected_zone_type, out.protectedZoneType); + if (in.expiry_time_is_present) { + out.expiryTime = (mapem_ts_TimestampIts_t*) calloc(1, sizeof(mapem_ts_TimestampIts_t)); + toStruct_TimestampIts(in.expiry_time, *out.expiryTime); + } + toStruct_Latitude(in.protected_zone_latitude, out.protectedZoneLatitude); + toStruct_Longitude(in.protected_zone_longitude, out.protectedZoneLongitude); + if (in.protected_zone_radius_is_present) { + out.protectedZoneRadius = (mapem_ts_ProtectedZoneRadius_t*) calloc(1, sizeof(mapem_ts_ProtectedZoneRadius_t)); + toStruct_ProtectedZoneRadius(in.protected_zone_radius, *out.protectedZoneRadius); + } + if (in.protected_zone_id_is_present) { + out.protectedZoneID = (mapem_ts_ProtectedZoneID_t*) calloc(1, sizeof(mapem_ts_ProtectedZoneID_t)); + toStruct_ProtectedZoneID(in.protected_zone_id, *out.protectedZoneID); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZonesRSU.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZonesRSU.h new file mode 100644 index 000000000..c4680f4f8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedCommunicationZonesRSU.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ProtectedCommunicationZonesRSU(const mapem_ts_ProtectedCommunicationZonesRSU_t& in, mapem_ts_msgs::ProtectedCommunicationZonesRSU& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::ProtectedCommunicationZone el; + toRos_ProtectedCommunicationZone(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_ProtectedCommunicationZonesRSU(const mapem_ts_msgs::ProtectedCommunicationZonesRSU& in, mapem_ts_ProtectedCommunicationZonesRSU_t& out) { + memset(&out, 0, sizeof(mapem_ts_ProtectedCommunicationZonesRSU_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_ProtectedCommunicationZone_t* el = (mapem_ts_ProtectedCommunicationZone_t*) calloc(1, sizeof(mapem_ts_ProtectedCommunicationZone_t)); + toStruct_ProtectedCommunicationZone(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneID.h new file mode 100644 index 000000000..478c3a971 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ProtectedZoneID(const mapem_ts_ProtectedZoneID_t& in, mapem_ts_msgs::ProtectedZoneID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ProtectedZoneID(const mapem_ts_msgs::ProtectedZoneID& in, mapem_ts_ProtectedZoneID_t& out) { + memset(&out, 0, sizeof(mapem_ts_ProtectedZoneID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneRadius.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneRadius.h new file mode 100644 index 000000000..3fcb85b18 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneRadius.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ProtectedZoneRadius(const mapem_ts_ProtectedZoneRadius_t& in, mapem_ts_msgs::ProtectedZoneRadius& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ProtectedZoneRadius(const mapem_ts_msgs::ProtectedZoneRadius& in, mapem_ts_ProtectedZoneRadius_t& out) { + memset(&out, 0, sizeof(mapem_ts_ProtectedZoneRadius_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneType.h new file mode 100644 index 000000000..e40edb961 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertProtectedZoneType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ProtectedZoneType(const mapem_ts_ProtectedZoneType_t& in, mapem_ts_msgs::ProtectedZoneType& out) { + out.value = in; +} + +void toStruct_ProtectedZoneType(const mapem_ts_msgs::ProtectedZoneType& in, mapem_ts_ProtectedZoneType_t& out) { + memset(&out, 0, sizeof(mapem_ts_ProtectedZoneType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivation.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivation.h new file mode 100644 index 000000000..f022efa86 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivation.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PtActivation(const mapem_ts_PtActivation_t& in, mapem_ts_msgs::PtActivation& out) { + toRos_PtActivationType(in.ptActivationType, out.pt_activation_type); + toRos_PtActivationData(in.ptActivationData, out.pt_activation_data); +} + +void toStruct_PtActivation(const mapem_ts_msgs::PtActivation& in, mapem_ts_PtActivation_t& out) { + memset(&out, 0, sizeof(mapem_ts_PtActivation_t)); + + toStruct_PtActivationType(in.pt_activation_type, out.ptActivationType); + toStruct_PtActivationData(in.pt_activation_data, out.ptActivationData); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationData.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationData.h new file mode 100644 index 000000000..9e3c04e50 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationData.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PtActivationData(const mapem_ts_PtActivationData_t& in, mapem_ts_msgs::PtActivationData& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_PtActivationData(const mapem_ts_msgs::PtActivationData& in, mapem_ts_PtActivationData_t& out) { + memset(&out, 0, sizeof(mapem_ts_PtActivationData_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationType.h new file mode 100644 index 000000000..1b1fa92ae --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtActivationType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PtActivationType(const mapem_ts_PtActivationType_t& in, mapem_ts_msgs::PtActivationType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_PtActivationType(const mapem_ts_msgs::PtActivationType& in, mapem_ts_PtActivationType_t& out) { + memset(&out, 0, sizeof(mapem_ts_PtActivationType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtvRequestType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtvRequestType.h new file mode 100644 index 000000000..6bbab9ec2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertPtvRequestType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_PtvRequestType(const mapem_ts_PtvRequestType_t& in, mapem_ts_msgs::PtvRequestType& out) { + out.value = in; +} + +void toStruct_PtvRequestType(const mapem_ts_msgs::PtvRequestType& in, mapem_ts_PtvRequestType_t& out) { + memset(&out, 0, sizeof(mapem_ts_PtvRequestType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMRevision.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMRevision.h new file mode 100644 index 000000000..7b8f21bfa --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMRevision.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RTCMRevision(const mapem_ts_RTCM_Revision_t& in, mapem_ts_msgs::RTCMRevision& out) { + out.value = in; +} + +void toStruct_RTCMRevision(const mapem_ts_msgs::RTCMRevision& in, mapem_ts_RTCM_Revision_t& out) { + memset(&out, 0, sizeof(mapem_ts_RTCM_Revision_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMcorrections.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMcorrections.h new file mode 100644 index 000000000..1c0d60060 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMcorrections.h @@ -0,0 +1,96 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RTCMcorrections(const mapem_ts_RTCMcorrections_t& in, mapem_ts_msgs::RTCMcorrections& out) { + toRos_MsgCount(in.msgCnt, out.msg_cnt); + toRos_RTCMRevision(in.rev, out.rev); + if (in.timeStamp) { + toRos_MinuteOfTheYear(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + if (in.anchorPoint) { + toRos_FullPositionVector(*in.anchorPoint, out.anchor_point); + out.anchor_point_is_present = true; + } + if (in.rtcmHeader) { + toRos_RTCMheader(*in.rtcmHeader, out.rtcm_header); + out.rtcm_header_is_present = true; + } + toRos_RTCMmessageList(in.msgs, out.msgs); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_RTCMcorrections(const mapem_ts_msgs::RTCMcorrections& in, mapem_ts_RTCMcorrections_t& out) { + memset(&out, 0, sizeof(mapem_ts_RTCMcorrections_t)); + + toStruct_MsgCount(in.msg_cnt, out.msgCnt); + toStruct_RTCMRevision(in.rev, out.rev); + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.time_stamp, *out.timeStamp); + } + if (in.anchor_point_is_present) { + out.anchorPoint = (mapem_ts_FullPositionVector_t*) calloc(1, sizeof(mapem_ts_FullPositionVector_t)); + toStruct_FullPositionVector(in.anchor_point, *out.anchorPoint); + } + if (in.rtcm_header_is_present) { + out.rtcmHeader = (mapem_ts_RTCMheader_t*) calloc(1, sizeof(mapem_ts_RTCMheader_t)); + toStruct_RTCMheader(in.rtcm_header, *out.rtcmHeader); + } + toStruct_RTCMmessageList(in.msgs, out.msgs); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMheader.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMheader.h new file mode 100644 index 000000000..79061d6d6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMheader.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RTCMheader(const mapem_ts_RTCMheader_t& in, mapem_ts_msgs::RTCMheader& out) { + toRos_GNSSstatus(in.status, out.status); + toRos_AntennaOffsetSet(in.offsetSet, out.offset_set); +} + +void toStruct_RTCMheader(const mapem_ts_msgs::RTCMheader& in, mapem_ts_RTCMheader_t& out) { + memset(&out, 0, sizeof(mapem_ts_RTCMheader_t)); + + toStruct_GNSSstatus(in.status, out.status); + toStruct_AntennaOffsetSet(in.offset_set, out.offsetSet); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessage.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessage.h new file mode 100644 index 000000000..0890f148d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessage.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RTCMmessage(const mapem_ts_RTCMmessage_t& in, mapem_ts_msgs::RTCMmessage& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_RTCMmessage(const mapem_ts_msgs::RTCMmessage& in, mapem_ts_RTCMmessage_t& out) { + memset(&out, 0, sizeof(mapem_ts_RTCMmessage_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessageList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessageList.h new file mode 100644 index 000000000..ae3ddf74d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRTCMmessageList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RTCMmessageList(const mapem_ts_RTCMmessageList_t& in, mapem_ts_msgs::RTCMmessageList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::RTCMmessage el; + toRos_RTCMmessage(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RTCMmessageList(const mapem_ts_msgs::RTCMmessageList& in, mapem_ts_RTCMmessageList_t& out) { + memset(&out, 0, sizeof(mapem_ts_RTCMmessageList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_RTCMmessage_t* el = (mapem_ts_RTCMmessage_t*) calloc(1, sizeof(mapem_ts_RTCMmessage_t)); + toStruct_RTCMmessage(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertReferencePosition.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertReferencePosition.h new file mode 100644 index 000000000..145ea48c2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertReferencePosition.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ReferencePosition(const mapem_ts_ReferencePosition_t& in, mapem_ts_msgs::ReferencePosition& out) { + toRos_Latitude(in.latitude, out.latitude); + toRos_Longitude(in.longitude, out.longitude); + toRos_PosConfidenceEllipse(in.positionConfidenceEllipse, out.position_confidence_ellipse); + toRos_Altitude(in.altitude, out.altitude); +} + +void toStruct_ReferencePosition(const mapem_ts_msgs::ReferencePosition& in, mapem_ts_ReferencePosition_t& out) { + memset(&out, 0, sizeof(mapem_ts_ReferencePosition_t)); + + toStruct_Latitude(in.latitude, out.latitude); + toStruct_Longitude(in.longitude, out.longitude); + toStruct_PosConfidenceEllipse(in.position_confidence_ellipse, out.positionConfidenceEllipse); + toStruct_Altitude(in.altitude, out.altitude); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegionId.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegionId.h new file mode 100644 index 000000000..d02abd72d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegionId.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RegionId(const mapem_ts_RegionId_t& in, mapem_ts_msgs::RegionId& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RegionId(const mapem_ts_msgs::RegionId& in, mapem_ts_RegionId_t& out) { + memset(&out, 0, sizeof(mapem_ts_RegionId_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegulatorySpeedLimit.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegulatorySpeedLimit.h new file mode 100644 index 000000000..afd697405 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRegulatorySpeedLimit.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RegulatorySpeedLimit(const mapem_ts_RegulatorySpeedLimit_t& in, mapem_ts_msgs::RegulatorySpeedLimit& out) { + toRos_SpeedLimitType(in.type, out.type); + toRos_Velocity(in.speed, out.speed); +} + +void toStruct_RegulatorySpeedLimit(const mapem_ts_msgs::RegulatorySpeedLimit& in, mapem_ts_RegulatorySpeedLimit_t& out) { + memset(&out, 0, sizeof(mapem_ts_RegulatorySpeedLimit_t)); + + toStruct_SpeedLimitType(in.type, out.type); + toStruct_Velocity(in.speed, out.speed); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRejectedReason.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRejectedReason.h new file mode 100644 index 000000000..4e89aef3b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRejectedReason.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RejectedReason(const mapem_ts_RejectedReason_t& in, mapem_ts_msgs::RejectedReason& out) { + out.value = in; +} + +void toStruct_RejectedReason(const mapem_ts_msgs::RejectedReason& in, mapem_ts_RejectedReason_t& out) { + memset(&out, 0, sizeof(mapem_ts_RejectedReason_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceDistance.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceDistance.h new file mode 100644 index 000000000..af061ac19 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceDistance.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RelevanceDistance(const mapem_ts_RelevanceDistance_t& in, mapem_ts_msgs::RelevanceDistance& out) { + out.value = in; +} + +void toStruct_RelevanceDistance(const mapem_ts_msgs::RelevanceDistance& in, mapem_ts_RelevanceDistance_t& out) { + memset(&out, 0, sizeof(mapem_ts_RelevanceDistance_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceTrafficDirection.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceTrafficDirection.h new file mode 100644 index 000000000..2072e27eb --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRelevanceTrafficDirection.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RelevanceTrafficDirection(const mapem_ts_RelevanceTrafficDirection_t& in, mapem_ts_msgs::RelevanceTrafficDirection& out) { + out.value = in; +} + +void toStruct_RelevanceTrafficDirection(const mapem_ts_msgs::RelevanceTrafficDirection& in, mapem_ts_RelevanceTrafficDirection_t& out) { + memset(&out, 0, sizeof(mapem_ts_RelevanceTrafficDirection_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestID.h new file mode 100644 index 000000000..0c27d2c55 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestID(const mapem_ts_RequestID_t& in, mapem_ts_msgs::RequestID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RequestID(const mapem_ts_msgs::RequestID& in, mapem_ts_RequestID_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestImportanceLevel.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestImportanceLevel.h new file mode 100644 index 000000000..79bede257 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestImportanceLevel.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestImportanceLevel(const mapem_ts_RequestImportanceLevel_t& in, mapem_ts_msgs::RequestImportanceLevel& out) { + out.value = in; +} + +void toStruct_RequestImportanceLevel(const mapem_ts_msgs::RequestImportanceLevel& in, mapem_ts_RequestImportanceLevel_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestImportanceLevel_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestResponseIndication.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestResponseIndication.h new file mode 100644 index 000000000..2ce092b91 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestResponseIndication.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestResponseIndication(const mapem_ts_RequestResponseIndication_t& in, mapem_ts_msgs::RequestResponseIndication& out) { + out.value = in; +} + +void toStruct_RequestResponseIndication(const mapem_ts_msgs::RequestResponseIndication& in, mapem_ts_RequestResponseIndication_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestResponseIndication_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestSubRole.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestSubRole.h new file mode 100644 index 000000000..c4dab6331 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestSubRole.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestSubRole(const mapem_ts_RequestSubRole_t& in, mapem_ts_msgs::RequestSubRole& out) { + out.value = in; +} + +void toStruct_RequestSubRole(const mapem_ts_msgs::RequestSubRole& in, mapem_ts_RequestSubRole_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestSubRole_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescription.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescription.h new file mode 100644 index 000000000..27e6c68f0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescription.h @@ -0,0 +1,125 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestorDescription(const mapem_ts_RequestorDescription_t& in, mapem_ts_msgs::RequestorDescription& out) { + toRos_VehicleID(in.id, out.id); + if (in.type) { + toRos_RequestorType(*in.type, out.type); + out.type_is_present = true; + } + if (in.position) { + toRos_RequestorPositionVector(*in.position, out.position); + out.position_is_present = true; + } + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + if (in.routeName) { + toRos_DescriptiveName(*in.routeName, out.route_name); + out.route_name_is_present = true; + } + if (in.transitStatus) { + toRos_TransitVehicleStatus(*in.transitStatus, out.transit_status); + out.transit_status_is_present = true; + } + if (in.transitOccupancy) { + toRos_TransitVehicleOccupancy(*in.transitOccupancy, out.transit_occupancy); + out.transit_occupancy_is_present = true; + } + if (in.transitSchedule) { + toRos_DeltaTime(*in.transitSchedule, out.transit_schedule); + out.transit_schedule_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_RequestorDescription(const mapem_ts_msgs::RequestorDescription& in, mapem_ts_RequestorDescription_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestorDescription_t)); + + toStruct_VehicleID(in.id, out.id); + if (in.type_is_present) { + out.type = (mapem_ts_RequestorType_t*) calloc(1, sizeof(mapem_ts_RequestorType_t)); + toStruct_RequestorType(in.type, *out.type); + } + if (in.position_is_present) { + out.position = (mapem_ts_RequestorPositionVector_t*) calloc(1, sizeof(mapem_ts_RequestorPositionVector_t)); + toStruct_RequestorPositionVector(in.position, *out.position); + } + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + if (in.route_name_is_present) { + out.routeName = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.route_name, *out.routeName); + } + if (in.transit_status_is_present) { + out.transitStatus = (mapem_ts_TransitVehicleStatus_t*) calloc(1, sizeof(mapem_ts_TransitVehicleStatus_t)); + toStruct_TransitVehicleStatus(in.transit_status, *out.transitStatus); + } + if (in.transit_occupancy_is_present) { + out.transitOccupancy = (mapem_ts_TransitVehicleOccupancy_t*) calloc(1, sizeof(mapem_ts_TransitVehicleOccupancy_t)); + toStruct_TransitVehicleOccupancy(in.transit_occupancy, *out.transitOccupancy); + } + if (in.transit_schedule_is_present) { + out.transitSchedule = (mapem_ts_DeltaTime_t*) calloc(1, sizeof(mapem_ts_DeltaTime_t)); + toStruct_DeltaTime(in.transit_schedule, *out.transitSchedule); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescriptionaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescriptionaddGrpC.h new file mode 100644 index 000000000..abb5e581e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorDescriptionaddGrpC.h @@ -0,0 +1,68 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestorDescriptionaddGrpC(const mapem_ts_RequestorDescription_addGrpC_t& in, mapem_ts_msgs::RequestorDescriptionaddGrpC& out) { + if (in.fuel) { + toRos_FuelType(*in.fuel, out.fuel); + out.fuel_is_present = true; + } + if (in.batteryStatus) { + toRos_BatteryStatus(*in.batteryStatus, out.battery_status); + out.battery_status_is_present = true; + } +} + +void toStruct_RequestorDescriptionaddGrpC(const mapem_ts_msgs::RequestorDescriptionaddGrpC& in, mapem_ts_RequestorDescription_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestorDescription_addGrpC_t)); + + if (in.fuel_is_present) { + out.fuel = (mapem_ts_FuelType_t*) calloc(1, sizeof(mapem_ts_FuelType_t)); + toStruct_FuelType(in.fuel, *out.fuel); + } + if (in.battery_status_is_present) { + out.batteryStatus = (mapem_ts_BatteryStatus_t*) calloc(1, sizeof(mapem_ts_BatteryStatus_t)); + toStruct_BatteryStatus(in.battery_status, *out.batteryStatus); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorPositionVector.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorPositionVector.h new file mode 100644 index 000000000..250b1835c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorPositionVector.h @@ -0,0 +1,71 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestorPositionVector(const mapem_ts_RequestorPositionVector_t& in, mapem_ts_msgs::RequestorPositionVector& out) { + toRos_Position3D(in.position, out.position); + if (in.heading) { + toRos_Angle(*in.heading, out.heading); + out.heading_is_present = true; + } + if (in.speed) { + toRos_TransmissionAndSpeed(*in.speed, out.speed); + out.speed_is_present = true; + } +} + +void toStruct_RequestorPositionVector(const mapem_ts_msgs::RequestorPositionVector& in, mapem_ts_RequestorPositionVector_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestorPositionVector_t)); + + toStruct_Position3D(in.position, out.position); + if (in.heading_is_present) { + out.heading = (mapem_ts_Angle_t*) calloc(1, sizeof(mapem_ts_Angle_t)); + toStruct_Angle(in.heading, *out.heading); + } + if (in.speed_is_present) { + out.speed = (mapem_ts_TransmissionAndSpeed_t*) calloc(1, sizeof(mapem_ts_TransmissionAndSpeed_t)); + toStruct_TransmissionAndSpeed(in.speed, *out.speed); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorType.h new file mode 100644 index 000000000..fb7da5b74 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRequestorType.h @@ -0,0 +1,99 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RequestorType(const mapem_ts_RequestorType_t& in, mapem_ts_msgs::RequestorType& out) { + toRos_BasicVehicleRole(in.role, out.role); + if (in.subrole) { + toRos_RequestSubRole(*in.subrole, out.subrole); + out.subrole_is_present = true; + } + if (in.request) { + toRos_RequestImportanceLevel(*in.request, out.request); + out.request_is_present = true; + } + if (in.iso3883) { + toRos_Iso3833VehicleType(*in.iso3883, out.iso3883); + out.iso3883_is_present = true; + } + if (in.hpmsType) { + toRos_VehicleType(*in.hpmsType, out.hpms_type); + out.hpms_type_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional(*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_RequestorType(const mapem_ts_msgs::RequestorType& in, mapem_ts_RequestorType_t& out) { + memset(&out, 0, sizeof(mapem_ts_RequestorType_t)); + + toStruct_BasicVehicleRole(in.role, out.role); + if (in.subrole_is_present) { + out.subrole = (mapem_ts_RequestSubRole_t*) calloc(1, sizeof(mapem_ts_RequestSubRole_t)); + toStruct_RequestSubRole(in.subrole, *out.subrole); + } + if (in.request_is_present) { + out.request = (mapem_ts_RequestImportanceLevel_t*) calloc(1, sizeof(mapem_ts_RequestImportanceLevel_t)); + toStruct_RequestImportanceLevel(in.request, *out.request); + } + if (in.iso3883_is_present) { + out.iso3883 = (mapem_ts_Iso3833VehicleType_t*) calloc(1, sizeof(mapem_ts_Iso3833VehicleType_t)); + toStruct_Iso3833VehicleType(in.iso3883, *out.iso3883); + } + if (in.hpms_type_is_present) { + out.hpmsType = (mapem_ts_VehicleType_t*) calloc(1, sizeof(mapem_ts_VehicleType_t)); + toStruct_VehicleType(in.hpms_type, *out.hpmsType); + } + if (in.regional_is_present) { + out.regional = (regional_t*) calloc(1, sizeof(regional_t)); + etsi_its_primitives_conversion::toStruct_regional(in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRescueAndRecoveryWorkInProgressSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRescueAndRecoveryWorkInProgressSubCauseCode.h new file mode 100644 index 000000000..d32ecc857 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRescueAndRecoveryWorkInProgressSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RescueAndRecoveryWorkInProgressSubCauseCode(const mapem_ts_RescueAndRecoveryWorkInProgressSubCauseCode_t& in, mapem_ts_msgs::RescueAndRecoveryWorkInProgressSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RescueAndRecoveryWorkInProgressSubCauseCode(const mapem_ts_msgs::RescueAndRecoveryWorkInProgressSubCauseCode& in, mapem_ts_RescueAndRecoveryWorkInProgressSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_RescueAndRecoveryWorkInProgressSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictedTypes.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictedTypes.h new file mode 100644 index 000000000..c15d40f53 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictedTypes.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictedTypes(const mapem_ts_RestrictedTypes_t& in, mapem_ts_msgs::RestrictedTypes& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::StationType el; + toRos_StationType(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RestrictedTypes(const mapem_ts_msgs::RestrictedTypes& in, mapem_ts_RestrictedTypes_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictedTypes_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_StationType_t* el = (mapem_ts_StationType_t*) calloc(1, sizeof(mapem_ts_StationType_t)); + toStruct_StationType(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionAppliesTo.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionAppliesTo.h new file mode 100644 index 000000000..e40926ea0 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionAppliesTo.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionAppliesTo(const mapem_ts_RestrictionAppliesTo_t& in, mapem_ts_msgs::RestrictionAppliesTo& out) { + out.value = in; +} + +void toStruct_RestrictionAppliesTo(const mapem_ts_msgs::RestrictionAppliesTo& in, mapem_ts_RestrictionAppliesTo_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionAppliesTo_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassAssignment.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassAssignment.h new file mode 100644 index 000000000..2cb97b6de --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassAssignment.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionClassAssignment(const mapem_ts_RestrictionClassAssignment_t& in, mapem_ts_msgs::RestrictionClassAssignment& out) { + toRos_RestrictionClassID(in.id, out.id); + toRos_RestrictionUserTypeList(in.users, out.users); +} + +void toStruct_RestrictionClassAssignment(const mapem_ts_msgs::RestrictionClassAssignment& in, mapem_ts_RestrictionClassAssignment_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionClassAssignment_t)); + + toStruct_RestrictionClassID(in.id, out.id); + toStruct_RestrictionUserTypeList(in.users, out.users); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassID.h new file mode 100644 index 000000000..592360540 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionClassID(const mapem_ts_RestrictionClassID_t& in, mapem_ts_msgs::RestrictionClassID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RestrictionClassID(const mapem_ts_msgs::RestrictionClassID& in, mapem_ts_RestrictionClassID_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionClassID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassList.h new file mode 100644 index 000000000..1b89f1a4b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionClassList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionClassList(const mapem_ts_RestrictionClassList_t& in, mapem_ts_msgs::RestrictionClassList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::RestrictionClassAssignment el; + toRos_RestrictionClassAssignment(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RestrictionClassList(const mapem_ts_msgs::RestrictionClassList& in, mapem_ts_RestrictionClassList_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionClassList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_RestrictionClassAssignment_t* el = (mapem_ts_RestrictionClassAssignment_t*) calloc(1, sizeof(mapem_ts_RestrictionClassAssignment_t)); + toStruct_RestrictionClassAssignment(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserType.h new file mode 100644 index 000000000..7f7b5cd50 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserType.h @@ -0,0 +1,71 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionUserType(const mapem_ts_RestrictionUserType_t& in, mapem_ts_msgs::RestrictionUserType& out) { + switch (in.present) { + case mapem_ts_RestrictionUserType_PR_basicType: + toRos_RestrictionAppliesTo(in.choice.basicType, out.basic_type); + out.choice = mapem_ts_msgs::RestrictionUserType::CHOICE_BASIC_TYPE; + break; +etsi_its_primitives_conversion::toRos_regional[](in, out.value); + break; + default: break; + } +} + +void toStruct_RestrictionUserType(const mapem_ts_msgs::RestrictionUserType& in, mapem_ts_RestrictionUserType_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionUserType_t)); + + switch (in.choice) { + case mapem_ts_msgs::RestrictionUserType::CHOICE_BASIC_TYPE: + toStruct_RestrictionAppliesTo(in.basic_type, out.choice.basicType); + out.present = mapem_ts_RestrictionUserType_PR::mapem_ts_RestrictionUserType_PR_basicType; + break; +etsi_its_primitives_conversion::toStruct_regional[](in, out.value); + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeList.h new file mode 100644 index 000000000..44f232e88 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionUserTypeList(const mapem_ts_RestrictionUserTypeList_t& in, mapem_ts_msgs::RestrictionUserTypeList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::RestrictionUserType el; + toRos_RestrictionUserType(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RestrictionUserTypeList(const mapem_ts_msgs::RestrictionUserTypeList& in, mapem_ts_RestrictionUserTypeList_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionUserTypeList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_RestrictionUserType_t* el = (mapem_ts_RestrictionUserType_t*) calloc(1, sizeof(mapem_ts_RestrictionUserType_t)); + toStruct_RestrictionUserType(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeaddGrpC.h new file mode 100644 index 000000000..f0c8ede03 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRestrictionUserTypeaddGrpC.h @@ -0,0 +1,68 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RestrictionUserTypeaddGrpC(const mapem_ts_RestrictionUserType_addGrpC_t& in, mapem_ts_msgs::RestrictionUserTypeaddGrpC& out) { + if (in.emission) { + toRos_EmissionType(*in.emission, out.emission); + out.emission_is_present = true; + } + if (in.fuel) { + toRos_FuelType(*in.fuel, out.fuel); + out.fuel_is_present = true; + } +} + +void toStruct_RestrictionUserTypeaddGrpC(const mapem_ts_msgs::RestrictionUserTypeaddGrpC& in, mapem_ts_RestrictionUserType_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_RestrictionUserType_addGrpC_t)); + + if (in.emission_is_present) { + out.emission = (mapem_ts_EmissionType_t*) calloc(1, sizeof(mapem_ts_EmissionType_t)); + toStruct_EmissionType(in.emission, *out.emission); + } + if (in.fuel_is_present) { + out.fuel = (mapem_ts_FuelType_t*) calloc(1, sizeof(mapem_ts_FuelType_t)); + toStruct_FuelType(in.fuel, *out.fuel); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadLaneSetList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadLaneSetList.h new file mode 100644 index 000000000..d39e7e344 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadLaneSetList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadLaneSetList(const mapem_ts_RoadLaneSetList_t& in, mapem_ts_msgs::RoadLaneSetList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::GenericLane el; + toRos_GenericLane(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RoadLaneSetList(const mapem_ts_msgs::RoadLaneSetList& in, mapem_ts_RoadLaneSetList_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadLaneSetList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_GenericLane_t* el = (mapem_ts_GenericLane_t*) calloc(1, sizeof(mapem_ts_GenericLane_t)); + toStruct_GenericLane(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadRegulatorID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadRegulatorID.h new file mode 100644 index 000000000..5991160de --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadRegulatorID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadRegulatorID(const mapem_ts_RoadRegulatorID_t& in, mapem_ts_msgs::RoadRegulatorID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RoadRegulatorID(const mapem_ts_msgs::RoadRegulatorID& in, mapem_ts_RoadRegulatorID_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadRegulatorID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegment.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegment.h new file mode 100644 index 000000000..bab7affbd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegment.h @@ -0,0 +1,99 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadSegment(const mapem_ts_RoadSegment_t& in, mapem_ts_msgs::RoadSegment& out) { + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + toRos_RoadSegmentReferenceID(in.id, out.id); + toRos_MsgCount(in.revision, out.revision); + toRos_Position3D(in.refPoint, out.ref_point); + if (in.laneWidth) { + toRos_LaneWidth(*in.laneWidth, out.lane_width); + out.lane_width_is_present = true; + } + if (in.speedLimits) { + toRos_SpeedLimitList(*in.speedLimits, out.speed_limits); + out.speed_limits_is_present = true; + } + toRos_RoadLaneSetList(in.roadLaneSet, out.road_lane_set); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_RoadSegment(const mapem_ts_msgs::RoadSegment& in, mapem_ts_RoadSegment_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadSegment_t)); + + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + toStruct_RoadSegmentReferenceID(in.id, out.id); + toStruct_MsgCount(in.revision, out.revision); + toStruct_Position3D(in.ref_point, out.refPoint); + if (in.lane_width_is_present) { + out.laneWidth = (mapem_ts_LaneWidth_t*) calloc(1, sizeof(mapem_ts_LaneWidth_t)); + toStruct_LaneWidth(in.lane_width, *out.laneWidth); + } + if (in.speed_limits_is_present) { + out.speedLimits = (mapem_ts_SpeedLimitList_t*) calloc(1, sizeof(mapem_ts_SpeedLimitList_t)); + toStruct_SpeedLimitList(in.speed_limits, *out.speedLimits); + } + toStruct_RoadLaneSetList(in.road_lane_set, out.roadLaneSet); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentID.h new file mode 100644 index 000000000..cdf97b03d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadSegmentID(const mapem_ts_RoadSegmentID_t& in, mapem_ts_msgs::RoadSegmentID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RoadSegmentID(const mapem_ts_msgs::RoadSegmentID& in, mapem_ts_RoadSegmentID_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadSegmentID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentList.h new file mode 100644 index 000000000..146105319 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadSegmentList(const mapem_ts_RoadSegmentList_t& in, mapem_ts_msgs::RoadSegmentList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::RoadSegment el; + toRos_RoadSegment(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_RoadSegmentList(const mapem_ts_msgs::RoadSegmentList& in, mapem_ts_RoadSegmentList_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadSegmentList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_RoadSegment_t* el = (mapem_ts_RoadSegment_t*) calloc(1, sizeof(mapem_ts_RoadSegment_t)); + toStruct_RoadSegment(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentReferenceID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentReferenceID.h new file mode 100644 index 000000000..09a50d333 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadSegmentReferenceID.h @@ -0,0 +1,62 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadSegmentReferenceID(const mapem_ts_RoadSegmentReferenceID_t& in, mapem_ts_msgs::RoadSegmentReferenceID& out) { + if (in.region) { + toRos_RoadRegulatorID(*in.region, out.region); + out.region_is_present = true; + } + toRos_RoadSegmentID(in.id, out.id); +} + +void toStruct_RoadSegmentReferenceID(const mapem_ts_msgs::RoadSegmentReferenceID& in, mapem_ts_RoadSegmentReferenceID_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadSegmentReferenceID_t)); + + if (in.region_is_present) { + out.region = (mapem_ts_RoadRegulatorID_t*) calloc(1, sizeof(mapem_ts_RoadRegulatorID_t)); + toStruct_RoadRegulatorID(in.region, *out.region); + } + toStruct_RoadSegmentID(in.id, out.id); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadType.h new file mode 100644 index 000000000..21ebd31cf --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadType(const mapem_ts_RoadType_t& in, mapem_ts_msgs::RoadType& out) { + out.value = in; +} + +void toStruct_RoadType(const mapem_ts_msgs::RoadType& in, mapem_ts_RoadType_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadwayCrownAngle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadwayCrownAngle.h new file mode 100644 index 000000000..bdca66461 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadwayCrownAngle.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadwayCrownAngle(const mapem_ts_RoadwayCrownAngle_t& in, mapem_ts_msgs::RoadwayCrownAngle& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RoadwayCrownAngle(const mapem_ts_msgs::RoadwayCrownAngle& in, mapem_ts_RoadwayCrownAngle_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadwayCrownAngle_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadworksSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadworksSubCauseCode.h new file mode 100644 index 000000000..da66b7b20 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertRoadworksSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_RoadworksSubCauseCode(const mapem_ts_RoadworksSubCauseCode_t& in, mapem_ts_msgs::RoadworksSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_RoadworksSubCauseCode(const mapem_ts_msgs::RoadworksSubCauseCode& in, mapem_ts_RoadworksSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_RoadworksSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSPAT.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSPAT.h new file mode 100644 index 000000000..ef7d6ec81 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSPAT.h @@ -0,0 +1,81 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SPAT(const mapem_ts_SPAT_t& in, mapem_ts_msgs::SPAT& out) { + if (in.timeStamp) { + toRos_MinuteOfTheYear(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + if (in.name) { + toRos_DescriptiveName(*in.name, out.name); + out.name_is_present = true; + } + toRos_IntersectionStateList(in.intersections, out.intersections); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SPAT(const mapem_ts_msgs::SPAT& in, mapem_ts_SPAT_t& out) { + memset(&out, 0, sizeof(mapem_ts_SPAT_t)); + + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.time_stamp, *out.timeStamp); + } + if (in.name_is_present) { + out.name = (mapem_ts_DescriptiveName_t*) calloc(1, sizeof(mapem_ts_DescriptiveName_t)); + toStruct_DescriptiveName(in.name, *out.name); + } + toStruct_IntersectionStateList(in.intersections, out.intersections); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertScaleB12.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertScaleB12.h new file mode 100644 index 000000000..d299066d5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertScaleB12.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ScaleB12(const mapem_ts_Scale_B12_t& in, mapem_ts_msgs::ScaleB12& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ScaleB12(const mapem_ts_msgs::ScaleB12& in, mapem_ts_Scale_B12_t& out) { + memset(&out, 0, sizeof(mapem_ts_Scale_B12_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXY.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXY.h new file mode 100644 index 000000000..9c42eaf4e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXY.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SegmentAttributeXY(const mapem_ts_SegmentAttributeXY_t& in, mapem_ts_msgs::SegmentAttributeXY& out) { + out.value = in; +} + +void toStruct_SegmentAttributeXY(const mapem_ts_msgs::SegmentAttributeXY& in, mapem_ts_SegmentAttributeXY_t& out) { + memset(&out, 0, sizeof(mapem_ts_SegmentAttributeXY_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXYList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXYList.h new file mode 100644 index 000000000..48b49ac55 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSegmentAttributeXYList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SegmentAttributeXYList(const mapem_ts_SegmentAttributeXYList_t& in, mapem_ts_msgs::SegmentAttributeXYList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SegmentAttributeXY el; + toRos_SegmentAttributeXY(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SegmentAttributeXYList(const mapem_ts_msgs::SegmentAttributeXYList& in, mapem_ts_SegmentAttributeXYList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SegmentAttributeXYList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SegmentAttributeXY_t* el = (mapem_ts_SegmentAttributeXY_t*) calloc(1, sizeof(mapem_ts_SegmentAttributeXY_t)); + toStruct_SegmentAttributeXY(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiAxisLength.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiAxisLength.h new file mode 100644 index 000000000..89ac987d4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiAxisLength.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SemiAxisLength(const mapem_ts_SemiAxisLength_t& in, mapem_ts_msgs::SemiAxisLength& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SemiAxisLength(const mapem_ts_msgs::SemiAxisLength& in, mapem_ts_SemiAxisLength_t& out) { + memset(&out, 0, sizeof(mapem_ts_SemiAxisLength_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisAccuracy.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisAccuracy.h new file mode 100644 index 000000000..5cc42c988 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisAccuracy.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SemiMajorAxisAccuracy(const mapem_ts_SemiMajorAxisAccuracy_t& in, mapem_ts_msgs::SemiMajorAxisAccuracy& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SemiMajorAxisAccuracy(const mapem_ts_msgs::SemiMajorAxisAccuracy& in, mapem_ts_SemiMajorAxisAccuracy_t& out) { + memset(&out, 0, sizeof(mapem_ts_SemiMajorAxisAccuracy_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisOrientation.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisOrientation.h new file mode 100644 index 000000000..e73ae6a25 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMajorAxisOrientation.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SemiMajorAxisOrientation(const mapem_ts_SemiMajorAxisOrientation_t& in, mapem_ts_msgs::SemiMajorAxisOrientation& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SemiMajorAxisOrientation(const mapem_ts_msgs::SemiMajorAxisOrientation& in, mapem_ts_SemiMajorAxisOrientation_t& out) { + memset(&out, 0, sizeof(mapem_ts_SemiMajorAxisOrientation_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMinorAxisAccuracy.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMinorAxisAccuracy.h new file mode 100644 index 000000000..fa90ce5e8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSemiMinorAxisAccuracy.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SemiMinorAxisAccuracy(const mapem_ts_SemiMinorAxisAccuracy_t& in, mapem_ts_msgs::SemiMinorAxisAccuracy& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SemiMinorAxisAccuracy(const mapem_ts_msgs::SemiMinorAxisAccuracy& in, mapem_ts_SemiMinorAxisAccuracy_t& out) { + memset(&out, 0, sizeof(mapem_ts_SemiMinorAxisAccuracy_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSequenceNumber.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSequenceNumber.h new file mode 100644 index 000000000..9025b6299 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSequenceNumber.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SequenceNumber(const mapem_ts_SequenceNumber_t& in, mapem_ts_msgs::SequenceNumber& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SequenceNumber(const mapem_ts_msgs::SequenceNumber& in, mapem_ts_SequenceNumber_t& out) { + memset(&out, 0, sizeof(mapem_ts_SequenceNumber_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceApplicationLimit.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceApplicationLimit.h new file mode 100644 index 000000000..315d3530b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceApplicationLimit.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ServiceApplicationLimit(const mapem_ts_ServiceApplicationLimit_t& in, mapem_ts_msgs::ServiceApplicationLimit& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_ServiceApplicationLimit(const mapem_ts_msgs::ServiceApplicationLimit& in, mapem_ts_ServiceApplicationLimit_t& out) { + memset(&out, 0, sizeof(mapem_ts_ServiceApplicationLimit_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceNumber.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceNumber.h new file mode 100644 index 000000000..869c1c5b7 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertServiceNumber.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ServiceNumber(const mapem_ts_ServiceNumber_t& in, mapem_ts_msgs::ServiceNumber& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_ServiceNumber(const mapem_ts_msgs::ServiceNumber& in, mapem_ts_ServiceNumber_t& out) { + memset(&out, 0, sizeof(mapem_ts_ServiceNumber_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalControlZone.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalControlZone.h new file mode 100644 index 000000000..297451f7d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalControlZone.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalControlZone(const mapem_ts_SignalControlZone_t& in, mapem_ts_msgs::SignalControlZone& out) { + etsi_its_primitives_conversion::toRos_zone(in.zone, out.zone); +} + +void toStruct_SignalControlZone(const mapem_ts_msgs::SignalControlZone& in, mapem_ts_SignalControlZone_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalControlZone_t)); + + etsi_its_primitives_conversion::toStruct_zone(in.zone, out.zone); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalGroupID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalGroupID.h new file mode 100644 index 000000000..640e7b38b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalGroupID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalGroupID(const mapem_ts_SignalGroupID_t& in, mapem_ts_msgs::SignalGroupID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SignalGroupID(const mapem_ts_msgs::SignalGroupID& in, mapem_ts_SignalGroupID_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalGroupID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocation.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocation.h new file mode 100644 index 000000000..9000a70ce --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocation.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalHeadLocation(const mapem_ts_SignalHeadLocation_t& in, mapem_ts_msgs::SignalHeadLocation& out) { + toRos_NodeOffsetPointXY(in.nodeXY, out.node_xy); + toRos_DeltaAltitude(in.nodeZ, out.node_z); + toRos_SignalGroupID(in.signalGroupID, out.signal_group_id); +} + +void toStruct_SignalHeadLocation(const mapem_ts_msgs::SignalHeadLocation& in, mapem_ts_SignalHeadLocation_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalHeadLocation_t)); + + toStruct_NodeOffsetPointXY(in.node_xy, out.nodeXY); + toStruct_DeltaAltitude(in.node_z, out.nodeZ); + toStruct_SignalGroupID(in.signal_group_id, out.signalGroupID); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocationList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocationList.h new file mode 100644 index 000000000..92c52d28c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalHeadLocationList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalHeadLocationList(const mapem_ts_SignalHeadLocationList_t& in, mapem_ts_msgs::SignalHeadLocationList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SignalHeadLocation el; + toRos_SignalHeadLocation(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SignalHeadLocationList(const mapem_ts_msgs::SignalHeadLocationList& in, mapem_ts_SignalHeadLocationList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalHeadLocationList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SignalHeadLocation_t* el = (mapem_ts_SignalHeadLocation_t*) calloc(1, sizeof(mapem_ts_SignalHeadLocation_t)); + toStruct_SignalHeadLocation(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequest.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequest.h new file mode 100644 index 000000000..765174072 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequest.h @@ -0,0 +1,80 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalRequest(const mapem_ts_SignalRequest_t& in, mapem_ts_msgs::SignalRequest& out) { + toRos_IntersectionReferenceID(in.id, out.id); + toRos_RequestID(in.requestID, out.request_id); + toRos_PriorityRequestType(in.requestType, out.request_type); + toRos_IntersectionAccessPoint(in.inBoundLane, out.in_bound_lane); + if (in.outBoundLane) { + toRos_IntersectionAccessPoint(*in.outBoundLane, out.out_bound_lane); + out.out_bound_lane_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalRequest(const mapem_ts_msgs::SignalRequest& in, mapem_ts_SignalRequest_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalRequest_t)); + + toStruct_IntersectionReferenceID(in.id, out.id); + toStruct_RequestID(in.request_id, out.requestID); + toStruct_PriorityRequestType(in.request_type, out.requestType); + toStruct_IntersectionAccessPoint(in.in_bound_lane, out.inBoundLane); + if (in.out_bound_lane_is_present) { + out.outBoundLane = (mapem_ts_IntersectionAccessPoint_t*) calloc(1, sizeof(mapem_ts_IntersectionAccessPoint_t)); + toStruct_IntersectionAccessPoint(in.out_bound_lane, *out.outBoundLane); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestList.h new file mode 100644 index 000000000..86b6f0ecc --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalRequestList(const mapem_ts_SignalRequestList_t& in, mapem_ts_msgs::SignalRequestList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SignalRequestPackage el; + toRos_SignalRequestPackage(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SignalRequestList(const mapem_ts_msgs::SignalRequestList& in, mapem_ts_SignalRequestList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalRequestList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SignalRequestPackage_t* el = (mapem_ts_SignalRequestPackage_t*) calloc(1, sizeof(mapem_ts_SignalRequestPackage_t)); + toStruct_SignalRequestPackage(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestMessage.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestMessage.h new file mode 100644 index 000000000..443359840 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestMessage.h @@ -0,0 +1,93 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalRequestMessage(const mapem_ts_SignalRequestMessage_t& in, mapem_ts_msgs::SignalRequestMessage& out) { + if (in.timeStamp) { + toRos_MinuteOfTheYear(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + toRos_DSecond(in.second, out.second); + if (in.sequenceNumber) { + toRos_MsgCount(*in.sequenceNumber, out.sequence_number); + out.sequence_number_is_present = true; + } + if (in.requests) { + toRos_SignalRequestList(*in.requests, out.requests); + out.requests_is_present = true; + } + toRos_RequestorDescription(in.requestor, out.requestor); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalRequestMessage(const mapem_ts_msgs::SignalRequestMessage& in, mapem_ts_SignalRequestMessage_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalRequestMessage_t)); + + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.time_stamp, *out.timeStamp); + } + toStruct_DSecond(in.second, out.second); + if (in.sequence_number_is_present) { + out.sequenceNumber = (mapem_ts_MsgCount_t*) calloc(1, sizeof(mapem_ts_MsgCount_t)); + toStruct_MsgCount(in.sequence_number, *out.sequenceNumber); + } + if (in.requests_is_present) { + out.requests = (mapem_ts_SignalRequestList_t*) calloc(1, sizeof(mapem_ts_SignalRequestList_t)); + toStruct_SignalRequestList(in.requests, *out.requests); + } + toStruct_RequestorDescription(in.requestor, out.requestor); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestPackage.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestPackage.h new file mode 100644 index 000000000..77dee8ae5 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequestPackage.h @@ -0,0 +1,89 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalRequestPackage(const mapem_ts_SignalRequestPackage_t& in, mapem_ts_msgs::SignalRequestPackage& out) { + toRos_SignalRequest(in.request, out.request); + if (in.minute) { + toRos_MinuteOfTheYear(*in.minute, out.minute); + out.minute_is_present = true; + } + if (in.second) { + toRos_DSecond(*in.second, out.second); + out.second_is_present = true; + } + if (in.duration) { + toRos_DSecond(*in.duration, out.duration); + out.duration_is_present = true; + } + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalRequestPackage(const mapem_ts_msgs::SignalRequestPackage& in, mapem_ts_SignalRequestPackage_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalRequestPackage_t)); + + toStruct_SignalRequest(in.request, out.request); + if (in.minute_is_present) { + out.minute = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.minute, *out.minute); + } + if (in.second_is_present) { + out.second = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.second, *out.second); + } + if (in.duration_is_present) { + out.duration = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.duration, *out.duration); + } + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequesterInfo.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequesterInfo.h new file mode 100644 index 000000000..cf6dc67fc --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalRequesterInfo.h @@ -0,0 +1,77 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalRequesterInfo(const mapem_ts_SignalRequesterInfo_t& in, mapem_ts_msgs::SignalRequesterInfo& out) { + toRos_VehicleID(in.id, out.id); + toRos_RequestID(in.request, out.request); + toRos_MsgCount(in.sequenceNumber, out.sequence_number); + if (in.role) { + toRos_BasicVehicleRole(*in.role, out.role); + out.role_is_present = true; + } + if (in.typeData) { + toRos_RequestorType(*in.typeData, out.type_data); + out.type_data_is_present = true; + } +} + +void toStruct_SignalRequesterInfo(const mapem_ts_msgs::SignalRequesterInfo& in, mapem_ts_SignalRequesterInfo_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalRequesterInfo_t)); + + toStruct_VehicleID(in.id, out.id); + toStruct_RequestID(in.request, out.request); + toStruct_MsgCount(in.sequence_number, out.sequenceNumber); + if (in.role_is_present) { + out.role = (mapem_ts_BasicVehicleRole_t*) calloc(1, sizeof(mapem_ts_BasicVehicleRole_t)); + toStruct_BasicVehicleRole(in.role, *out.role); + } + if (in.type_data_is_present) { + out.typeData = (mapem_ts_RequestorType_t*) calloc(1, sizeof(mapem_ts_RequestorType_t)); + toStruct_RequestorType(in.type_data, *out.typeData); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatus.h new file mode 100644 index 000000000..3b1edc3ad --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatus.h @@ -0,0 +1,69 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatus(const mapem_ts_SignalStatus_t& in, mapem_ts_msgs::SignalStatus& out) { + toRos_MsgCount(in.sequenceNumber, out.sequence_number); + toRos_IntersectionReferenceID(in.id, out.id); + toRos_SignalStatusPackageList(in.sigStatus, out.sig_status); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalStatus(const mapem_ts_msgs::SignalStatus& in, mapem_ts_SignalStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatus_t)); + + toStruct_MsgCount(in.sequence_number, out.sequenceNumber); + toStruct_IntersectionReferenceID(in.id, out.id); + toStruct_SignalStatusPackageList(in.sig_status, out.sigStatus); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusList.h new file mode 100644 index 000000000..0d439ce3f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatusList(const mapem_ts_SignalStatusList_t& in, mapem_ts_msgs::SignalStatusList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SignalStatus el; + toRos_SignalStatus(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SignalStatusList(const mapem_ts_msgs::SignalStatusList& in, mapem_ts_SignalStatusList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatusList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SignalStatus_t* el = (mapem_ts_SignalStatus_t*) calloc(1, sizeof(mapem_ts_SignalStatus_t)); + toStruct_SignalStatus(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusMessage.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusMessage.h new file mode 100644 index 000000000..cc6004d66 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusMessage.h @@ -0,0 +1,84 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatusMessage(const mapem_ts_SignalStatusMessage_t& in, mapem_ts_msgs::SignalStatusMessage& out) { + if (in.timeStamp) { + toRos_MinuteOfTheYear(*in.timeStamp, out.time_stamp); + out.time_stamp_is_present = true; + } + toRos_DSecond(in.second, out.second); + if (in.sequenceNumber) { + toRos_MsgCount(*in.sequenceNumber, out.sequence_number); + out.sequence_number_is_present = true; + } + toRos_SignalStatusList(in.status, out.status); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalStatusMessage(const mapem_ts_msgs::SignalStatusMessage& in, mapem_ts_SignalStatusMessage_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatusMessage_t)); + + if (in.time_stamp_is_present) { + out.timeStamp = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.time_stamp, *out.timeStamp); + } + toStruct_DSecond(in.second, out.second); + if (in.sequence_number_is_present) { + out.sequenceNumber = (mapem_ts_MsgCount_t*) calloc(1, sizeof(mapem_ts_MsgCount_t)); + toStruct_MsgCount(in.sequence_number, *out.sequenceNumber); + } + toStruct_SignalStatusList(in.status, out.status); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackage.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackage.h new file mode 100644 index 000000000..b76221827 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackage.h @@ -0,0 +1,109 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatusPackage(const mapem_ts_SignalStatusPackage_t& in, mapem_ts_msgs::SignalStatusPackage& out) { + if (in.requester) { + toRos_SignalRequesterInfo(*in.requester, out.requester); + out.requester_is_present = true; + } + toRos_IntersectionAccessPoint(in.inboundOn, out.inbound_on); + if (in.outboundOn) { + toRos_IntersectionAccessPoint(*in.outboundOn, out.outbound_on); + out.outbound_on_is_present = true; + } + if (in.minute) { + toRos_MinuteOfTheYear(*in.minute, out.minute); + out.minute_is_present = true; + } + if (in.second) { + toRos_DSecond(*in.second, out.second); + out.second_is_present = true; + } + if (in.duration) { + toRos_DSecond(*in.duration, out.duration); + out.duration_is_present = true; + } + toRos_PrioritizationResponseStatus(in.status, out.status); + if (in.regional) { + etsi_its_primitives_conversion::toRos_regional[](*in.regional, out.regional); + out.regional_is_present = true; + } +} + +void toStruct_SignalStatusPackage(const mapem_ts_msgs::SignalStatusPackage& in, mapem_ts_SignalStatusPackage_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatusPackage_t)); + + if (in.requester_is_present) { + out.requester = (mapem_ts_SignalRequesterInfo_t*) calloc(1, sizeof(mapem_ts_SignalRequesterInfo_t)); + toStruct_SignalRequesterInfo(in.requester, *out.requester); + } + toStruct_IntersectionAccessPoint(in.inbound_on, out.inboundOn); + if (in.outbound_on_is_present) { + out.outboundOn = (mapem_ts_IntersectionAccessPoint_t*) calloc(1, sizeof(mapem_ts_IntersectionAccessPoint_t)); + toStruct_IntersectionAccessPoint(in.outbound_on, *out.outboundOn); + } + if (in.minute_is_present) { + out.minute = (mapem_ts_MinuteOfTheYear_t*) calloc(1, sizeof(mapem_ts_MinuteOfTheYear_t)); + toStruct_MinuteOfTheYear(in.minute, *out.minute); + } + if (in.second_is_present) { + out.second = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.second, *out.second); + } + if (in.duration_is_present) { + out.duration = (mapem_ts_DSecond_t*) calloc(1, sizeof(mapem_ts_DSecond_t)); + toStruct_DSecond(in.duration, *out.duration); + } + toStruct_PrioritizationResponseStatus(in.status, out.status); + if (in.regional_is_present) { + out.regional = (regional[]_t*) calloc(1, sizeof(regional[]_t)); + etsi_its_primitives_conversion::toStruct_regional[](in.regional, *out.regional); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageList.h new file mode 100644 index 000000000..0cb13ca74 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatusPackageList(const mapem_ts_SignalStatusPackageList_t& in, mapem_ts_msgs::SignalStatusPackageList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::SignalStatusPackage el; + toRos_SignalStatusPackage(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SignalStatusPackageList(const mapem_ts_msgs::SignalStatusPackageList& in, mapem_ts_SignalStatusPackageList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatusPackageList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_SignalStatusPackage_t* el = (mapem_ts_SignalStatusPackage_t*) calloc(1, sizeof(mapem_ts_SignalStatusPackage_t)); + toStruct_SignalStatusPackage(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageaddGrpC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageaddGrpC.h new file mode 100644 index 000000000..fb5fe69bb --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalStatusPackageaddGrpC.h @@ -0,0 +1,68 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalStatusPackageaddGrpC(const mapem_ts_SignalStatusPackage_addGrpC_t& in, mapem_ts_msgs::SignalStatusPackageaddGrpC& out) { + if (in.synchToSchedule) { + toRos_DeltaTime(*in.synchToSchedule, out.synch_to_schedule); + out.synch_to_schedule_is_present = true; + } + if (in.rejectedReason) { + toRos_RejectedReason(*in.rejectedReason, out.rejected_reason); + out.rejected_reason_is_present = true; + } +} + +void toStruct_SignalStatusPackageaddGrpC(const mapem_ts_msgs::SignalStatusPackageaddGrpC& in, mapem_ts_SignalStatusPackage_addGrpC_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalStatusPackage_addGrpC_t)); + + if (in.synch_to_schedule_is_present) { + out.synchToSchedule = (mapem_ts_DeltaTime_t*) calloc(1, sizeof(mapem_ts_DeltaTime_t)); + toStruct_DeltaTime(in.synch_to_schedule, *out.synchToSchedule); + } + if (in.rejected_reason_is_present) { + out.rejectedReason = (mapem_ts_RejectedReason_t*) calloc(1, sizeof(mapem_ts_RejectedReason_t)); + toStruct_RejectedReason(in.rejected_reason, *out.rejectedReason); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalViolationSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalViolationSubCauseCode.h new file mode 100644 index 000000000..1e6a118f8 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSignalViolationSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SignalViolationSubCauseCode(const mapem_ts_SignalViolationSubCauseCode_t& in, mapem_ts_msgs::SignalViolationSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SignalViolationSubCauseCode(const mapem_ts_msgs::SignalViolationSubCauseCode& in, mapem_ts_SignalViolationSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_SignalViolationSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSlowVehicleSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSlowVehicleSubCauseCode.h new file mode 100644 index 000000000..cf1cbc417 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSlowVehicleSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SlowVehicleSubCauseCode(const mapem_ts_SlowVehicleSubCauseCode_t& in, mapem_ts_msgs::SlowVehicleSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SlowVehicleSubCauseCode(const mapem_ts_msgs::SlowVehicleSubCauseCode& in, mapem_ts_SlowVehicleSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_SlowVehicleSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpecialTransportType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpecialTransportType.h new file mode 100644 index 000000000..707effaac --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpecialTransportType.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpecialTransportType(const mapem_ts_SpecialTransportType_t& in, mapem_ts_msgs::SpecialTransportType& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_SpecialTransportType(const mapem_ts_msgs::SpecialTransportType& in, mapem_ts_SpecialTransportType_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpecialTransportType_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeed.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeed.h new file mode 100644 index 000000000..44ed91891 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeed.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Speed(const mapem_ts_Speed_t& in, mapem_ts_msgs::Speed& out) { + toRos_SpeedValue(in.speedValue, out.speed_value); + toRos_SpeedConfidence(in.speedConfidence, out.speed_confidence); +} + +void toStruct_Speed(const mapem_ts_msgs::Speed& in, mapem_ts_Speed_t& out) { + memset(&out, 0, sizeof(mapem_ts_Speed_t)); + + toStruct_SpeedValue(in.speed_value, out.speedValue); + toStruct_SpeedConfidence(in.speed_confidence, out.speedConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedAdvice.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedAdvice.h new file mode 100644 index 000000000..cf3afe66e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedAdvice.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedAdvice(const mapem_ts_SpeedAdvice_t& in, mapem_ts_msgs::SpeedAdvice& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SpeedAdvice(const mapem_ts_msgs::SpeedAdvice& in, mapem_ts_SpeedAdvice_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedAdvice_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidence.h new file mode 100644 index 000000000..f6b928986 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidence.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedConfidence(const mapem_ts_SpeedConfidence_t& in, mapem_ts_msgs::SpeedConfidence& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SpeedConfidence(const mapem_ts_msgs::SpeedConfidence& in, mapem_ts_SpeedConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedConfidence_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidenceDSRC.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidenceDSRC.h new file mode 100644 index 000000000..6801f0954 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedConfidenceDSRC.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedConfidenceDSRC(const mapem_ts_SpeedConfidenceDSRC_t& in, mapem_ts_msgs::SpeedConfidenceDSRC& out) { + out.value = in; +} + +void toStruct_SpeedConfidenceDSRC(const mapem_ts_msgs::SpeedConfidenceDSRC& in, mapem_ts_SpeedConfidenceDSRC_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedConfidenceDSRC_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimit.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimit.h new file mode 100644 index 000000000..b9844196c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimit.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedLimit(const mapem_ts_SpeedLimit_t& in, mapem_ts_msgs::SpeedLimit& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SpeedLimit(const mapem_ts_msgs::SpeedLimit& in, mapem_ts_SpeedLimit_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedLimit_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitList.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitList.h new file mode 100644 index 000000000..8a4e0e11f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitList.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedLimitList(const mapem_ts_SpeedLimitList_t& in, mapem_ts_msgs::SpeedLimitList& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::RegulatorySpeedLimit el; + toRos_RegulatorySpeedLimit(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_SpeedLimitList(const mapem_ts_msgs::SpeedLimitList& in, mapem_ts_SpeedLimitList_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedLimitList_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_RegulatorySpeedLimit_t* el = (mapem_ts_RegulatorySpeedLimit_t*) calloc(1, sizeof(mapem_ts_RegulatorySpeedLimit_t)); + toStruct_RegulatorySpeedLimit(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitType.h new file mode 100644 index 000000000..eed640a07 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedLimitType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedLimitType(const mapem_ts_SpeedLimitType_t& in, mapem_ts_msgs::SpeedLimitType& out) { + out.value = in; +} + +void toStruct_SpeedLimitType(const mapem_ts_msgs::SpeedLimitType& in, mapem_ts_SpeedLimitType_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedLimitType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedValue.h new file mode 100644 index 000000000..07bfc8696 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedValue(const mapem_ts_SpeedValue_t& in, mapem_ts_msgs::SpeedValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SpeedValue(const mapem_ts_msgs::SpeedValue& in, mapem_ts_SpeedValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedandHeadingandThrottleConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedandHeadingandThrottleConfidence.h new file mode 100644 index 000000000..3ea905af2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSpeedandHeadingandThrottleConfidence.h @@ -0,0 +1,59 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SpeedandHeadingandThrottleConfidence(const mapem_ts_SpeedandHeadingandThrottleConfidence_t& in, mapem_ts_msgs::SpeedandHeadingandThrottleConfidence& out) { + toRos_HeadingConfidenceDSRC(in.heading, out.heading); + toRos_SpeedConfidenceDSRC(in.speed, out.speed); + toRos_ThrottleConfidence(in.throttle, out.throttle); +} + +void toStruct_SpeedandHeadingandThrottleConfidence(const mapem_ts_msgs::SpeedandHeadingandThrottleConfidence& in, mapem_ts_SpeedandHeadingandThrottleConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_SpeedandHeadingandThrottleConfidence_t)); + + toStruct_HeadingConfidenceDSRC(in.heading, out.heading); + toStruct_SpeedConfidenceDSRC(in.speed, out.speed); + toStruct_ThrottleConfidence(in.throttle, out.throttle); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStartTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStartTime.h new file mode 100644 index 000000000..afeae078f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStartTime.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StartTime(const mapem_ts_StartTime_t& in, mapem_ts_msgs::StartTime& out) { + toRos_AviEriDateTime(in, out.value); +} + +void toStruct_StartTime(const mapem_ts_msgs::StartTime& in, mapem_ts_StartTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_StartTime_t)); + + toStruct_AviEriDateTime(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationID.h new file mode 100644 index 000000000..5b11dbb2b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StationID(const mapem_ts_StationID_t& in, mapem_ts_msgs::StationID& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_StationID(const mapem_ts_msgs::StationID& in, mapem_ts_StationID_t& out) { + memset(&out, 0, sizeof(mapem_ts_StationID_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationType.h new file mode 100644 index 000000000..8e3db0bf6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StationType(const mapem_ts_StationType_t& in, mapem_ts_msgs::StationType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_StationType(const mapem_ts_msgs::StationType& in, mapem_ts_StationType_t& out) { + memset(&out, 0, sizeof(mapem_ts_StationType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationarySince.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationarySince.h new file mode 100644 index 000000000..72220a895 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationarySince.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StationarySince(const mapem_ts_StationarySince_t& in, mapem_ts_msgs::StationarySince& out) { + out.value = in; +} + +void toStruct_StationarySince(const mapem_ts_msgs::StationarySince& in, mapem_ts_StationarySince_t& out) { + memset(&out, 0, sizeof(mapem_ts_StationarySince_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationaryVehicleSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationaryVehicleSubCauseCode.h new file mode 100644 index 000000000..61e9a5d12 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStationaryVehicleSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StationaryVehicleSubCauseCode(const mapem_ts_StationaryVehicleSubCauseCode_t& in, mapem_ts_msgs::StationaryVehicleSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_StationaryVehicleSubCauseCode(const mapem_ts_msgs::StationaryVehicleSubCauseCode& in, mapem_ts_StationaryVehicleSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_StationaryVehicleSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngle.h new file mode 100644 index 000000000..40a998cb9 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngle.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SteeringWheelAngle(const mapem_ts_SteeringWheelAngle_t& in, mapem_ts_msgs::SteeringWheelAngle& out) { + toRos_SteeringWheelAngleValue(in.steeringWheelAngleValue, out.steering_wheel_angle_value); + toRos_SteeringWheelAngleConfidence(in.steeringWheelAngleConfidence, out.steering_wheel_angle_confidence); +} + +void toStruct_SteeringWheelAngle(const mapem_ts_msgs::SteeringWheelAngle& in, mapem_ts_SteeringWheelAngle_t& out) { + memset(&out, 0, sizeof(mapem_ts_SteeringWheelAngle_t)); + + toStruct_SteeringWheelAngleValue(in.steering_wheel_angle_value, out.steeringWheelAngleValue); + toStruct_SteeringWheelAngleConfidence(in.steering_wheel_angle_confidence, out.steeringWheelAngleConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleConfidence.h new file mode 100644 index 000000000..fd9626ce4 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleConfidence.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SteeringWheelAngleConfidence(const mapem_ts_SteeringWheelAngleConfidence_t& in, mapem_ts_msgs::SteeringWheelAngleConfidence& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SteeringWheelAngleConfidence(const mapem_ts_msgs::SteeringWheelAngleConfidence& in, mapem_ts_SteeringWheelAngleConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_SteeringWheelAngleConfidence_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleValue.h new file mode 100644 index 000000000..05b92788c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSteeringWheelAngleValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SteeringWheelAngleValue(const mapem_ts_SteeringWheelAngleValue_t& in, mapem_ts_msgs::SteeringWheelAngleValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SteeringWheelAngleValue(const mapem_ts_msgs::SteeringWheelAngleValue& in, mapem_ts_SteeringWheelAngleValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_SteeringWheelAngleValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStopTime.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStopTime.h new file mode 100644 index 000000000..84f71cd99 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertStopTime.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_StopTime(const mapem_ts_StopTime_t& in, mapem_ts_msgs::StopTime& out) { + toRos_AviEriDateTime(in, out.value); +} + +void toStruct_StopTime(const mapem_ts_msgs::StopTime& in, mapem_ts_StopTime_t& out) { + memset(&out, 0, sizeof(mapem_ts_StopTime_t)); + + toStruct_AviEriDateTime(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSubCauseCodeType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSubCauseCodeType.h new file mode 100644 index 000000000..5ce6f471e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertSubCauseCodeType.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_SubCauseCodeType(const mapem_ts_SubCauseCodeType_t& in, mapem_ts_msgs::SubCauseCodeType& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_SubCauseCodeType(const mapem_ts_msgs::SubCauseCodeType& in, mapem_ts_SubCauseCodeType_t& out) { + memset(&out, 0, sizeof(mapem_ts_SubCauseCodeType_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTaxCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTaxCode.h new file mode 100644 index 000000000..10d065193 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTaxCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TaxCode(const mapem_ts_TaxCode_t& in, mapem_ts_msgs::TaxCode& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_TaxCode(const mapem_ts_msgs::TaxCode& in, mapem_ts_TaxCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_TaxCode_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemperature.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemperature.h new file mode 100644 index 000000000..a44726178 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemperature.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Temperature(const mapem_ts_Temperature_t& in, mapem_ts_msgs::Temperature& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Temperature(const mapem_ts_msgs::Temperature& in, mapem_ts_Temperature_t& out) { + memset(&out, 0, sizeof(mapem_ts_Temperature_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemporaryID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemporaryID.h new file mode 100644 index 000000000..2d77f167a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTemporaryID.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TemporaryID(const mapem_ts_TemporaryID_t& in, mapem_ts_msgs::TemporaryID& out) { + etsi_its_primitives_conversion::toRos_OCTET_STRING(in, out.value); +} + +void toStruct_TemporaryID(const mapem_ts_msgs::TemporaryID& in, mapem_ts_TemporaryID_t& out) { + memset(&out, 0, sizeof(mapem_ts_TemporaryID_t)); + + etsi_its_primitives_conversion::toStruct_OCTET_STRING(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertThrottleConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertThrottleConfidence.h new file mode 100644 index 000000000..9f4498959 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertThrottleConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ThrottleConfidence(const mapem_ts_ThrottleConfidence_t& in, mapem_ts_msgs::ThrottleConfidence& out) { + out.value = in; +} + +void toStruct_ThrottleConfidence(const mapem_ts_msgs::ThrottleConfidence& in, mapem_ts_ThrottleConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_ThrottleConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeChangeDetails.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeChangeDetails.h new file mode 100644 index 000000000..dac89e0db --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeChangeDetails.h @@ -0,0 +1,94 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimeChangeDetails(const mapem_ts_TimeChangeDetails_t& in, mapem_ts_msgs::TimeChangeDetails& out) { + if (in.startTime) { + toRos_TimeMark(*in.startTime, out.start_time); + out.start_time_is_present = true; + } + toRos_TimeMark(in.minEndTime, out.min_end_time); + if (in.maxEndTime) { + toRos_TimeMark(*in.maxEndTime, out.max_end_time); + out.max_end_time_is_present = true; + } + if (in.likelyTime) { + toRos_TimeMark(*in.likelyTime, out.likely_time); + out.likely_time_is_present = true; + } + if (in.confidence) { + toRos_TimeIntervalConfidence(*in.confidence, out.confidence); + out.confidence_is_present = true; + } + if (in.nextTime) { + toRos_TimeMark(*in.nextTime, out.next_time); + out.next_time_is_present = true; + } +} + +void toStruct_TimeChangeDetails(const mapem_ts_msgs::TimeChangeDetails& in, mapem_ts_TimeChangeDetails_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimeChangeDetails_t)); + + if (in.start_time_is_present) { + out.startTime = (mapem_ts_TimeMark_t*) calloc(1, sizeof(mapem_ts_TimeMark_t)); + toStruct_TimeMark(in.start_time, *out.startTime); + } + toStruct_TimeMark(in.min_end_time, out.minEndTime); + if (in.max_end_time_is_present) { + out.maxEndTime = (mapem_ts_TimeMark_t*) calloc(1, sizeof(mapem_ts_TimeMark_t)); + toStruct_TimeMark(in.max_end_time, *out.maxEndTime); + } + if (in.likely_time_is_present) { + out.likelyTime = (mapem_ts_TimeMark_t*) calloc(1, sizeof(mapem_ts_TimeMark_t)); + toStruct_TimeMark(in.likely_time, *out.likelyTime); + } + if (in.confidence_is_present) { + out.confidence = (mapem_ts_TimeIntervalConfidence_t*) calloc(1, sizeof(mapem_ts_TimeIntervalConfidence_t)); + toStruct_TimeIntervalConfidence(in.confidence, *out.confidence); + } + if (in.next_time_is_present) { + out.nextTime = (mapem_ts_TimeMark_t*) calloc(1, sizeof(mapem_ts_TimeMark_t)); + toStruct_TimeMark(in.next_time, *out.nextTime); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeConfidence.h new file mode 100644 index 000000000..dfa47597a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimeConfidence(const mapem_ts_TimeConfidence_t& in, mapem_ts_msgs::TimeConfidence& out) { + out.value = in; +} + +void toStruct_TimeConfidence(const mapem_ts_msgs::TimeConfidence& in, mapem_ts_TimeConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimeConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeIntervalConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeIntervalConfidence.h new file mode 100644 index 000000000..1f93a90ba --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeIntervalConfidence.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimeIntervalConfidence(const mapem_ts_TimeIntervalConfidence_t& in, mapem_ts_msgs::TimeIntervalConfidence& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TimeIntervalConfidence(const mapem_ts_msgs::TimeIntervalConfidence& in, mapem_ts_TimeIntervalConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimeIntervalConfidence_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeMark.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeMark.h new file mode 100644 index 000000000..4e5f19d6a --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeMark.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimeMark(const mapem_ts_TimeMark_t& in, mapem_ts_msgs::TimeMark& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TimeMark(const mapem_ts_msgs::TimeMark& in, mapem_ts_TimeMark_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimeMark_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeReference.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeReference.h new file mode 100644 index 000000000..9475f41af --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimeReference.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimeReference(const mapem_ts_TimeReference_t& in, mapem_ts_msgs::TimeReference& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TimeReference(const mapem_ts_msgs::TimeReference& in, mapem_ts_TimeReference_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimeReference_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimestampIts.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimestampIts.h new file mode 100644 index 000000000..a356954da --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTimestampIts.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TimestampIts(const mapem_ts_TimestampIts_t& in, mapem_ts_msgs::TimestampIts& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TimestampIts(const mapem_ts_msgs::TimestampIts& in, mapem_ts_TimestampIts_t& out) { + memset(&out, 0, sizeof(mapem_ts_TimestampIts_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTraces.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTraces.h new file mode 100644 index 000000000..95b3da79d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTraces.h @@ -0,0 +1,64 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Traces(const mapem_ts_Traces_t& in, mapem_ts_msgs::Traces& out) { + for (int i = 0; i < in.list.count; ++i) { + mapem_ts_msgs::PathHistory el; + toRos_PathHistory(*(in.list.array[i]), el); + out.array.push_back(el); + } +} + +void toStruct_Traces(const mapem_ts_msgs::Traces& in, mapem_ts_Traces_t& out) { + memset(&out, 0, sizeof(mapem_ts_Traces_t)); + + for (int i = 0; i < in.array.size(); ++i) { + mapem_ts_PathHistory_t* el = (mapem_ts_PathHistory_t*) calloc(1, sizeof(mapem_ts_PathHistory_t)); + toStruct_PathHistory(in.array[i], *el); + if (asn_sequence_add(&out, el)) throw std::invalid_argument("Failed to add to A_SEQUENCE_OF"); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficConditionSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficConditionSubCauseCode.h new file mode 100644 index 000000000..38786307d --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficConditionSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TrafficConditionSubCauseCode(const mapem_ts_TrafficConditionSubCauseCode_t& in, mapem_ts_msgs::TrafficConditionSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TrafficConditionSubCauseCode(const mapem_ts_msgs::TrafficConditionSubCauseCode& in, mapem_ts_TrafficConditionSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_TrafficConditionSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficRule.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficRule.h new file mode 100644 index 000000000..9c42ec59e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTrafficRule.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TrafficRule(const mapem_ts_TrafficRule_t& in, mapem_ts_msgs::TrafficRule& out) { + out.value = in; +} + +void toStruct_TrafficRule(const mapem_ts_msgs::TrafficRule& in, mapem_ts_TrafficRule_t& out) { + memset(&out, 0, sizeof(mapem_ts_TrafficRule_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleOccupancy.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleOccupancy.h new file mode 100644 index 000000000..9cf0fc4bd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleOccupancy.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TransitVehicleOccupancy(const mapem_ts_TransitVehicleOccupancy_t& in, mapem_ts_msgs::TransitVehicleOccupancy& out) { + out.value = in; +} + +void toStruct_TransitVehicleOccupancy(const mapem_ts_msgs::TransitVehicleOccupancy& in, mapem_ts_TransitVehicleOccupancy_t& out) { + memset(&out, 0, sizeof(mapem_ts_TransitVehicleOccupancy_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleStatus.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleStatus.h new file mode 100644 index 000000000..98ed72c7c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransitVehicleStatus.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TransitVehicleStatus(const mapem_ts_TransitVehicleStatus_t& in, mapem_ts_msgs::TransitVehicleStatus& out) { + etsi_its_primitives_conversion::toRos_BIT_STRING(in, out.value); + out.bits_unused = in.bits_unused; +} + +void toStruct_TransitVehicleStatus(const mapem_ts_msgs::TransitVehicleStatus& in, mapem_ts_TransitVehicleStatus_t& out) { + memset(&out, 0, sizeof(mapem_ts_TransitVehicleStatus_t)); + + etsi_its_primitives_conversion::toStruct_BIT_STRING(in.value, out); + out.bits_unused = in.bits_unused; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionAndSpeed.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionAndSpeed.h new file mode 100644 index 000000000..1c5cc67fe --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionAndSpeed.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TransmissionAndSpeed(const mapem_ts_TransmissionAndSpeed_t& in, mapem_ts_msgs::TransmissionAndSpeed& out) { + toRos_TransmissionState(in.transmisson, out.transmisson); + toRos_Velocity(in.speed, out.speed); +} + +void toStruct_TransmissionAndSpeed(const mapem_ts_msgs::TransmissionAndSpeed& in, mapem_ts_TransmissionAndSpeed_t& out) { + memset(&out, 0, sizeof(mapem_ts_TransmissionAndSpeed_t)); + + toStruct_TransmissionState(in.transmisson, out.transmisson); + toStruct_Velocity(in.speed, out.speed); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionInterval.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionInterval.h new file mode 100644 index 000000000..879f27680 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionInterval.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TransmissionInterval(const mapem_ts_TransmissionInterval_t& in, mapem_ts_msgs::TransmissionInterval& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TransmissionInterval(const mapem_ts_msgs::TransmissionInterval& in, mapem_ts_TransmissionInterval_t& out) { + memset(&out, 0, sizeof(mapem_ts_TransmissionInterval_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionState.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionState.h new file mode 100644 index 000000000..22a13f977 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTransmissionState.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TransmissionState(const mapem_ts_TransmissionState_t& in, mapem_ts_msgs::TransmissionState& out) { + out.value = in; +} + +void toStruct_TransmissionState(const mapem_ts_msgs::TransmissionState& in, mapem_ts_TransmissionState_t& out) { + memset(&out, 0, sizeof(mapem_ts_TransmissionState_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTurningRadius.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTurningRadius.h new file mode 100644 index 000000000..b26b5e18c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertTurningRadius.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_TurningRadius(const mapem_ts_TurningRadius_t& in, mapem_ts_msgs::TurningRadius& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_TurningRadius(const mapem_ts_msgs::TurningRadius& in, mapem_ts_TurningRadius_t& out) { + memset(&out, 0, sizeof(mapem_ts_TurningRadius_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVDS.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVDS.h new file mode 100644 index 000000000..6484571ae --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVDS.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VDS(const mapem_ts_VDS_t& in, mapem_ts_msgs::VDS& out) { + etsi_its_primitives_conversion::toRos_IA5String(in, out.value); +} + +void toStruct_VDS(const mapem_ts_msgs::VDS& in, mapem_ts_VDS_t& out) { + memset(&out, 0, sizeof(mapem_ts_VDS_t)); + + etsi_its_primitives_conversion::toStruct_IA5String(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertValidityDuration.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertValidityDuration.h new file mode 100644 index 000000000..c1f459f35 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertValidityDuration.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ValidityDuration(const mapem_ts_ValidityDuration_t& in, mapem_ts_msgs::ValidityDuration& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ValidityDuration(const mapem_ts_msgs::ValidityDuration& in, mapem_ts_ValidityDuration_t& out) { + memset(&out, 0, sizeof(mapem_ts_ValidityDuration_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleBreakdownSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleBreakdownSubCauseCode.h new file mode 100644 index 000000000..2676a1709 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleBreakdownSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleBreakdownSubCauseCode(const mapem_ts_VehicleBreakdownSubCauseCode_t& in, mapem_ts_msgs::VehicleBreakdownSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VehicleBreakdownSubCauseCode(const mapem_ts_msgs::VehicleBreakdownSubCauseCode& in, mapem_ts_VehicleBreakdownSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleBreakdownSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleHeight.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleHeight.h new file mode 100644 index 000000000..fc3f2029e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleHeight.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleHeight(const mapem_ts_VehicleHeight_t& in, mapem_ts_msgs::VehicleHeight& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VehicleHeight(const mapem_ts_msgs::VehicleHeight& in, mapem_ts_VehicleHeight_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleHeight_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleID.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleID.h new file mode 100644 index 000000000..c81eacc67 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleID.h @@ -0,0 +1,74 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleID(const mapem_ts_VehicleID_t& in, mapem_ts_msgs::VehicleID& out) { + switch (in.present) { + case mapem_ts_VehicleID_PR_entityID: + toRos_TemporaryID(in.choice.entityID, out.entity_id); + out.choice = mapem_ts_msgs::VehicleID::CHOICE_ENTITY_ID; + break; + case mapem_ts_VehicleID_PR_stationID: + toRos_StationID(in.choice.stationID, out.station_id); + out.choice = mapem_ts_msgs::VehicleID::CHOICE_STATION_ID; + break; + default: break; + } +} + +void toStruct_VehicleID(const mapem_ts_msgs::VehicleID& in, mapem_ts_VehicleID_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleID_t)); + + switch (in.choice) { + case mapem_ts_msgs::VehicleID::CHOICE_ENTITY_ID: + toStruct_TemporaryID(in.entity_id, out.choice.entityID); + out.present = mapem_ts_VehicleID_PR::mapem_ts_VehicleID_PR_entityID; + break; + case mapem_ts_msgs::VehicleID::CHOICE_STATION_ID: + toStruct_StationID(in.station_id, out.choice.stationID); + out.present = mapem_ts_VehicleID_PR::mapem_ts_VehicleID_PR_stationID; + break; + default: break; + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleIdentification.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleIdentification.h new file mode 100644 index 000000000..9cdd70331 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleIdentification.h @@ -0,0 +1,68 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleIdentification(const mapem_ts_VehicleIdentification_t& in, mapem_ts_msgs::VehicleIdentification& out) { + if (in.wMInumber) { + toRos_WMInumber(*in.wMInumber, out.w_m_inumber); + out.w_m_inumber_is_present = true; + } + if (in.vDS) { + toRos_VDS(*in.vDS, out.v_ds); + out.v_ds_is_present = true; + } +} + +void toStruct_VehicleIdentification(const mapem_ts_msgs::VehicleIdentification& in, mapem_ts_VehicleIdentification_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleIdentification_t)); + + if (in.w_m_inumber_is_present) { + out.wMInumber = (mapem_ts_WMInumber_t*) calloc(1, sizeof(mapem_ts_WMInumber_t)); + toStruct_WMInumber(in.w_m_inumber, *out.wMInumber); + } + if (in.v_ds_is_present) { + out.vDS = (mapem_ts_VDS_t*) calloc(1, sizeof(mapem_ts_VDS_t)); + toStruct_VDS(in.v_ds, *out.vDS); + } +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLength.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLength.h new file mode 100644 index 000000000..992932096 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLength.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleLength(const mapem_ts_VehicleLength_t& in, mapem_ts_msgs::VehicleLength& out) { + toRos_VehicleLengthValue(in.vehicleLengthValue, out.vehicle_length_value); + toRos_VehicleLengthConfidenceIndication(in.vehicleLengthConfidenceIndication, out.vehicle_length_confidence_indication); +} + +void toStruct_VehicleLength(const mapem_ts_msgs::VehicleLength& in, mapem_ts_VehicleLength_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleLength_t)); + + toStruct_VehicleLengthValue(in.vehicle_length_value, out.vehicleLengthValue); + toStruct_VehicleLengthConfidenceIndication(in.vehicle_length_confidence_indication, out.vehicleLengthConfidenceIndication); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthConfidenceIndication.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthConfidenceIndication.h new file mode 100644 index 000000000..13cc91345 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthConfidenceIndication.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleLengthConfidenceIndication(const mapem_ts_VehicleLengthConfidenceIndication_t& in, mapem_ts_msgs::VehicleLengthConfidenceIndication& out) { + out.value = in; +} + +void toStruct_VehicleLengthConfidenceIndication(const mapem_ts_msgs::VehicleLengthConfidenceIndication& in, mapem_ts_VehicleLengthConfidenceIndication_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleLengthConfidenceIndication_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthValue.h new file mode 100644 index 000000000..480eaa853 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleLengthValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleLengthValue(const mapem_ts_VehicleLengthValue_t& in, mapem_ts_msgs::VehicleLengthValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VehicleLengthValue(const mapem_ts_msgs::VehicleLengthValue& in, mapem_ts_VehicleLengthValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleLengthValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleMass.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleMass.h new file mode 100644 index 000000000..2fca9d86c --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleMass.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleMass(const mapem_ts_VehicleMass_t& in, mapem_ts_msgs::VehicleMass& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VehicleMass(const mapem_ts_msgs::VehicleMass& in, mapem_ts_VehicleMass_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleMass_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleRole.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleRole.h new file mode 100644 index 000000000..a4b249bb6 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleRole.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleRole(const mapem_ts_VehicleRole_t& in, mapem_ts_msgs::VehicleRole& out) { + out.value = in; +} + +void toStruct_VehicleRole(const mapem_ts_msgs::VehicleRole& in, mapem_ts_VehicleRole_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleRole_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleType.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleType.h new file mode 100644 index 000000000..4e19ac2c2 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleType.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleType(const mapem_ts_VehicleType_t& in, mapem_ts_msgs::VehicleType& out) { + out.value = in; +} + +void toStruct_VehicleType(const mapem_ts_msgs::VehicleType& in, mapem_ts_VehicleType_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleType_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleWidth.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleWidth.h new file mode 100644 index 000000000..51821a752 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVehicleWidth.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VehicleWidth(const mapem_ts_VehicleWidth_t& in, mapem_ts_msgs::VehicleWidth& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VehicleWidth(const mapem_ts_msgs::VehicleWidth& in, mapem_ts_VehicleWidth_t& out) { + memset(&out, 0, sizeof(mapem_ts_VehicleWidth_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVelocity.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVelocity.h new file mode 100644 index 000000000..1174fe162 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVelocity.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_Velocity(const mapem_ts_Velocity_t& in, mapem_ts_msgs::Velocity& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_Velocity(const mapem_ts_msgs::Velocity& in, mapem_ts_Velocity_t& out) { + memset(&out, 0, sizeof(mapem_ts_Velocity_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAcceleration.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAcceleration.h new file mode 100644 index 000000000..c8250cf74 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAcceleration.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VerticalAcceleration(const mapem_ts_VerticalAcceleration_t& in, mapem_ts_msgs::VerticalAcceleration& out) { + toRos_VerticalAccelerationValue(in.verticalAccelerationValue, out.vertical_acceleration_value); + toRos_AccelerationConfidence(in.verticalAccelerationConfidence, out.vertical_acceleration_confidence); +} + +void toStruct_VerticalAcceleration(const mapem_ts_msgs::VerticalAcceleration& in, mapem_ts_VerticalAcceleration_t& out) { + memset(&out, 0, sizeof(mapem_ts_VerticalAcceleration_t)); + + toStruct_VerticalAccelerationValue(in.vertical_acceleration_value, out.verticalAccelerationValue); + toStruct_AccelerationConfidence(in.vertical_acceleration_confidence, out.verticalAccelerationConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAccelerationValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAccelerationValue.h new file mode 100644 index 000000000..d39090fce --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertVerticalAccelerationValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_VerticalAccelerationValue(const mapem_ts_VerticalAccelerationValue_t& in, mapem_ts_msgs::VerticalAccelerationValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_VerticalAccelerationValue(const mapem_ts_msgs::VerticalAccelerationValue& in, mapem_ts_VerticalAccelerationValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_VerticalAccelerationValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWMInumber.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWMInumber.h new file mode 100644 index 000000000..69df6827e --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWMInumber.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_WMInumber(const mapem_ts_WMInumber_t& in, mapem_ts_msgs::WMInumber& out) { + etsi_its_primitives_conversion::toRos_IA5String(in, out.value); +} + +void toStruct_WMInumber(const mapem_ts_msgs::WMInumber& in, mapem_ts_WMInumber_t& out) { + memset(&out, 0, sizeof(mapem_ts_WMInumber_t)); + + etsi_its_primitives_conversion::toStruct_IA5String(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWaitOnStopline.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWaitOnStopline.h new file mode 100644 index 000000000..397679e44 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWaitOnStopline.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_WaitOnStopline(const mapem_ts_WaitOnStopline_t& in, mapem_ts_msgs::WaitOnStopline& out) { + etsi_its_primitives_conversion::toRos_BOOLEAN(in, out.value); +} + +void toStruct_WaitOnStopline(const mapem_ts_msgs::WaitOnStopline& in, mapem_ts_WaitOnStopline_t& out) { + memset(&out, 0, sizeof(mapem_ts_WaitOnStopline_t)); + + etsi_its_primitives_conversion::toStruct_BOOLEAN(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWheelBaseVehicle.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWheelBaseVehicle.h new file mode 100644 index 000000000..70b5c0b40 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWheelBaseVehicle.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_WheelBaseVehicle(const mapem_ts_WheelBaseVehicle_t& in, mapem_ts_msgs::WheelBaseVehicle& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_WheelBaseVehicle(const mapem_ts_msgs::WheelBaseVehicle& in, mapem_ts_WheelBaseVehicle_t& out) { + memset(&out, 0, sizeof(mapem_ts_WheelBaseVehicle_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWrongWayDrivingSubCauseCode.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWrongWayDrivingSubCauseCode.h new file mode 100644 index 000000000..183541efd --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertWrongWayDrivingSubCauseCode.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_WrongWayDrivingSubCauseCode(const mapem_ts_WrongWayDrivingSubCauseCode_t& in, mapem_ts_msgs::WrongWayDrivingSubCauseCode& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_WrongWayDrivingSubCauseCode(const mapem_ts_msgs::WrongWayDrivingSubCauseCode& in, mapem_ts_WrongWayDrivingSubCauseCode_t& out) { + memset(&out, 0, sizeof(mapem_ts_WrongWayDrivingSubCauseCode_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRate.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRate.h new file mode 100644 index 000000000..3e2920167 --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRate.h @@ -0,0 +1,56 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_YawRate(const mapem_ts_YawRate_t& in, mapem_ts_msgs::YawRate& out) { + toRos_YawRateValue(in.yawRateValue, out.yaw_rate_value); + toRos_YawRateConfidence(in.yawRateConfidence, out.yaw_rate_confidence); +} + +void toStruct_YawRate(const mapem_ts_msgs::YawRate& in, mapem_ts_YawRate_t& out) { + memset(&out, 0, sizeof(mapem_ts_YawRate_t)); + + toStruct_YawRateValue(in.yaw_rate_value, out.yawRateValue); + toStruct_YawRateConfidence(in.yaw_rate_confidence, out.yawRateConfidence); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateConfidence.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateConfidence.h new file mode 100644 index 000000000..7779c6b7f --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateConfidence.h @@ -0,0 +1,53 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include + +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_YawRateConfidence(const mapem_ts_YawRateConfidence_t& in, mapem_ts_msgs::YawRateConfidence& out) { + out.value = in; +} + +void toStruct_YawRateConfidence(const mapem_ts_msgs::YawRateConfidence& in, mapem_ts_YawRateConfidence_t& out) { + memset(&out, 0, sizeof(mapem_ts_YawRateConfidence_t)); + + out = in.value; +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateValue.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateValue.h new file mode 100644 index 000000000..59ddad40b --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertYawRateValue.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_YawRateValue(const mapem_ts_YawRateValue_t& in, mapem_ts_msgs::YawRateValue& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_YawRateValue(const mapem_ts_msgs::YawRateValue& in, mapem_ts_YawRateValue_t& out) { + memset(&out, 0, sizeof(mapem_ts_YawRateValue_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertZoneLength.h b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertZoneLength.h new file mode 100644 index 000000000..013a170ee --- /dev/null +++ b/etsi_its_conversion/etsi_its_mapem_ts_conversion/include/etsi_its_mapem_ts_conversion/convertZoneLength.h @@ -0,0 +1,54 @@ +/** ============================================================================ +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +============================================================================= */ + +// --- Auto-generated by asn1ToConversionHeader.py ----------------------------- + +#pragma once + +#include +#include +#include +#ifdef ROS1 +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs; +#else +#include +namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg; +#endif + + +namespace etsi_its_mapem_ts_conversion { + +void toRos_ZoneLength(const mapem_ts_ZoneLength_t& in, mapem_ts_msgs::ZoneLength& out) { + etsi_its_primitives_conversion::toRos_INTEGER(in, out.value); +} + +void toStruct_ZoneLength(const mapem_ts_msgs::ZoneLength& in, mapem_ts_ZoneLength_t& out) { + memset(&out, 0, sizeof(mapem_ts_ZoneLength_t)); + + etsi_its_primitives_conversion::toStruct_INTEGER(in.value, out); +} + +} diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationConfidence.msg new file mode 100644 index 000000000..cc52403d6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationConfidence.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AccelerationConfidence ::= INTEGER {pointOneMeterPerSecSquared(1), outOfRange(101), unavailable(102)} (0 .. 102) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 102 +uint8 POINT_ONE_METER_PER_SEC_SQUARED = 1 +uint8 OUT_OF_RANGE = 101 +uint8 UNAVAILABLE = 102 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationControl.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationControl.msg new file mode 100644 index 000000000..5f9a28c5c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccelerationControl.msg @@ -0,0 +1,49 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AccelerationControl ::= BIT STRING { +# brakePedalEngaged (0), +# gasPedalEngaged (1), +# emergencyBrakeEngaged (2), +# collisionWarningEngaged (3), +# accEngaged (4), +# cruiseControlEngaged (5), +# speedLimiterEngaged (6) +# } (SIZE(7)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 7 +uint8 BIT_INDEX_BRAKE_PEDAL_ENGAGED = 0 +uint8 BIT_INDEX_GAS_PEDAL_ENGAGED = 1 +uint8 BIT_INDEX_EMERGENCY_BRAKE_ENGAGED = 2 +uint8 BIT_INDEX_COLLISION_WARNING_ENGAGED = 3 +uint8 BIT_INDEX_ACC_ENGAGED = 4 +uint8 BIT_INDEX_CRUISE_CONTROL_ENGAGED = 5 +uint8 BIT_INDEX_SPEED_LIMITER_ENGAGED = 6 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccidentSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccidentSubCauseCode.msg new file mode 100644 index 000000000..290fbab08 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AccidentSubCauseCode.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AccidentSubCauseCode ::= INTEGER {unavailable(0), multiVehicleAccident(1), heavyAccident(2), accidentInvolvingLorry(3), accidentInvolvingBus(4), accidentInvolvingHazardousMaterials(5), accidentOnOppositeLane(6), unsecuredAccident(7), assistanceRequested(8)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 MULTI_VEHICLE_ACCIDENT = 1 +uint8 HEAVY_ACCIDENT = 2 +uint8 ACCIDENT_INVOLVING_LORRY = 3 +uint8 ACCIDENT_INVOLVING_BUS = 4 +uint8 ACCIDENT_INVOLVING_HAZARDOUS_MATERIALS = 5 +uint8 ACCIDENT_ON_OPPOSITE_LANE = 6 +uint8 UNSECURED_ACCIDENT = 7 +uint8 ASSISTANCE_REQUESTED = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ActionID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ActionID.msg new file mode 100644 index 000000000..da824d68a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ActionID.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ActionID ::= SEQUENCE { +# originatingStationID StationID, +# sequenceNumber SequenceNumber +# } +# ------------------------------------------------------------------------------ +StationID originating_station_id + +SequenceNumber sequence_number + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionAdhesionSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionAdhesionSubCauseCode.msg new file mode 100644 index 000000000..273e4de06 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionAdhesionSubCauseCode.msg @@ -0,0 +1,45 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdverseWeatherCondition-AdhesionSubCauseCode ::= INTEGER {unavailable(0), heavyFrostOnRoad(1), fuelOnRoad(2), mudOnRoad(3), snowOnRoad(4), iceOnRoad(5), blackIceOnRoad(6), oilOnRoad(7), looseChippings(8), instantBlackIce(9), roadsSalted(10)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 HEAVY_FROST_ON_ROAD = 1 +uint8 FUEL_ON_ROAD = 2 +uint8 MUD_ON_ROAD = 3 +uint8 SNOW_ON_ROAD = 4 +uint8 ICE_ON_ROAD = 5 +uint8 BLACK_ICE_ON_ROAD = 6 +uint8 OIL_ON_ROAD = 7 +uint8 LOOSE_CHIPPINGS = 8 +uint8 INSTANT_BLACK_ICE = 9 +uint8 ROADS_SALTED = 10 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionExtremeWeatherConditionSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionExtremeWeatherConditionSubCauseCode.msg new file mode 100644 index 000000000..e37c7b7ce --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionExtremeWeatherConditionSubCauseCode.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode ::= INTEGER {unavailable(0), strongWinds(1), damagingHail(2), hurricane(3), thunderstorm(4), tornado(5), blizzard(6)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 STRONG_WINDS = 1 +uint8 DAMAGING_HAIL = 2 +uint8 HURRICANE = 3 +uint8 THUNDERSTORM = 4 +uint8 TORNADO = 5 +uint8 BLIZZARD = 6 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionPrecipitationSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionPrecipitationSubCauseCode.msg new file mode 100644 index 000000000..70c22314a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionPrecipitationSubCauseCode.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdverseWeatherCondition-PrecipitationSubCauseCode ::= INTEGER {unavailable(0), heavyRain(1), heavySnowfall(2), softHail(3)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 HEAVY_RAIN = 1 +uint8 HEAVY_SNOWFALL = 2 +uint8 SOFT_HAIL = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionVisibilitySubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionVisibilitySubCauseCode.msg new file mode 100644 index 000000000..8a24747e5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdverseWeatherConditionVisibilitySubCauseCode.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdverseWeatherCondition-VisibilitySubCauseCode ::= INTEGER {unavailable(0), fog(1), smoke(2), heavySnowfall(3), heavyRain(4), heavyHail(5), lowSunGlare(6), sandstorms(7), swarmsOfInsects(8)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 FOG = 1 +uint8 SMOKE = 2 +uint8 HEAVY_SNOWFALL = 3 +uint8 HEAVY_RAIN = 4 +uint8 HEAVY_HAIL = 5 +uint8 LOW_SUN_GLARE = 6 +uint8 SANDSTORMS = 7 +uint8 SWARMS_OF_INSECTS = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeed.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeed.msg new file mode 100644 index 000000000..b7b6168d6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeed.msg @@ -0,0 +1,93 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdvisorySpeed ::= SEQUENCE { +# type AdvisorySpeedType, +# speed SpeedAdvice OPTIONAL, +# confidence SpeedConfidenceDSRC OPTIONAL, +# distance ZoneLength OPTIONAL, +# class RestrictionClassID OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-AdvisorySpeed}} OPTIONAL, +# ------------------------------------------------------------------------------ +# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +# Start of entries from table Data_Frames... +# Data frames +# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +AdvisorySpeedType type + +SpeedAdvice speed +bool speed_is_present + +SpeedConfidenceDSRC confidence +bool confidence_is_present + +ZoneLength distance +bool distance_is_present + +RestrictionClassID class +bool class_is_present + +AdvisorySpeedregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF AdvisorySpeedregional +# Inner type + +AnonymousAdvisorySpeedregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedList.msg new file mode 100644 index 000000000..ba4ef43dc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdvisorySpeedList ::= SEQUENCE (SIZE(1..16)) OF AdvisorySpeed +# ------------------------------------------------------------------------------ + +AdvisorySpeed[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedType.msg new file mode 100644 index 000000000..e62b3e5b2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AdvisorySpeedType.msg @@ -0,0 +1,46 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AdvisorySpeedType ::= ENUMERATED { +# none (0), +# greenwave (1), +# ecoDrive (2), +# transit (3), +# ... +# } +# ------------------------------------------------------------------------------ +# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +# data elements +# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +uint8 value +uint8 NONE = 0 +uint8 GREENWAVE = 1 +uint8 ECO_DRIVE = 2 +uint8 TRANSIT = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AllowedManeuvers.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AllowedManeuvers.msg new file mode 100644 index 000000000..f3f2a1d85 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AllowedManeuvers.msg @@ -0,0 +1,59 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AllowedManeuvers ::= BIT STRING { +# maneuverStraightAllowed (0), +# maneuverLeftAllowed (1), +# maneuverRightAllowed (2), +# maneuverUTurnAllowed (3), +# maneuverLeftTurnOnRedAllowed (4), +# maneuverRightTurnOnRedAllowed (5), +# maneuverLaneChangeAllowed (6), +# maneuverNoStoppingAllowed (7), +# yieldAllwaysRequired (8), +# goWithHalt (9), +# caution (10), +# reserved1 (11) +# } (SIZE(12)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 12 +uint8 BIT_INDEX_MANEUVER_STRAIGHT_ALLOWED = 0 +uint8 BIT_INDEX_MANEUVER_LEFT_ALLOWED = 1 +uint8 BIT_INDEX_MANEUVER_RIGHT_ALLOWED = 2 +uint8 BIT_INDEX_MANEUVER_U_TURN_ALLOWED = 3 +uint8 BIT_INDEX_MANEUVER_LEFT_TURN_ON_RED_ALLOWED = 4 +uint8 BIT_INDEX_MANEUVER_RIGHT_TURN_ON_RED_ALLOWED = 5 +uint8 BIT_INDEX_MANEUVER_LANE_CHANGE_ALLOWED = 6 +uint8 BIT_INDEX_MANEUVER_NO_STOPPING_ALLOWED = 7 +uint8 BIT_INDEX_YIELD_ALLWAYS_REQUIRED = 8 +uint8 BIT_INDEX_GO_WITH_HALT = 9 +uint8 BIT_INDEX_CAUTION = 10 +uint8 BIT_INDEX_RESERVED1 = 11 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AlphabetIndicator.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AlphabetIndicator.msg new file mode 100644 index 000000000..e2f25e86d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AlphabetIndicator.msg @@ -0,0 +1,59 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AlphabetIndicator::= INTEGER { +# latinAlphabetNo1 (0), -- encoded as 00 00 00 B +# latinAlphabetNo2 (1), -- encoded as 00 00 01 B etc +# latinAlphabetNo3 (2), +# latinAlphabetNo4 (3), +# latinCyrillicAlphabet (4), +# latinArabicAlphabet (5), +# latinGreekAlphabet (6), +# latinHebrewAlphabet (7), +# latinAlphabetNo5 (8), +# latinAlphabetNo6 (9), +# twoOctetBMP (10), +# fourOctetCanonical (11) +# } (0..63) -- 6 bits, latinAlphabetNo1 recommended +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 63 +uint8 LATIN_ALPHABET_NO1 = 0 +uint8 LATIN_ALPHABET_NO2 = 1 +uint8 LATIN_ALPHABET_NO3 = 2 +uint8 LATIN_ALPHABET_NO4 = 3 +uint8 LATIN_CYRILLIC_ALPHABET = 4 +uint8 LATIN_ARABIC_ALPHABET = 5 +uint8 LATIN_GREEK_ALPHABET = 6 +uint8 LATIN_HEBREW_ALPHABET = 7 +uint8 LATIN_ALPHABET_NO5 = 8 +uint8 LATIN_ALPHABET_NO6 = 9 +uint8 TWO_OCTET_BMP = 10 +uint8 FOUR_OCTET_CANONICAL = 11 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Altitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Altitude.msg new file mode 100644 index 000000000..8eba07254 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Altitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Altitude ::= SEQUENCE { +# altitudeValue AltitudeValue, +# altitudeConfidence AltitudeConfidence +# } +# ------------------------------------------------------------------------------ +AltitudeValue altitude_value + +AltitudeConfidence altitude_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeConfidence.msg new file mode 100644 index 000000000..6be322d13 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeConfidence.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AltitudeConfidence ::= ENUMERATED { +# alt-000-01 (0), +# alt-000-02 (1), +# alt-000-05 (2), +# alt-000-10 (3), +# alt-000-20 (4), +# alt-000-50 (5), +# alt-001-00 (6), +# alt-002-00 (7), +# alt-005-00 (8), +# alt-010-00 (9), +# alt-020-00 (10), +# alt-050-00 (11), +# alt-100-00 (12), +# alt-200-00 (13), +# outOfRange (14), +# unavailable (15) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 ALT_000_01 = 0 +uint8 ALT_000_02 = 1 +uint8 ALT_000_05 = 2 +uint8 ALT_000_10 = 3 +uint8 ALT_000_20 = 4 +uint8 ALT_000_50 = 5 +uint8 ALT_001_00 = 6 +uint8 ALT_002_00 = 7 +uint8 ALT_005_00 = 8 +uint8 ALT_010_00 = 9 +uint8 ALT_020_00 = 10 +uint8 ALT_050_00 = 11 +uint8 ALT_100_00 = 12 +uint8 ALT_200_00 = 13 +uint8 OUT_OF_RANGE = 14 +uint8 UNAVAILABLE = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeValue.msg new file mode 100644 index 000000000..993b5d523 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AltitudeValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AltitudeValue ::= INTEGER {referenceEllipsoidSurface(0), oneCentimeter(1), unavailable(800001)} (-100000..800001) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -100000 +int32 MAX = 800001 +int32 REFERENCE_ELLIPSOID_SURFACE = 0 +int32 ONE_CENTIMETER = 1 +int32 UNAVAILABLE = 800001 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Angle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Angle.msg new file mode 100644 index 000000000..4e953430e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Angle.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Angle ::= INTEGER (0..28800) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 28800 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AntennaOffsetSet.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AntennaOffsetSet.msg new file mode 100644 index 000000000..2a98f09e4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AntennaOffsetSet.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AntennaOffsetSet ::= SEQUENCE { +# antOffsetX Offset-B12, +# antOffsetY Offset-B09, +# antOffsetZ Offset-B10 +# } +# ------------------------------------------------------------------------------ +OffsetB12 ant_offset_x + +OffsetB09 ant_offset_y + +OffsetB10 ant_offset_z + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ApproachID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ApproachID.msg new file mode 100644 index 000000000..d66d9080b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ApproachID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ApproachID ::= INTEGER (0..15) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AviEriDateTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AviEriDateTime.msg new file mode 100644 index 000000000..b31c32098 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/AviEriDateTime.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# AviEriDateTime ::= OCTET STRING (SIZE(10)) -- YYMMDDhhmm +# ------------------------------------------------------------------------------ +# 6 bits, latinAlphabetNo1 recommended + +uint8[] value +uint8 SIZE = 10 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BasicVehicleRole.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BasicVehicleRole.msg new file mode 100644 index 000000000..596fade04 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BasicVehicleRole.msg @@ -0,0 +1,81 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# BasicVehicleRole ::= ENUMERATED { +# basicVehicle (0), +# publicTransport (1), +# specialTransport (2), +# dangerousGoods (3), +# roadWork (4), +# roadRescue (5), +# emergency (6), +# safetyCar (7), +# none-unknown (8), +# truck (9), +# motorcycle (10), +# roadSideSource (11), +# police (12), +# fire (13), +# ambulance (14), +# dot (15), +# transit (16), +# slowMoving (17), +# stopNgo (18), +# cyclist (19), +# pedestrian (20), +# nonMotorized (21), +# military (22), +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 BASIC_VEHICLE = 0 +uint8 PUBLIC_TRANSPORT = 1 +uint8 SPECIAL_TRANSPORT = 2 +uint8 DANGEROUS_GOODS = 3 +uint8 ROAD_WORK = 4 +uint8 ROAD_RESCUE = 5 +uint8 EMERGENCY = 6 +uint8 SAFETY_CAR = 7 +uint8 NONE_UNKNOWN = 8 +uint8 TRUCK = 9 +uint8 MOTORCYCLE = 10 +uint8 ROAD_SIDE_SOURCE = 11 +uint8 POLICE = 12 +uint8 FIRE = 13 +uint8 AMBULANCE = 14 +uint8 DOT = 15 +uint8 TRANSIT = 16 +uint8 SLOW_MOVING = 17 +uint8 STOP_NGO = 18 +uint8 CYCLIST = 19 +uint8 PEDESTRIAN = 20 +uint8 NON_MOTORIZED = 21 +uint8 MILITARY = 22 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BatteryStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BatteryStatus.msg new file mode 100644 index 000000000..e5c3072e7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/BatteryStatus.msg @@ -0,0 +1,46 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# BatteryStatus ::= ENUMERATED { +# unknown, +# critical, +# low, +# good, +# ... +# } +# ------------------------------------------------------------------------------ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Data elements +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +uint8 value +uint8 UNKNOWN = 0 +uint8 CRITICAL = 1 +uint8 LOW = 2 +uint8 GOOD = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS1.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS1.msg new file mode 100644 index 000000000..4fc08576c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS1.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS1::= SEQUENCE { +# countryCode CountryCode, +# issuerIdentifier IssuerIdentifier, +# serviceNumber ServiceNumber +# } +# ------------------------------------------------------------------------------ +CountryCode country_code + +IssuerIdentifier issuer_identifier + +ServiceNumber service_number + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS2.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS2.msg new file mode 100644 index 000000000..d6b481ae6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS2.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS2::= SEQUENCE { +# manufacturerIdentifier ManufacturerIdentifier, +# serviceNumber ServiceNumber +# } +# ------------------------------------------------------------------------------ +ManufacturerIdentifier manufacturer_identifier + +ServiceNumber service_number + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS3.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS3.msg new file mode 100644 index 000000000..970a8ba09 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS3.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS3::= SEQUENCE { +# startTime StartTime, +# stopTime StopTime, +# geographLimit GeoGraphicalLimit, +# serviceAppLimit ServiceApplicationLimit +# } +# ------------------------------------------------------------------------------ +StartTime start_time + +StopTime stop_time + +GeoGraphicalLimit geograph_limit + +ServiceApplicationLimit service_app_limit + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS4.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS4.msg new file mode 100644 index 000000000..0cbfbbb09 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS4.msg @@ -0,0 +1,48 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS4::= SEQUENCE { +# countryCode CountryCode, +# alphabetIndicator AlphabetIndicator, +# licPlateNumber LicPlateNumber +# } (WITH COMPONENTS {..., licPlateNumber (SIZE(14))}) +# ------------------------------------------------------------------------------ +# +#CS4::= SEQUENCE { +# countryCode CountryCode, +# alphabetIndicator AlphabetIndicator, +# licPlateNumber LicPlateNumber +# } +# + +CountryCode country_code + +AlphabetIndicator alphabet_indicator + +LicPlateNumber lic_plate_number + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS5.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS5.msg new file mode 100644 index 000000000..03dfed881 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS5.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS5::= SEQUENCE{ +# vin VisibleString, -- 17 characters VIN +# fill BIT STRING (SIZE(9)) -- set to '000000000' +# } +# ------------------------------------------------------------------------------ +string vin + +uint8[] fill +uint8 FILL_SIZE = 9 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS7.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS7.msg new file mode 100644 index 000000000..61d2c22ca --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS7.msg @@ -0,0 +1,32 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS7::= FreightContainerData +# ------------------------------------------------------------------------------ + +FreightContainerData value diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS8.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS8.msg new file mode 100644 index 000000000..aa9b9a6d6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CS8.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CS8::= SEQUENCE { -- octet aligned by means of 6 fill bits at the beginning +# fill BIT STRING (SIZE(6)), -- set to '000000' +# countryCode CountryCode, -- 10 bits +# taxCode TaxCode +# } +# ------------------------------------------------------------------------------ +# 12 octets + +uint8[] fill +uint8 FILL_SIZE = 6 + +CountryCode country_code + +TaxCode tax_code + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCode.msg new file mode 100644 index 000000000..795187fbc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCode.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CauseCode ::= SEQUENCE { +# causeCode CauseCodeType, +# subCauseCode SubCauseCodeType, +# ... +# } +# ------------------------------------------------------------------------------ +CauseCodeType cause_code + +SubCauseCodeType sub_cause_code + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCodeType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCodeType.msg new file mode 100644 index 000000000..6c969c9ad --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CauseCodeType.msg @@ -0,0 +1,89 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CauseCodeType ::= INTEGER { +# reserved (0), +# trafficCondition (1), +# accident (2), +# roadworks (3), +# impassability (5), +# adverseWeatherCondition-Adhesion (6), +# aquaplannning (7), +# hazardousLocation-SurfaceCondition (9), +# hazardousLocation-ObstacleOnTheRoad (10), +# hazardousLocation-AnimalOnTheRoad (11), +# humanPresenceOnTheRoad (12), +# wrongWayDriving (14), +# rescueAndRecoveryWorkInProgress (15), +# adverseWeatherCondition-ExtremeWeatherCondition (17), +# adverseWeatherCondition-Visibility (18), +# adverseWeatherCondition-Precipitation (19), +# slowVehicle (26), +# dangerousEndOfQueue (27), +# vehicleBreakdown (91), +# postCrash (92), +# humanProblem (93), +# stationaryVehicle (94), +# emergencyVehicleApproaching (95), +# hazardousLocation-DangerousCurve (96), +# collisionRisk (97), +# signalViolation (98), +# dangerousSituation (99) +# } (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 RESERVED = 0 +uint8 TRAFFIC_CONDITION = 1 +uint8 ACCIDENT = 2 +uint8 ROADWORKS = 3 +uint8 IMPASSABILITY = 5 +uint8 ADVERSE_WEATHER_CONDITION_ADHESION = 6 +uint8 AQUAPLANNNING = 7 +uint8 HAZARDOUS_LOCATION_SURFACE_CONDITION = 9 +uint8 HAZARDOUS_LOCATION_OBSTACLE_ON_THE_ROAD = 10 +uint8 HAZARDOUS_LOCATION_ANIMAL_ON_THE_ROAD = 11 +uint8 HUMAN_PRESENCE_ON_THE_ROAD = 12 +uint8 WRONG_WAY_DRIVING = 14 +uint8 RESCUE_AND_RECOVERY_WORK_IN_PROGRESS = 15 +uint8 ADVERSE_WEATHER_CONDITION_EXTREME_WEATHER_CONDITION = 17 +uint8 ADVERSE_WEATHER_CONDITION_VISIBILITY = 18 +uint8 ADVERSE_WEATHER_CONDITION_PRECIPITATION = 19 +uint8 SLOW_VEHICLE = 26 +uint8 DANGEROUS_END_OF_QUEUE = 27 +uint8 VEHICLE_BREAKDOWN = 91 +uint8 POST_CRASH = 92 +uint8 HUMAN_PROBLEM = 93 +uint8 STATIONARY_VEHICLE = 94 +uint8 EMERGENCY_VEHICLE_APPROACHING = 95 +uint8 HAZARDOUS_LOCATION_DANGEROUS_CURVE = 96 +uint8 COLLISION_RISK = 97 +uint8 SIGNAL_VIOLATION = 98 +uint8 DANGEROUS_SITUATION = 99 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZone.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZone.msg new file mode 100644 index 000000000..2639b5798 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZone.msg @@ -0,0 +1,42 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CenDsrcTollingZone ::= SEQUENCE { +# protectedZoneLatitude Latitude, +# protectedZoneLongitude Longitude, +# cenDsrcTollingZoneID CenDsrcTollingZoneID OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +Latitude protected_zone_latitude + +Longitude protected_zone_longitude + +CenDsrcTollingZoneID cen_dsrc_tolling_zone_id +bool cen_dsrc_tolling_zone_id_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZoneID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZoneID.msg new file mode 100644 index 000000000..450de733d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CenDsrcTollingZoneID.msg @@ -0,0 +1,32 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CenDsrcTollingZoneID ::= ProtectedZoneID +# ------------------------------------------------------------------------------ + +ProtectedZoneID value diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ClosedLanes.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ClosedLanes.msg new file mode 100644 index 000000000..9c0fa3db8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ClosedLanes.msg @@ -0,0 +1,44 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ClosedLanes ::= SEQUENCE { +# innerhardShoulderStatus HardShoulderStatus OPTIONAL, +# outerhardShoulderStatus HardShoulderStatus OPTIONAL, +# drivingLaneStatus DrivingLaneStatus OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +HardShoulderStatus innerhard_shoulder_status +bool innerhard_shoulder_status_is_present + +HardShoulderStatus outerhard_shoulder_status +bool outerhard_shoulder_status_is_present + +DrivingLaneStatus driving_lane_status +bool driving_lane_status_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CollisionRiskSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CollisionRiskSubCauseCode.msg new file mode 100644 index 000000000..90d871eec --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CollisionRiskSubCauseCode.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CollisionRiskSubCauseCode ::= INTEGER {unavailable(0), longitudinalCollisionRisk(1), crossingCollisionRisk(2), lateralCollisionRisk(3), vulnerableRoadUser(4)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 LONGITUDINAL_COLLISION_RISK = 1 +uint8 CROSSING_COLLISION_RISK = 2 +uint8 LATERAL_COLLISION_RISK = 3 +uint8 VULNERABLE_ROAD_USER = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ComputedLane.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ComputedLane.msg new file mode 100644 index 000000000..d7664afa4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ComputedLane.msg @@ -0,0 +1,170 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ComputedLane ::= SEQUENCE { +# referenceLaneId LaneID, +# offsetXaxis CHOICE { +# small DrivenLineOffsetSm, +# large DrivenLineOffsetLg +# }, +# offsetYaxis CHOICE { +# small DrivenLineOffsetSm, +# large DrivenLineOffsetLg +# }, +# rotateXY Angle OPTIONAL, +# scaleXaxis Scale-B12 OPTIONAL, +# scaleYaxis Scale-B12 OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-ComputedLane}} OPTIONAL, +# ------------------------------------------------------------------------------ +LaneID reference_lane_id + +ComputedLaneoffsetXaxis offset_xaxis + +ComputedLaneoffsetYaxis offset_yaxis + +Angle rotate_xy +bool rotate_xy_is_present + +ScaleB12 scale_xaxis +bool scale_xaxis_is_present + +ScaleB12 scale_yaxis +bool scale_yaxis_is_present + +ComputedLaneregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## CHOICE ComputedLaneoffsetXaxis +# Inner type + +uint8 choice + +DrivenLineOffsetSm small +uint8 CHOICE_SMALL = 0 + +DrivenLineOffsetLg large +uint8 CHOICE_LARGE = 1 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## CHOICE ComputedLaneoffsetYaxis +# Inner type + +uint8 choice + +DrivenLineOffsetSm small +uint8 CHOICE_SMALL = 0 + +DrivenLineOffsetLg large +uint8 CHOICE_LARGE = 1 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF ComputedLaneregional +# Inner type + +AnonymousComputedLaneregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectingLane.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectingLane.msg new file mode 100644 index 000000000..fb058cb81 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectingLane.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ConnectingLane ::= SEQUENCE { +# lane LaneID, +# maneuver AllowedManeuvers OPTIONAL +# } +# ------------------------------------------------------------------------------ +LaneID lane + +AllowedManeuvers maneuver +bool maneuver_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Connection.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Connection.msg new file mode 100644 index 000000000..2d7debb81 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Connection.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Connection ::= SEQUENCE { +# connectingLane ConnectingLane, +# remoteIntersection IntersectionReferenceID OPTIONAL, +# signalGroup SignalGroupID OPTIONAL, +# userClass RestrictionClassID OPTIONAL, +# connectionID LaneConnectionID OPTIONAL +# } +# ------------------------------------------------------------------------------ +ConnectingLane connecting_lane + +IntersectionReferenceID remote_intersection +bool remote_intersection_is_present + +SignalGroupID signal_group +bool signal_group_is_present + +RestrictionClassID user_class +bool user_class_is_present + +LaneConnectionID connection_id +bool connection_id_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionManeuverAssist.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionManeuverAssist.msg new file mode 100644 index 000000000..f22bf684f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionManeuverAssist.msg @@ -0,0 +1,88 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ConnectionManeuverAssist ::= SEQUENCE { +# connectionID LaneConnectionID, +# queueLength ZoneLength OPTIONAL, +# availableStorageLength ZoneLength OPTIONAL, +# waitOnStop WaitOnStopline OPTIONAL, +# pedBicycleDetect PedestrianBicycleDetect OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-ConnectionManeuverAssist}} OPTIONAL, +# ------------------------------------------------------------------------------ +LaneConnectionID connection_id + +ZoneLength queue_length +bool queue_length_is_present + +ZoneLength available_storage_length +bool available_storage_length_is_present + +WaitOnStopline wait_on_stop +bool wait_on_stop_is_present + +PedestrianBicycleDetect ped_bicycle_detect +bool ped_bicycle_detect_is_present + +ConnectionManeuverAssistregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF ConnectionManeuverAssistregional +# Inner type + +AnonymousConnectionManeuverAssistregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionTrajectory.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionTrajectory.msg new file mode 100644 index 000000000..1bdf18155 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectionTrajectory.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- + +# -------------------------------------------------------------------------------addGrpC +NodeSetXY nodes + +LaneConnectionID connection_id + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectsToList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectsToList.msg new file mode 100644 index 000000000..5b80dfb29 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ConnectsToList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ConnectsToList ::= SEQUENCE (SIZE(1..16)) OF Connection +# ------------------------------------------------------------------------------ + +Connection[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CountryCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CountryCode.msg new file mode 100644 index 000000000..13ca9e3bd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CountryCode.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CountryCode::= BIT STRING(SIZE(10)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 10 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Curvature.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Curvature.msg new file mode 100644 index 000000000..c077fa0e6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Curvature.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Curvature ::= SEQUENCE { +# curvatureValue CurvatureValue, +# curvatureConfidence CurvatureConfidence +# } +# ------------------------------------------------------------------------------ +CurvatureValue curvature_value + +CurvatureConfidence curvature_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureCalculationMode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureCalculationMode.msg new file mode 100644 index 000000000..3bb2cad84 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureCalculationMode.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CurvatureCalculationMode ::= ENUMERATED {yawRateUsed(0), yawRateNotUsed(1), unavailable(2), ...} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 YAW_RATE_USED = 0 +uint8 YAW_RATE_NOT_USED = 1 +uint8 UNAVAILABLE = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureConfidence.msg new file mode 100644 index 000000000..a39175244 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureConfidence.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CurvatureConfidence ::= ENUMERATED { +# onePerMeter-0-00002 (0), +# onePerMeter-0-0001 (1), +# onePerMeter-0-0005 (2), +# onePerMeter-0-002 (3), +# onePerMeter-0-01 (4), +# onePerMeter-0-1 (5), +# outOfRange (6), +# unavailable (7) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 ONE_PER_METER_0_00002 = 0 +uint8 ONE_PER_METER_0_0001 = 1 +uint8 ONE_PER_METER_0_0005 = 2 +uint8 ONE_PER_METER_0_002 = 3 +uint8 ONE_PER_METER_0_01 = 4 +uint8 ONE_PER_METER_0_1 = 5 +uint8 OUT_OF_RANGE = 6 +uint8 UNAVAILABLE = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureValue.msg new file mode 100644 index 000000000..8ff70f145 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/CurvatureValue.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# CurvatureValue ::= INTEGER {straight(0), unavailable(1023)} (-1023..1023) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -1023 +int16 MAX = 1023 +int16 STRAIGHT = 0 +int16 UNAVAILABLE = 1023 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDateTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDateTime.msg new file mode 100644 index 000000000..a28db746e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDateTime.msg @@ -0,0 +1,59 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DDateTime ::= SEQUENCE { +# year DYear OPTIONAL, +# month DMonth OPTIONAL, +# day DDay OPTIONAL, +# hour DHour OPTIONAL, +# minute DMinute OPTIONAL, +# second DSecond OPTIONAL, +# offset DOffset OPTIONAL +# } +# ------------------------------------------------------------------------------ +DYear year +bool year_is_present + +DMonth month +bool month_is_present + +DDay day +bool day_is_present + +DHour hour +bool hour_is_present + +DMinute minute +bool minute_is_present + +DSecond second +bool second_is_present + +DOffset offset +bool offset_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDay.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDay.msg new file mode 100644 index 000000000..f9df83a79 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DDay.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DDay ::= INTEGER (0..31) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 31 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DHour.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DHour.msg new file mode 100644 index 000000000..63ca24fc2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DHour.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DHour ::= INTEGER (0..31) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 31 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMinute.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMinute.msg new file mode 100644 index 000000000..c024b6c6a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMinute.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DMinute ::= INTEGER (0..60) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 60 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMonth.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMonth.msg new file mode 100644 index 000000000..83b422ce7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DMonth.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DMonth ::= INTEGER (0..12) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 12 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DOffset.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DOffset.msg new file mode 100644 index 000000000..767eb3ac2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DOffset.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DOffset ::= INTEGER (-840..840) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -840 +int16 MAX = 840 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSRCmsgID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSRCmsgID.msg new file mode 100644 index 000000000..58f5f5751 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSRCmsgID.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DSRCmsgID ::= INTEGER (0..32767) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 32767 +uint16 MAP_DATA = 18 +uint16 RTCM_CORRECTIONS = 28 +uint16 SIGNAL_PHASE_AND_TIMING_MESSAGE = 19 +uint16 SIGNAL_REQUEST_MESSAGE = 29 +uint16 SIGNAL_STATUS_MESSAGE = 30 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSecond.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSecond.msg new file mode 100644 index 000000000..f3f7f1af5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DSecond.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DSecond ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DYear.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DYear.msg new file mode 100644 index 000000000..0e688b686 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DYear.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DYear ::= INTEGER (0..4095) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 4095 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousEndOfQueueSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousEndOfQueueSubCauseCode.msg new file mode 100644 index 000000000..1613c005a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousEndOfQueueSubCauseCode.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DangerousEndOfQueueSubCauseCode ::= INTEGER {unavailable(0), suddenEndOfQueue(1), queueOverHill(2), queueAroundBend(3), queueInTunnel(4)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 SUDDEN_END_OF_QUEUE = 1 +uint8 QUEUE_OVER_HILL = 2 +uint8 QUEUE_AROUND_BEND = 3 +uint8 QUEUE_IN_TUNNEL = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsBasic.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsBasic.msg new file mode 100644 index 000000000..7092206e0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsBasic.msg @@ -0,0 +1,74 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DangerousGoodsBasic::= ENUMERATED { +# explosives1(0), +# explosives2(1), +# explosives3(2), +# explosives4(3), +# explosives5(4), +# explosives6(5), +# flammableGases(6), +# nonFlammableGases(7), +# toxicGases(8), +# flammableLiquids(9), +# flammableSolids(10), +# substancesLiableToSpontaneousCombustion(11), +# substancesEmittingFlammableGasesUponContactWithWater(12), +# oxidizingSubstances(13), +# organicPeroxides(14), +# toxicSubstances(15), +# infectiousSubstances(16), +# radioactiveMaterial(17), +# corrosiveSubstances(18), +# miscellaneousDangerousSubstances(19) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 EXPLOSIVES1 = 0 +uint8 EXPLOSIVES2 = 1 +uint8 EXPLOSIVES3 = 2 +uint8 EXPLOSIVES4 = 3 +uint8 EXPLOSIVES5 = 4 +uint8 EXPLOSIVES6 = 5 +uint8 FLAMMABLE_GASES = 6 +uint8 NON_FLAMMABLE_GASES = 7 +uint8 TOXIC_GASES = 8 +uint8 FLAMMABLE_LIQUIDS = 9 +uint8 FLAMMABLE_SOLIDS = 10 +uint8 SUBSTANCES_LIABLE_TO_SPONTANEOUS_COMBUSTION = 11 +uint8 SUBSTANCES_EMITTING_FLAMMABLE_GASES_UPON_CONTACT_WITH_WATER = 12 +uint8 OXIDIZING_SUBSTANCES = 13 +uint8 ORGANIC_PEROXIDES = 14 +uint8 TOXIC_SUBSTANCES = 15 +uint8 INFECTIOUS_SUBSTANCES = 16 +uint8 RADIOACTIVE_MATERIAL = 17 +uint8 CORROSIVE_SUBSTANCES = 18 +uint8 MISCELLANEOUS_DANGEROUS_SUBSTANCES = 19 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsExtended.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsExtended.msg new file mode 100644 index 000000000..07f94fc35 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousGoodsExtended.msg @@ -0,0 +1,65 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DangerousGoodsExtended ::= SEQUENCE { +# dangerousGoodsType DangerousGoodsBasic, +# unNumber INTEGER (0..9999), +# elevatedTemperature BOOLEAN, +# tunnelsRestricted BOOLEAN, +# limitedQuantity BOOLEAN, +# emergencyActionCode IA5String (SIZE (1..24)) OPTIONAL, +# phoneNumber PhoneNumber OPTIONAL, +# companyName UTF8String (SIZE (1..24)) OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +DangerousGoodsBasic dangerous_goods_type + +uint16 un_number +uint16 UN_NUMBER_MIN = 0 +uint16 UN_NUMBER_MAX = 9999 + +bool elevated_temperature + +bool tunnels_restricted + +bool limited_quantity + +string emergency_action_code +bool emergency_action_code_is_present +uint8 EMERGENCY_ACTION_CODE_MIN_SIZE = 1 +uint8 EMERGENCY_ACTION_CODE_MAX_SIZE = 24 + +PhoneNumber phone_number +bool phone_number_is_present + +string company_name +bool company_name_is_present +uint8 COMPANY_NAME_MIN_SIZE = 1 +uint8 COMPANY_NAME_MAX_SIZE = 24 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousSituationSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousSituationSubCauseCode.msg new file mode 100644 index 000000000..96aed8d18 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DangerousSituationSubCauseCode.msg @@ -0,0 +1,42 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DangerousSituationSubCauseCode ::= INTEGER {unavailable(0), emergencyElectronicBrakeEngaged(1), preCrashSystemEngaged(2), espEngaged(3), absEngaged(4), aebEngaged(5), brakeWarningEngaged(6), collisionRiskWarningEngaged(7)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 EMERGENCY_ELECTRONIC_BRAKE_ENGAGED = 1 +uint8 PRE_CRASH_SYSTEM_ENGAGED = 2 +uint8 ESP_ENGAGED = 3 +uint8 ABS_ENGAGED = 4 +uint8 AEB_ENGAGED = 5 +uint8 BRAKE_WARNING_ENGAGED = 6 +uint8 COLLISION_RISK_WARNING_ENGAGED = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DataParameters.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DataParameters.msg new file mode 100644 index 000000000..67140bc20 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DataParameters.msg @@ -0,0 +1,56 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DataParameters ::= SEQUENCE { +# processMethod IA5String(SIZE(1..255)) OPTIONAL, +# processAgency IA5String(SIZE(1..255)) OPTIONAL, +# lastCheckedDate IA5String(SIZE(1..255)) OPTIONAL, +# geoidUsed IA5String(SIZE(1..255)) OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +string process_method +bool process_method_is_present +uint8 PROCESS_METHOD_MIN_SIZE = 1 +uint8 PROCESS_METHOD_MAX_SIZE = 255 + +string process_agency +bool process_agency_is_present +uint8 PROCESS_AGENCY_MIN_SIZE = 1 +uint8 PROCESS_AGENCY_MAX_SIZE = 255 + +string last_checked_date +bool last_checked_date_is_present +uint8 LAST_CHECKED_DATE_MIN_SIZE = 1 +uint8 LAST_CHECKED_DATE_MAX_SIZE = 255 + +string geoid_used +bool geoid_used_is_present +uint8 GEOID_USED_MIN_SIZE = 1 +uint8 GEOID_USED_MAX_SIZE = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAltitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAltitude.msg new file mode 100644 index 000000000..e2b6d8e15 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAltitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaAltitude ::= INTEGER {oneCentimeterUp (1), oneCentimeterDown (-1), unavailable(12800)} (-12700..12800) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -12700 +int16 MAX = 12800 +int16 ONE_CENTIMETER_UP = 1 +int16 ONE_CENTIMETER_DOWN = -1 +int16 UNAVAILABLE = 12800 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAngle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAngle.msg new file mode 100644 index 000000000..a6fd7585f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaAngle.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaAngle ::= INTEGER (-150..150) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -150 +int16 MAX = 150 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLatitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLatitude.msg new file mode 100644 index 000000000..3d9841fe6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLatitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaLatitude ::= INTEGER {oneMicrodegreeNorth (10), oneMicrodegreeSouth (-10) , unavailable(131072)} (-131071..131072) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -131071 +int32 MAX = 131072 +int32 ONE_MICRODEGREE_NORTH = 10 +int32 ONE_MICRODEGREE_SOUTH = -10 +int32 UNAVAILABLE = 131072 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLongitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLongitude.msg new file mode 100644 index 000000000..0b21013e8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaLongitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaLongitude ::= INTEGER {oneMicrodegreeEast (10), oneMicrodegreeWest (-10), unavailable(131072)} (-131071..131072) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -131071 +int32 MAX = 131072 +int32 ONE_MICRODEGREE_EAST = 10 +int32 ONE_MICRODEGREE_WEST = -10 +int32 UNAVAILABLE = 131072 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaReferencePosition.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaReferencePosition.msg new file mode 100644 index 000000000..76f4db21d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaReferencePosition.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaReferencePosition ::= SEQUENCE { +# deltaLatitude DeltaLatitude, +# deltaLongitude DeltaLongitude, +# deltaAltitude DeltaAltitude +# } +# ------------------------------------------------------------------------------ +DeltaLatitude delta_latitude + +DeltaLongitude delta_longitude + +DeltaAltitude delta_altitude + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaTime.msg new file mode 100644 index 000000000..6e54e6c41 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DeltaTime.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DeltaTime ::= INTEGER (-122 .. 121) +# ------------------------------------------------------------------------------ + +int8 value +int8 MIN = -122 +int8 MAX = 121 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DescriptiveName.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DescriptiveName.msg new file mode 100644 index 000000000..3d0231a82 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DescriptiveName.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DescriptiveName ::= IA5String (SIZE(1..63)) +# ------------------------------------------------------------------------------ + +string value +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 63 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DigitalMap.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DigitalMap.msg new file mode 100644 index 000000000..3969d3983 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DigitalMap.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DigitalMap ::= SEQUENCE (SIZE(1..256)) OF ReferencePosition +# ------------------------------------------------------------------------------ + +ReferencePosition[] array +uint16 MIN_SIZE = 1 +uint16 MAX_SIZE = 256 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DriveDirection.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DriveDirection.msg new file mode 100644 index 000000000..3082b4520 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DriveDirection.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DriveDirection ::= ENUMERATED {forward (0), backward (1), unavailable (2)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 FORWARD = 0 +uint8 BACKWARD = 1 +uint8 UNAVAILABLE = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetLg.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetLg.msg new file mode 100644 index 000000000..0466c978b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetLg.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DrivenLineOffsetLg ::= INTEGER (-32767..32767) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -32767 +int16 MAX = 32767 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetSm.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetSm.msg new file mode 100644 index 000000000..579d42dc6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivenLineOffsetSm.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DrivenLineOffsetSm ::= INTEGER (-2047..2047) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -2047 +int16 MAX = 2047 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivingLaneStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivingLaneStatus.msg new file mode 100644 index 000000000..56de3624c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/DrivingLaneStatus.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# DrivingLaneStatus ::= BIT STRING (SIZE (1..13)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 MIN_SIZE_BITS = 1 +uint8 MAX_SIZE_BITS = 13 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Elevation.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Elevation.msg new file mode 100644 index 000000000..a45143cb6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Elevation.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Elevation ::= INTEGER (-4096..61439) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -4096 +int32 MAX = 61439 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ElevationConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ElevationConfidence.msg new file mode 100644 index 000000000..69fefc36a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ElevationConfidence.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ElevationConfidence ::= ENUMERATED { +# unavailable (0), +# elev-500-00 (1), +# elev-200-00 (2), +# elev-100-00 (3), +# elev-050-00 (4), +# elev-020-00 (5), +# elev-010-00 (6), +# elev-005-00 (7), +# elev-002-00 (8), +# elev-001-00 (9), +# elev-000-50 (10), +# elev-000-20 (11), +# elev-000-10 (12), +# elev-000-05 (13), +# elev-000-02 (14), +# elev-000-01 (15) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 ELEV_500_00 = 1 +uint8 ELEV_200_00 = 2 +uint8 ELEV_100_00 = 3 +uint8 ELEV_050_00 = 4 +uint8 ELEV_020_00 = 5 +uint8 ELEV_010_00 = 6 +uint8 ELEV_005_00 = 7 +uint8 ELEV_002_00 = 8 +uint8 ELEV_001_00 = 9 +uint8 ELEV_000_50 = 10 +uint8 ELEV_000_20 = 11 +uint8 ELEV_000_10 = 12 +uint8 ELEV_000_05 = 13 +uint8 ELEV_000_02 = 14 +uint8 ELEV_000_01 = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmbarkationStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmbarkationStatus.msg new file mode 100644 index 000000000..88648c190 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmbarkationStatus.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EmbarkationStatus ::= BOOLEAN +# ------------------------------------------------------------------------------ + +bool value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyPriority.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyPriority.msg new file mode 100644 index 000000000..e5d6ea469 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyPriority.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EmergencyPriority ::= BIT STRING {requestForRightOfWay(0), requestForFreeCrossingAtATrafficLight(1)} (SIZE(2)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 2 +uint8 BIT_INDEX_REQUEST_FOR_RIGHT_OF_WAY = 0 +uint8 BIT_INDEX_REQUEST_FOR_FREE_CROSSING_AT_A_TRAFFIC_LIGHT = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyVehicleApproachingSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyVehicleApproachingSubCauseCode.msg new file mode 100644 index 000000000..0f292c744 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmergencyVehicleApproachingSubCauseCode.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EmergencyVehicleApproachingSubCauseCode ::= INTEGER {unavailable(0), emergencyVehicleApproaching(1), prioritizedVehicleApproaching(2)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 EMERGENCY_VEHICLE_APPROACHING = 1 +uint8 PRIORITIZED_VEHICLE_APPROACHING = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmissionType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmissionType.msg new file mode 100644 index 000000000..fddac6f02 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EmissionType.msg @@ -0,0 +1,47 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EmissionType ::= ENUMERATED { +# euro1, +# euro2, +# euro3, +# euro4, +# euro5, +# euro6, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 EURO1 = 0 +uint8 EURO2 = 1 +uint8 EURO3 = 2 +uint8 EURO4 = 3 +uint8 EURO5 = 4 +uint8 EURO6 = 5 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnabledLaneList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnabledLaneList.msg new file mode 100644 index 000000000..af68d5308 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnabledLaneList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EnabledLaneList ::= SEQUENCE (SIZE(1..16)) OF LaneID +# ------------------------------------------------------------------------------ + +LaneID[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnergyStorageType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnergyStorageType.msg new file mode 100644 index 000000000..ef2b2d70e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EnergyStorageType.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EnergyStorageType ::= BIT STRING {hydrogenStorage(0), electricEnergyStorage(1), liquidPropaneGas(2), compressedNaturalGas(3), diesel(4), gasoline(5), ammonia(6)} (SIZE(7)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 7 +uint8 BIT_INDEX_HYDROGEN_STORAGE = 0 +uint8 BIT_INDEX_ELECTRIC_ENERGY_STORAGE = 1 +uint8 BIT_INDEX_LIQUID_PROPANE_GAS = 2 +uint8 BIT_INDEX_COMPRESSED_NATURAL_GAS = 3 +uint8 BIT_INDEX_DIESEL = 4 +uint8 BIT_INDEX_GASOLINE = 5 +uint8 BIT_INDEX_AMMONIA = 6 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryCode.msg new file mode 100644 index 000000000..90899463a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryCode.msg @@ -0,0 +1,59 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EuVehicleCategoryCode ::= CHOICE { +# euVehicleCategoryL EuVehicleCategoryL, -- conforms to EU 2002/24 and UNECE 1999 +# euVehicleCategoryM EuVehicleCategoryM, -- conforms to EU 2001/116 and UNECE 1999 +# euVehicleCategoryN EuVehicleCategoryN, -- conforms to EU 2001/116 and UNECE 1999 +# euVehicleCategoryO EuVehicleCategoryO, -- conforms to EU 2001/116 and UNECE 1999 +# euVehilcleCategoryT NULL, -- conforms to UNECE 1999 +# euVehilcleCategoryG NULL -- conforms to EU 2001/116 and UNECE 1999 +# } +# ------------------------------------------------------------------------------ +# Electronic Registration Identification (ERI)- Vehicle Data + +uint8 choice + +EuVehicleCategoryL eu_vehicle_category_l +uint8 CHOICE_EU_VEHICLE_CATEGORY_L = 0 + +EuVehicleCategoryM eu_vehicle_category_m +uint8 CHOICE_EU_VEHICLE_CATEGORY_M = 1 + +EuVehicleCategoryN eu_vehicle_category_n +uint8 CHOICE_EU_VEHICLE_CATEGORY_N = 2 + +EuVehicleCategoryO eu_vehicle_category_o +uint8 CHOICE_EU_VEHICLE_CATEGORY_O = 3 + +byte eu_vehilcle_category_t +uint8 CHOICE_EU_VEHILCLE_CATEGORY_T = 4 + +byte eu_vehilcle_category_g +uint8 CHOICE_EU_VEHILCLE_CATEGORY_G = 5 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryL.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryL.msg new file mode 100644 index 000000000..1f711cbc3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryL.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EuVehicleCategoryL ::= ENUMERATED { l1, l2, l3, l4, l5, l6, l7 } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 L1 = 0 +uint8 L2 = 1 +uint8 L3 = 2 +uint8 L4 = 3 +uint8 L5 = 4 +uint8 L6 = 5 +uint8 L7 = 6 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryM.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryM.msg new file mode 100644 index 000000000..0a1c66abd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryM.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EuVehicleCategoryM ::= ENUMERATED {m1, m2, m3} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 M1 = 0 +uint8 M2 = 1 +uint8 M3 = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryN.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryN.msg new file mode 100644 index 000000000..887d4da5a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryN.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EuVehicleCategoryN ::= ENUMERATED {n1, n2, n3} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 N1 = 0 +uint8 N2 = 1 +uint8 N3 = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryO.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryO.msg new file mode 100644 index 000000000..d671e7a20 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EuVehicleCategoryO.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EuVehicleCategoryO ::= ENUMERATED {o1, o2, o3, o4} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 O1 = 0 +uint8 O2 = 1 +uint8 O3 = 2 +uint8 O4 = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventHistory.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventHistory.msg new file mode 100644 index 000000000..1fc56a2a2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventHistory.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EventHistory::= SEQUENCE (SIZE(1..23)) OF EventPoint +# ------------------------------------------------------------------------------ + +EventPoint[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 23 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventPoint.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventPoint.msg new file mode 100644 index 000000000..d72976751 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/EventPoint.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# EventPoint ::= SEQUENCE { +# eventPosition DeltaReferencePosition, +# eventDeltaTime PathDeltaTime OPTIONAL, +# informationQuality InformationQuality +# } +# ------------------------------------------------------------------------------ +DeltaReferencePosition event_position + +PathDeltaTime event_delta_time +bool event_delta_time_is_present + +InformationQuality information_quality + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExceptionalCondition.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExceptionalCondition.msg new file mode 100644 index 000000000..168f574c5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExceptionalCondition.msg @@ -0,0 +1,61 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ExceptionalCondition ::= ENUMERATED { +# unknown, +# publicTransportPriority, +# emergencyVehiclePriority, +# trainPriority, +# bridgeOpen, +# vehicleHeight, +# weather, +# trafficJam, +# tunnelClosure, +# meteringActive, +# truckPriority, +# bicyclePlatoonPriority, +# vehiclePlatoonPriority, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNKNOWN = 0 +uint8 PUBLIC_TRANSPORT_PRIORITY = 1 +uint8 EMERGENCY_VEHICLE_PRIORITY = 2 +uint8 TRAIN_PRIORITY = 3 +uint8 BRIDGE_OPEN = 4 +uint8 VEHICLE_HEIGHT = 5 +uint8 WEATHER = 6 +uint8 TRAFFIC_JAM = 7 +uint8 TUNNEL_CLOSURE = 8 +uint8 METERING_ACTIVE = 9 +uint8 TRUCK_PRIORITY = 10 +uint8 BICYCLE_PLATOON_PRIORITY = 11 +uint8 VEHICLE_PLATOON_PRIORITY = 12 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExteriorLights.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExteriorLights.msg new file mode 100644 index 000000000..6f82b51db --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ExteriorLights.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ExteriorLights ::= BIT STRING { +# lowBeamHeadlightsOn (0), +# highBeamHeadlightsOn (1), +# leftTurnSignalOn (2), +# rightTurnSignalOn (3), +# daytimeRunningLightsOn (4), +# reverseLightOn (5), +# fogLightOn (6), +# parkingLightsOn (7) +# } (SIZE(8)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 8 +uint8 BIT_INDEX_LOW_BEAM_HEADLIGHTS_ON = 0 +uint8 BIT_INDEX_HIGH_BEAM_HEADLIGHTS_ON = 1 +uint8 BIT_INDEX_LEFT_TURN_SIGNAL_ON = 2 +uint8 BIT_INDEX_RIGHT_TURN_SIGNAL_ON = 3 +uint8 BIT_INDEX_DAYTIME_RUNNING_LIGHTS_ON = 4 +uint8 BIT_INDEX_REVERSE_LIGHT_ON = 5 +uint8 BIT_INDEX_FOG_LIGHT_ON = 6 +uint8 BIT_INDEX_PARKING_LIGHTS_ON = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FreightContainerData.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FreightContainerData.msg new file mode 100644 index 000000000..75cd393a0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FreightContainerData.msg @@ -0,0 +1,79 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# FreightContainerData::= SEQUENCE { -- octet aligned by means of 3 fill bits at the end +# ownerCode BIT STRING(SIZE(19)), -- 19bits +# serialNumber INTEGER(0 .. 1000000), -- 20bits +# checkDigit INTEGER(0 .. 10), -- 4bits +# length INTEGER(1 .. 2000), -- 11bits +# height INTEGER(1 .. 500), -- 9bits +# width INTEGER(200 .. 300), -- 7bits +# containerTypeCode INTEGER(0 .. 127), -- 7bits +# maximumGrossMass INTEGER(19 .. 500), -- 9bits +# tareMass INTEGER(0 .. 99), -- 7bits +# fill BIT STRING (SIZE(3)) -- set to '000' +# } -- 12 octets +# ------------------------------------------------------------------------------ +uint8[] owner_code +uint8 OWNER_CODE_SIZE = 19 + +uint32 serial_number +uint32 SERIAL_NUMBER_MIN = 0 +uint32 SERIAL_NUMBER_MAX = 1000000 + +uint8 check_digit +uint8 CHECK_DIGIT_MIN = 0 +uint8 CHECK_DIGIT_MAX = 10 + +uint16 length +uint16 LENGTH_MIN = 1 +uint16 LENGTH_MAX = 2000 + +uint16 height +uint16 HEIGHT_MIN = 1 +uint16 HEIGHT_MAX = 500 + +uint16 width +uint16 WIDTH_MIN = 200 +uint16 WIDTH_MAX = 300 + +uint8 container_type_code +uint8 CONTAINER_TYPE_CODE_MIN = 0 +uint8 CONTAINER_TYPE_CODE_MAX = 127 + +uint16 maximum_gross_mass +uint16 MAXIMUM_GROSS_MASS_MIN = 19 +uint16 MAXIMUM_GROSS_MASS_MAX = 500 + +uint8 tare_mass +uint8 TARE_MASS_MIN = 0 +uint8 TARE_MASS_MAX = 99 + +uint8[] fill +uint8 FILL_SIZE = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FuelType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FuelType.msg new file mode 100644 index 000000000..a19f71f78 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FuelType.msg @@ -0,0 +1,44 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# FuelType ::= INTEGER (0..15) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 15 +uint8 DIESEL = 3 +uint8 ELECTRIC = 4 +uint8 ETHANOL = 2 +uint8 GASOLINE = 1 +uint8 HYBRID = 5 +uint8 HYDROGEN = 6 +uint8 NAT_GAS_COMP = 8 +uint8 NAT_GAS_LIQUID = 7 +uint8 PROPANE = 9 +uint8 UNKNOWN_FUEL = 0 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FullPositionVector.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FullPositionVector.msg new file mode 100644 index 000000000..8df320102 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/FullPositionVector.msg @@ -0,0 +1,70 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# FullPositionVector ::= SEQUENCE { +# utcTime DDateTime OPTIONAL, -- time with mSec precision +# long Longitude, +# lat Latitude, +# elevation Elevation OPTIONAL, +# heading HeadingDSRC OPTIONAL, +# speed TransmissionAndSpeed OPTIONAL, +# posAccuracy PositionalAccuracy OPTIONAL, +# timeConfidence TimeConfidence OPTIONAL, +# posConfidence PositionConfidenceSet OPTIONAL, +# speedConfidence SpeedandHeadingandThrottleConfidence OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +DDateTime utc_time +bool utc_time_is_present + +Longitude long + +Latitude lat + +Elevation elevation +bool elevation_is_present + +HeadingDSRC heading +bool heading_is_present + +TransmissionAndSpeed speed +bool speed_is_present + +PositionalAccuracy pos_accuracy +bool pos_accuracy_is_present + +TimeConfidence time_confidence +bool time_confidence_is_present + +PositionConfidenceSet pos_confidence +bool pos_confidence_is_present + +SpeedandHeadingandThrottleConfidence speed_confidence +bool speed_confidence_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GNSSstatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GNSSstatus.msg new file mode 100644 index 000000000..91f76abb3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GNSSstatus.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# GNSSstatus ::= BIT STRING { +# unavailable (0), +# isHealthy (1), +# isMonitored (2), +# baseStationType (3), +# aPDOPofUnder5 (4), +# inViewOfUnder5 (5), +# localCorrectionsPresent (6), +# networkCorrectionsPresent (7) +# } (SIZE(8)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 8 +uint8 BIT_INDEX_UNAVAILABLE = 0 +uint8 BIT_INDEX_IS_HEALTHY = 1 +uint8 BIT_INDEX_IS_MONITORED = 2 +uint8 BIT_INDEX_BASE_STATION_TYPE = 3 +uint8 BIT_INDEX_A_PDO_POF_UNDER5 = 4 +uint8 BIT_INDEX_IN_VIEW_OF_UNDER5 = 5 +uint8 BIT_INDEX_LOCAL_CORRECTIONS_PRESENT = 6 +uint8 BIT_INDEX_NETWORK_CORRECTIONS_PRESENT = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GenericLane.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GenericLane.msg new file mode 100644 index 000000000..003a45ec3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GenericLane.msg @@ -0,0 +1,102 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# GenericLane ::= SEQUENCE { +# laneID LaneID, +# name DescriptiveName OPTIONAL, +# ingressApproach ApproachID OPTIONAL, +# egressApproach ApproachID OPTIONAL, +# laneAttributes LaneAttributes, +# maneuvers AllowedManeuvers OPTIONAL, +# nodeList NodeListXY, +# connectsTo ConnectsToList OPTIONAL, +# overlays OverlayLaneList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-GenericLane}} OPTIONAL, +# ------------------------------------------------------------------------------ +LaneID lane_id + +DescriptiveName name +bool name_is_present + +ApproachID ingress_approach +bool ingress_approach_is_present + +ApproachID egress_approach +bool egress_approach_is_present + +LaneAttributes lane_attributes + +AllowedManeuvers maneuvers +bool maneuvers_is_present + +NodeListXY node_list + +ConnectsToList connects_to +bool connects_to_is_present + +OverlayLaneList overlays +bool overlays_is_present + +GenericLaneregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF GenericLaneregional +# Inner type + +AnonymousGenericLaneregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GeoGraphicalLimit.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GeoGraphicalLimit.msg new file mode 100644 index 000000000..cfe8b2adb --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/GeoGraphicalLimit.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# GeoGraphicalLimit::= BIT STRING { +# globalRestriction (0), +# regionalRestriction (1), +# nationalRestriction (2), +# district (3), +# issuerCoverageRestriction (4), +# reservedForCEN1 (5), +# reservedForCEN2 (6), +# issuerSpecificRestriction (7) +# } (SIZE(8)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 8 +uint8 BIT_INDEX_GLOBAL_RESTRICTION = 0 +uint8 BIT_INDEX_REGIONAL_RESTRICTION = 1 +uint8 BIT_INDEX_NATIONAL_RESTRICTION = 2 +uint8 BIT_INDEX_DISTRICT = 3 +uint8 BIT_INDEX_ISSUER_COVERAGE_RESTRICTION = 4 +uint8 BIT_INDEX_RESERVED_FOR_CEN1 = 5 +uint8 BIT_INDEX_RESERVED_FOR_CEN2 = 6 +uint8 BIT_INDEX_ISSUER_SPECIFIC_RESTRICTION = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HardShoulderStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HardShoulderStatus.msg new file mode 100644 index 000000000..4980a2d7f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HardShoulderStatus.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HardShoulderStatus ::= ENUMERATED {availableForStopping(0), closed(1), availableForDriving(2)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 AVAILABLE_FOR_STOPPING = 0 +uint8 CLOSED = 1 +uint8 AVAILABLE_FOR_DRIVING = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationAnimalOnTheRoadSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationAnimalOnTheRoadSubCauseCode.msg new file mode 100644 index 000000000..0b2ab0423 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationAnimalOnTheRoadSubCauseCode.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HazardousLocation-AnimalOnTheRoadSubCauseCode ::= INTEGER {unavailable(0), wildAnimals(1), herdOfAnimals(2), smallAnimals(3), largeAnimals(4)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 WILD_ANIMALS = 1 +uint8 HERD_OF_ANIMALS = 2 +uint8 SMALL_ANIMALS = 3 +uint8 LARGE_ANIMALS = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationDangerousCurveSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationDangerousCurveSubCauseCode.msg new file mode 100644 index 000000000..20410c141 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationDangerousCurveSubCauseCode.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HazardousLocation-DangerousCurveSubCauseCode ::= INTEGER {unavailable(0), dangerousLeftTurnCurve(1), dangerousRightTurnCurve(2), multipleCurvesStartingWithUnknownTurningDirection(3), multipleCurvesStartingWithLeftTurn(4), multipleCurvesStartingWithRightTurn(5)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 DANGEROUS_LEFT_TURN_CURVE = 1 +uint8 DANGEROUS_RIGHT_TURN_CURVE = 2 +uint8 MULTIPLE_CURVES_STARTING_WITH_UNKNOWN_TURNING_DIRECTION = 3 +uint8 MULTIPLE_CURVES_STARTING_WITH_LEFT_TURN = 4 +uint8 MULTIPLE_CURVES_STARTING_WITH_RIGHT_TURN = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationObstacleOnTheRoadSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationObstacleOnTheRoadSubCauseCode.msg new file mode 100644 index 000000000..42b7e2d7a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationObstacleOnTheRoadSubCauseCode.msg @@ -0,0 +1,42 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HazardousLocation-ObstacleOnTheRoadSubCauseCode ::= INTEGER {unavailable(0), shedLoad(1), partsOfVehicles(2), partsOfTyres(3), bigObjects(4), fallenTrees(5), hubCaps(6), waitingVehicles(7)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 SHED_LOAD = 1 +uint8 PARTS_OF_VEHICLES = 2 +uint8 PARTS_OF_TYRES = 3 +uint8 BIG_OBJECTS = 4 +uint8 FALLEN_TREES = 5 +uint8 HUB_CAPS = 6 +uint8 WAITING_VEHICLES = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationSurfaceConditionSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationSurfaceConditionSubCauseCode.msg new file mode 100644 index 000000000..69fef539e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HazardousLocationSurfaceConditionSubCauseCode.msg @@ -0,0 +1,44 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HazardousLocation-SurfaceConditionSubCauseCode ::= INTEGER {unavailable(0), rockfalls(1), earthquakeDamage(2), sewerCollapse(3), subsidence(4), snowDrifts(5), stormDamage(6), burstPipe(7), volcanoEruption(8), fallingIce(9)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 ROCKFALLS = 1 +uint8 EARTHQUAKE_DAMAGE = 2 +uint8 SEWER_COLLAPSE = 3 +uint8 SUBSIDENCE = 4 +uint8 SNOW_DRIFTS = 5 +uint8 STORM_DAMAGE = 6 +uint8 BURST_PIPE = 7 +uint8 VOLCANO_ERUPTION = 8 +uint8 FALLING_ICE = 9 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Heading.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Heading.msg new file mode 100644 index 000000000..d3c702705 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Heading.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Heading ::= SEQUENCE { +# headingValue HeadingValue, +# headingConfidence HeadingConfidence +# } +# ------------------------------------------------------------------------------ +HeadingValue heading_value + +HeadingConfidence heading_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidence.msg new file mode 100644 index 000000000..9f9fcb6f8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidence.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HeadingConfidence ::= INTEGER {equalOrWithinZeroPointOneDegree (1), equalOrWithinOneDegree (10), outOfRange(126), unavailable(127)} (1..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 127 +uint8 EQUAL_OR_WITHIN_ZERO_POINT_ONE_DEGREE = 1 +uint8 EQUAL_OR_WITHIN_ONE_DEGREE = 10 +uint8 OUT_OF_RANGE = 126 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidenceDSRC.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidenceDSRC.msg new file mode 100644 index 000000000..caee1a00f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingConfidenceDSRC.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HeadingConfidenceDSRC ::= ENUMERATED { +# unavailable (0), +# prec10deg (1), +# prec05deg (2), +# prec01deg (3), +# prec0-1deg (4), +# prec0-05deg (5), +# prec0-01deg (6), +# prec0-0125deg (7) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 PREC10DEG = 1 +uint8 PREC05DEG = 2 +uint8 PREC01DEG = 3 +uint8 PREC0_1DEG = 4 +uint8 PREC0_05DEG = 5 +uint8 PREC0_01DEG = 6 +uint8 PREC0_0125DEG = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingDSRC.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingDSRC.msg new file mode 100644 index 000000000..855cf1112 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingDSRC.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HeadingDSRC ::= INTEGER (0..28800) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 28800 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingValue.msg new file mode 100644 index 000000000..aa7a3436f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeadingValue.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HeadingValue ::= INTEGER {wgs84North(0), wgs84East(900), wgs84South(1800), wgs84West(2700), unavailable(3601)} (0..3601) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 3601 +uint16 WGS84_NORTH = 0 +uint16 WGS84_EAST = 900 +uint16 WGS84_SOUTH = 1800 +uint16 WGS84_WEST = 2700 +uint16 UNAVAILABLE = 3601 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeightLonCarr.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeightLonCarr.msg new file mode 100644 index 000000000..f284c0b49 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HeightLonCarr.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HeightLonCarr ::= INTEGER {oneCentimeter(1), unavailable(100)} (1..100) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 100 +uint8 ONE_CENTIMETER = 1 +uint8 UNAVAILABLE = 100 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanPresenceOnTheRoadSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanPresenceOnTheRoadSubCauseCode.msg new file mode 100644 index 000000000..e07b1a752 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanPresenceOnTheRoadSubCauseCode.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HumanPresenceOnTheRoadSubCauseCode ::= INTEGER {unavailable(0), childrenOnRoadway(1), cyclistOnRoadway(2), motorcyclistOnRoadway(3)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 CHILDREN_ON_ROADWAY = 1 +uint8 CYCLIST_ON_ROADWAY = 2 +uint8 MOTORCYCLIST_ON_ROADWAY = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanProblemSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanProblemSubCauseCode.msg new file mode 100644 index 000000000..9e9c4f55e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/HumanProblemSubCauseCode.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# HumanProblemSubCauseCode ::= INTEGER {unavailable(0), glycemiaProblem(1), heartProblem(2)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 GLYCEMIA_PROBLEM = 1 +uint8 HEART_PROBLEM = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/InformationQuality.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/InformationQuality.msg new file mode 100644 index 000000000..9cf015424 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/InformationQuality.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# InformationQuality ::= INTEGER {unavailable(0), lowest(1), highest(7)} (0..7) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 7 +uint8 UNAVAILABLE = 0 +uint8 LOWEST = 1 +uint8 HIGHEST = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionAccessPoint.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionAccessPoint.msg new file mode 100644 index 000000000..cc2c9f17b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionAccessPoint.msg @@ -0,0 +1,46 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionAccessPoint ::= CHOICE { +# lane LaneID, +# approach ApproachID, +# connection LaneConnectionID, +# ... +# } +# ------------------------------------------------------------------------------ +uint8 choice + +LaneID lane +uint8 CHOICE_LANE = 0 + +ApproachID approach +uint8 CHOICE_APPROACH = 1 + +LaneConnectionID connection +uint8 CHOICE_CONNECTION = 2 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometry.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometry.msg new file mode 100644 index 000000000..f6d34bac5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometry.msg @@ -0,0 +1,97 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionGeometry ::= SEQUENCE { +# name DescriptiveName OPTIONAL, +# id IntersectionReferenceID, +# revision MsgCount, +# refPoint Position3D, +# laneWidth LaneWidth OPTIONAL, +# speedLimits SpeedLimitList OPTIONAL, +# laneSet LaneList, +# preemptPriorityData PreemptPriorityList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-IntersectionGeometry}} OPTIONAL, +# ------------------------------------------------------------------------------ +DescriptiveName name +bool name_is_present + +IntersectionReferenceID id + +MsgCount revision + +Position3D ref_point + +LaneWidth lane_width +bool lane_width_is_present + +SpeedLimitList speed_limits +bool speed_limits_is_present + +LaneList lane_set + +PreemptPriorityList preempt_priority_data +bool preempt_priority_data_is_present + +IntersectionGeometryregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF IntersectionGeometryregional +# Inner type + +AnonymousIntersectionGeometryregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometryList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometryList.msg new file mode 100644 index 000000000..50e917a13 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionGeometryList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionGeometryList ::= SEQUENCE (SIZE(1..32)) OF IntersectionGeometry +# ------------------------------------------------------------------------------ + +IntersectionGeometry[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionID.msg new file mode 100644 index 000000000..eec070f9c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionID ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionReferenceID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionReferenceID.msg new file mode 100644 index 000000000..8ccbbf2a2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionReferenceID.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionReferenceID ::= SEQUENCE { +# region RoadRegulatorID OPTIONAL, +# id IntersectionID +# } +# ------------------------------------------------------------------------------ +RoadRegulatorID region +bool region_is_present + +IntersectionID id + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionState.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionState.msg new file mode 100644 index 000000000..829fb4210 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionState.msg @@ -0,0 +1,101 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionState ::= SEQUENCE { +# name DescriptiveName OPTIONAL, +# id IntersectionReferenceID, +# revision MsgCount, +# status IntersectionStatusObject, +# moy MinuteOfTheYear OPTIONAL, +# timeStamp DSecond OPTIONAL, +# enabledLanes EnabledLaneList OPTIONAL, +# states MovementList, +# maneuverAssistList ManeuverAssistList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-IntersectionState}} OPTIONAL, +# ------------------------------------------------------------------------------ +DescriptiveName name +bool name_is_present + +IntersectionReferenceID id + +MsgCount revision + +IntersectionStatusObject status + +MinuteOfTheYear moy +bool moy_is_present + +DSecond time_stamp +bool time_stamp_is_present + +EnabledLaneList enabled_lanes +bool enabled_lanes_is_present + +MovementList states + +ManeuverAssistList maneuver_assist_list +bool maneuver_assist_list_is_present + +IntersectionStateregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF IntersectionStateregional +# Inner type + +AnonymousIntersectionStateregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStateList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStateList.msg new file mode 100644 index 000000000..719611116 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStateList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionStateList ::= SEQUENCE (SIZE(1..32)) OF IntersectionState +# ------------------------------------------------------------------------------ + +IntersectionState[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStatusObject.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStatusObject.msg new file mode 100644 index 000000000..d95bae8e9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IntersectionStatusObject.msg @@ -0,0 +1,63 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IntersectionStatusObject ::= BIT STRING { +# manualControlIsEnabled (0), +# stopTimeIsActivated (1), +# failureFlash (2), +# preemptIsActive (3), +# signalPriorityIsActive (4), +# fixedTimeOperation (5), +# trafficDependentOperation (6), +# standbyOperation (7), +# failureMode (8), +# off (9), +# recentMAPmessageUpdate (10), +# recentChangeInMAPassignedLanesIDsUsed (11), +# noValidMAPisAvailableAtThisTime (12), +# noValidSPATisAvailableAtThisTime (13) +# } (SIZE(16)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 16 +uint8 BIT_INDEX_MANUAL_CONTROL_IS_ENABLED = 0 +uint8 BIT_INDEX_STOP_TIME_IS_ACTIVATED = 1 +uint8 BIT_INDEX_FAILURE_FLASH = 2 +uint8 BIT_INDEX_PREEMPT_IS_ACTIVE = 3 +uint8 BIT_INDEX_SIGNAL_PRIORITY_IS_ACTIVE = 4 +uint8 BIT_INDEX_FIXED_TIME_OPERATION = 5 +uint8 BIT_INDEX_TRAFFIC_DEPENDENT_OPERATION = 6 +uint8 BIT_INDEX_STANDBY_OPERATION = 7 +uint8 BIT_INDEX_FAILURE_MODE = 8 +uint8 BIT_INDEX_OFF = 9 +uint8 BIT_INDEX_RECENT_MA_PMESSAGE_UPDATE = 10 +uint8 BIT_INDEX_RECENT_CHANGE_IN_MA_PASSIGNED_LANES_I_DS_USED = 11 +uint8 BIT_INDEX_NO_VALID_MA_PIS_AVAILABLE_AT_THIS_TIME = 12 +uint8 BIT_INDEX_NO_VALID_SPA_TIS_AVAILABLE_AT_THIS_TIME = 13 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Iso3833VehicleType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Iso3833VehicleType.msg new file mode 100644 index 000000000..8ec80bbef --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Iso3833VehicleType.msg @@ -0,0 +1,117 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Iso3833VehicleType ::= INTEGER { +# passengerCar (0), -- term No 3.1.1 +# saloon (1), -- term No 3.1.1.1 (sedan) +# convertibleSaloon (2), -- term No 3.1.1.2 +# pullmanSaloon (3), -- term No 3.1.1.3 +# stationWagon (4), -- term No 3.1.1.4 +# truckStationWagon (5), -- term No 3.1.1.4.1 +# coupe (6), -- term No 3.1.1.5 (coup�) +# convertible (7), -- term No 3.1.1.6 (open tourer, roadstar, spider) +# multipurposePassengerCar (8), -- term No 3.1.1.7 +# forwardControlPassengerCar (9), -- term No 3.1.1.8 +# specialPassengerCar (10), -- term No 3.1.1.9 +# bus (11), -- term No 3.1.2 +# minibus (12), -- term No 3.1.2.1 +# urbanBus (13), -- term No 3.1.2.2 +# interurbanCoach (14), -- term No 3.1.2.3 +# longDistanceCoach (15), -- term No 3.1.2.4 +# articulatedBus (16), -- term No 3.1.2.5 +# trolleyBus (17), -- term No 3.1.2.6 +# specialBus (18), -- term No 3.1.2.7 +# commercialVehicle (19), -- term No 3.1.3 +# specialCommercialVehicle (20), -- term No 3.1.3.1 +# specialVehicle (21), -- term No 3.1.4 +# trailingTowingVehicle (22), -- term No 3.1.5 (draw-bar tractor) +# semiTrailerTowingVehicle (23), -- term No 3.1.6 (fifth wheel tractor) +# trailer (24), -- term No 3.2.1 +# busTrailer (25), -- term No 3.2.1.1 +# generalPurposeTrailer (26), -- term No 3.2.1.2 +# caravan (27), -- term No 3.2.1.3 +# specialTrailer (28), -- term No 3.2.1.4 +# semiTrailer (29), -- term No 3.2.2 +# busSemiTrailer (30), -- term No 3.2.2.1 +# generalPurposeSemiTrailer (31), -- term No 3.2.2.2 +# specialSemiTrailer (32), -- term No 3.2.2.3 +# roadTrain (33), -- term No 3.3.1 +# passengerRoadTrain (34), -- term No 3.3.2 +# articulatedRoadTrain (35), -- term No 3.3.3 +# doubleRoadTrain (36), -- term No 3.3.4 +# compositeRoadTrain (37), -- term No 3.3.5 +# specialRoadTrain (38), -- term No 3.3.6 +# moped (39), -- term No 3.4 +# motorCycle (40) -- term No 3.5 +# } (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 PASSENGER_CAR = 0 +uint8 SALOON = 1 +uint8 CONVERTIBLE_SALOON = 2 +uint8 PULLMAN_SALOON = 3 +uint8 STATION_WAGON = 4 +uint8 TRUCK_STATION_WAGON = 5 +uint8 COUPE = 6 +uint8 CONVERTIBLE = 7 +uint8 MULTIPURPOSE_PASSENGER_CAR = 8 +uint8 FORWARD_CONTROL_PASSENGER_CAR = 9 +uint8 SPECIAL_PASSENGER_CAR = 10 +uint8 BUS = 11 +uint8 MINIBUS = 12 +uint8 URBAN_BUS = 13 +uint8 INTERURBAN_COACH = 14 +uint8 LONG_DISTANCE_COACH = 15 +uint8 ARTICULATED_BUS = 16 +uint8 TROLLEY_BUS = 17 +uint8 SPECIAL_BUS = 18 +uint8 COMMERCIAL_VEHICLE = 19 +uint8 SPECIAL_COMMERCIAL_VEHICLE = 20 +uint8 SPECIAL_VEHICLE = 21 +uint8 TRAILING_TOWING_VEHICLE = 22 +uint8 SEMI_TRAILER_TOWING_VEHICLE = 23 +uint8 TRAILER = 24 +uint8 BUS_TRAILER = 25 +uint8 GENERAL_PURPOSE_TRAILER = 26 +uint8 CARAVAN = 27 +uint8 SPECIAL_TRAILER = 28 +uint8 SEMI_TRAILER = 29 +uint8 BUS_SEMI_TRAILER = 30 +uint8 GENERAL_PURPOSE_SEMI_TRAILER = 31 +uint8 SPECIAL_SEMI_TRAILER = 32 +uint8 ROAD_TRAIN = 33 +uint8 PASSENGER_ROAD_TRAIN = 34 +uint8 ARTICULATED_ROAD_TRAIN = 35 +uint8 DOUBLE_ROAD_TRAIN = 36 +uint8 COMPOSITE_ROAD_TRAIN = 37 +uint8 SPECIAL_ROAD_TRAIN = 38 +uint8 MOPED = 39 +uint8 MOTOR_CYCLE = 40 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IssuerIdentifier.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IssuerIdentifier.msg new file mode 100644 index 000000000..05ab70d4a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/IssuerIdentifier.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# IssuerIdentifier::= INTEGER(0 .. 16383) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 16383 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItineraryPath.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItineraryPath.msg new file mode 100644 index 000000000..c27883349 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItineraryPath.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ItineraryPath ::= SEQUENCE SIZE(1..40) OF ReferencePosition +# ------------------------------------------------------------------------------ + +ReferencePosition[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 40 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsPduHeader.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsPduHeader.msg new file mode 100644 index 000000000..ad5a594dd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsPduHeader.msg @@ -0,0 +1,55 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ItsPduHeader ::= SEQUENCE { +# protocolVersion INTEGER (0..255), +# messageID INTEGER{ denm(1), cam(2), poi(3), spatem(4), mapem(5), ivim(6), ev-rsr(7), tistpgtransaction(8), srem(9), ssem(10), evcsn(11), saem(12), rtcmem(13) } (0..255), -- Mantis #7209, #7005 +# ------------------------------------------------------------------------------ +uint8 protocol_version +uint8 PROTOCOL_VERSION_MIN = 0 +uint8 PROTOCOL_VERSION_MAX = 255 + +uint8 message_id +uint8 MESSAGE_ID_MIN = 0 +uint8 MESSAGE_ID_MAX = 255 +uint8 MESSAGE_ID_DENM = 1 +uint8 MESSAGE_ID_CAM = 2 +uint8 MESSAGE_ID_POI = 3 +uint8 MESSAGE_ID_SPATEM = 4 +uint8 MESSAGE_ID_MAPEM = 5 +uint8 MESSAGE_ID_IVIM = 6 +uint8 MESSAGE_ID_EV_RSR = 7 +uint8 MESSAGE_ID_TISTPGTRANSACTION = 8 +uint8 MESSAGE_ID_SREM = 9 +uint8 MESSAGE_ID_SSEM = 10 +uint8 MESSAGE_ID_EVCSN = 11 +uint8 MESSAGE_ID_SAEM = 12 +uint8 MESSAGE_ID_RTCMEM = 13 + +StationID station_id + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPosition.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPosition.msg new file mode 100644 index 000000000..a177b6656 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPosition.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ItsStationPosition ::= SEQUENCE { +# stationID StationID, +# laneID LaneID OPTIONAL, +# nodeXY NodeOffsetPointXY OPTIONAL, +# timeReference TimeReference OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Data frames +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +StationID station_id + +LaneID lane_id +bool lane_id_is_present + +NodeOffsetPointXY node_xy +bool node_xy_is_present + +TimeReference time_reference +bool time_reference_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPositionList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPositionList.msg new file mode 100644 index 000000000..49642e093 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ItsStationPositionList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ItsStationPositionList ::= SEQUENCE SIZE(1..5) OF ItsStationPosition +# ------------------------------------------------------------------------------ + +ItsStationPosition[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneAttributes.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneAttributes.msg new file mode 100644 index 000000000..16d9f0f22 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneAttributes.msg @@ -0,0 +1,47 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneAttributes ::= SEQUENCE { +# directionalUse LaneDirection, +# sharedWith LaneSharing, +# laneType LaneTypeAttributes, +# regional RegionalExtension {{Reg-LaneAttributes}} OPTIONAL +# -------------------------------------------------------------------------------Vehicle + +uint8[] value +uint8 bits_unused +int64 MIN_SIZE_BITS = 8 +int64 MAX_SIZE_BITS = 8 +uint8 BIT_INDEX_IS_VEHICLE_REVOCABLE_LANE = 0 +uint8 BIT_INDEX_IS_VEHICLE_FLY_OVER_LANE = 1 +uint8 BIT_INDEX_HOV_LANE_USE_ONLY = 2 +uint8 BIT_INDEX_RESTRICTED_TO_BUS_USE = 3 +uint8 BIT_INDEX_RESTRICTED_TO_TAXI_USE = 4 +uint8 BIT_INDEX_RESTRICTED_FROM_PUBLIC_USE = 5 +uint8 BIT_INDEX_HAS_I_RBEACON_COVERAGE = 6 +uint8 BIT_INDEX_PERMISSION_ON_REQUEST = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneConnectionID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneConnectionID.msg new file mode 100644 index 000000000..a892f1bda --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneConnectionID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneConnectionID ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttribute.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttribute.msg new file mode 100644 index 000000000..dbc5bb532 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttribute.msg @@ -0,0 +1,95 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneDataAttribute ::= CHOICE { +# pathEndPointAngle DeltaAngle, +# laneCrownPointCenter RoadwayCrownAngle, +# laneCrownPointLeft RoadwayCrownAngle, +# laneCrownPointRight RoadwayCrownAngle, +# laneAngle MergeDivergeNodeAngle, +# speedLimits SpeedLimitList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-LaneDataAttribute}}, +# ... +# } +# ------------------------------------------------------------------------------ +uint8 choice + +DeltaAngle path_end_point_angle +uint8 CHOICE_PATH_END_POINT_ANGLE = 0 + +RoadwayCrownAngle lane_crown_point_center +uint8 CHOICE_LANE_CROWN_POINT_CENTER = 1 + +RoadwayCrownAngle lane_crown_point_left +uint8 CHOICE_LANE_CROWN_POINT_LEFT = 2 + +RoadwayCrownAngle lane_crown_point_right +uint8 CHOICE_LANE_CROWN_POINT_RIGHT = 3 + +MergeDivergeNodeAngle lane_angle +uint8 CHOICE_LANE_ANGLE = 4 + +SpeedLimitList speed_limits +uint8 CHOICE_SPEED_LIMITS = 5 + +LaneDataAttributeregional[] regional +uint8 CHOICE_REGIONAL = 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF LaneDataAttributeregional +# Inner type + +AnonymousLaneDataAttributeregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttributeList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttributeList.msg new file mode 100644 index 000000000..54bf04d2b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDataAttributeList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneDataAttributeList ::= SEQUENCE (SIZE(1..8)) OF LaneDataAttribute +# ------------------------------------------------------------------------------ + +LaneDataAttribute[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDirection.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDirection.msg new file mode 100644 index 000000000..98865018a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneDirection.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneDirection ::= BIT STRING { +# ingressPath (0), +# egressPath (1) +# } (SIZE (2)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 2 +uint8 BIT_INDEX_INGRESS_PATH = 0 +uint8 BIT_INDEX_EGRESS_PATH = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneID.msg new file mode 100644 index 000000000..6e6ba14f4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneID ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneList.msg new file mode 100644 index 000000000..11544f1f7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneList ::= SEQUENCE (SIZE(1..255)) OF GenericLane +# ------------------------------------------------------------------------------ + +GenericLane[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 255 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LanePosition.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LanePosition.msg new file mode 100644 index 000000000..3d71c17b5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LanePosition.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LanePosition::= INTEGER {offTheRoad(-1), hardShoulder(0), +# outermostDrivingLane(1), secondLaneFromOutside(2)} (-1..14) +# ------------------------------------------------------------------------------ + +int8 value +int8 MIN = -1 +int8 MAX = 14 +int8 OFF_THE_ROAD = -1 +int8 HARD_SHOULDER = 0 +int8 OUTERMOST_DRIVING_LANE = 1 +int8 SECOND_LANE_FROM_OUTSIDE = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneSharing.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneSharing.msg new file mode 100644 index 000000000..f69ca419e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneSharing.msg @@ -0,0 +1,55 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneSharing ::= BIT STRING { +# overlappingLaneDescriptionProvided (0), +# multipleLanesTreatedAsOneLane (1), +# otherNonMotorizedTrafficTypes (2), +# individualMotorizedVehicleTraffic (3), +# busVehicleTraffic (4), +# taxiVehicleTraffic (5), +# pedestriansTraffic (6), +# cyclistVehicleTraffic (7), +# trackedVehicleTraffic (8), +# pedestrianTraffic (9) +# } (SIZE (10)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 10 +uint8 BIT_INDEX_OVERLAPPING_LANE_DESCRIPTION_PROVIDED = 0 +uint8 BIT_INDEX_MULTIPLE_LANES_TREATED_AS_ONE_LANE = 1 +uint8 BIT_INDEX_OTHER_NON_MOTORIZED_TRAFFIC_TYPES = 2 +uint8 BIT_INDEX_INDIVIDUAL_MOTORIZED_VEHICLE_TRAFFIC = 3 +uint8 BIT_INDEX_BUS_VEHICLE_TRAFFIC = 4 +uint8 BIT_INDEX_TAXI_VEHICLE_TRAFFIC = 5 +uint8 BIT_INDEX_PEDESTRIANS_TRAFFIC = 6 +uint8 BIT_INDEX_CYCLIST_VEHICLE_TRAFFIC = 7 +uint8 BIT_INDEX_TRACKED_VEHICLE_TRAFFIC = 8 +uint8 BIT_INDEX_PEDESTRIAN_TRAFFIC = 9 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneTypeAttributes.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneTypeAttributes.msg new file mode 100644 index 000000000..6cc5141de --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneTypeAttributes.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneTypeAttributes ::= CHOICE { +# vehicle LaneAttributes-Vehicle, +# crosswalk LaneAttributes-Crosswalk, +# bikeLane LaneAttributes-Bike, +# sidewalk LaneAttributes-Sidewalk, +# median LaneAttributes-Barrier, +# striping LaneAttributes-Striping, +# trackedVehicle LaneAttributes-TrackedVehicle, +# parking LaneAttributes-Parking, +# ... +# } +# ------------------------------------------------------------------------------ +uint8 choice + +LaneAttributesVehicle vehicle +uint8 CHOICE_VEHICLE = 0 + +LaneAttributesCrosswalk crosswalk +uint8 CHOICE_CROSSWALK = 1 + +LaneAttributesBike bike_lane +uint8 CHOICE_BIKE_LANE = 2 + +LaneAttributesSidewalk sidewalk +uint8 CHOICE_SIDEWALK = 3 + +LaneAttributesBarrier median +uint8 CHOICE_MEDIAN = 4 + +LaneAttributesStriping striping +uint8 CHOICE_STRIPING = 5 + +LaneAttributesTrackedVehicle tracked_vehicle +uint8 CHOICE_TRACKED_VEHICLE = 6 + +LaneAttributesParking parking +uint8 CHOICE_PARKING = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneWidth.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneWidth.msg new file mode 100644 index 000000000..43ac64bfc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LaneWidth.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LaneWidth ::= INTEGER (0..32767) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 32767 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAcceleration.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAcceleration.msg new file mode 100644 index 000000000..ef8bf033b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAcceleration.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LateralAcceleration ::= SEQUENCE { +# lateralAccelerationValue LateralAccelerationValue, +# lateralAccelerationConfidence AccelerationConfidence +# } +# ------------------------------------------------------------------------------ +LateralAccelerationValue lateral_acceleration_value + +AccelerationConfidence lateral_acceleration_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAccelerationValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAccelerationValue.msg new file mode 100644 index 000000000..782551d06 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LateralAccelerationValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LateralAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredToRight(-1), pointOneMeterPerSecSquaredToLeft(1), unavailable(161)} (-160 .. 161) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -160 +int16 MAX = 161 +int16 POINT_ONE_METER_PER_SEC_SQUARED_TO_RIGHT = -1 +int16 POINT_ONE_METER_PER_SEC_SQUARED_TO_LEFT = 1 +int16 UNAVAILABLE = 161 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Latitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Latitude.msg new file mode 100644 index 000000000..6af9d110d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Latitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Latitude ::= INTEGER {oneMicrodegreeNorth (10), oneMicrodegreeSouth (-10), unavailable(900000001)} (-900000000..900000001) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -900000000 +int32 MAX = 900000001 +int32 ONE_MICRODEGREE_NORTH = 10 +int32 ONE_MICRODEGREE_SOUTH = -10 +int32 UNAVAILABLE = 900000001 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerID.msg new file mode 100644 index 000000000..3ccfc0c49 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LayerID ::= INTEGER (0..100) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 100 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerType.msg new file mode 100644 index 000000000..993af52f0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LayerType.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LayerType ::= ENUMERATED { +# none, +# mixedContent, +# generalMapData, +# intersectionData, +# curveData, +# roadwaySectionData, +# parkingAreaData, +# sharedLaneData, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NONE = 0 +uint8 MIXED_CONTENT = 1 +uint8 GENERAL_MAP_DATA = 2 +uint8 INTERSECTION_DATA = 3 +uint8 CURVE_DATA = 4 +uint8 ROADWAY_SECTION_DATA = 5 +uint8 PARKING_AREA_DATA = 6 +uint8 SHARED_LANE_DATA = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LicPlateNumber.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LicPlateNumber.msg new file mode 100644 index 000000000..0e7abb20e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LicPlateNumber.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LicPlateNumber::= OCTET STRING +# ------------------------------------------------------------------------------ + +uint8[] value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LightBarSirenInUse.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LightBarSirenInUse.msg new file mode 100644 index 000000000..ff2558e7f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LightBarSirenInUse.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LightBarSirenInUse ::= BIT STRING { +# lightBarActivated (0), +# sirenActivated (1) +# } (SIZE(2)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 2 +uint8 BIT_INDEX_LIGHT_BAR_ACTIVATED = 0 +uint8 BIT_INDEX_SIREN_ACTIVATED = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Longitude.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Longitude.msg new file mode 100644 index 000000000..f49d25fa4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Longitude.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Longitude ::= INTEGER {oneMicrodegreeEast (10), oneMicrodegreeWest (-10), unavailable(1800000001)} (-1800000000..1800000001) +# ------------------------------------------------------------------------------ + +int32 value +int32 MIN = -1800000000 +int32 MAX = 1800000001 +int32 ONE_MICRODEGREE_EAST = 10 +int32 ONE_MICRODEGREE_WEST = -10 +int32 UNAVAILABLE = 1800000001 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAcceleration.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAcceleration.msg new file mode 100644 index 000000000..3299f3556 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAcceleration.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LongitudinalAcceleration ::= SEQUENCE { +# longitudinalAccelerationValue LongitudinalAccelerationValue, +# longitudinalAccelerationConfidence AccelerationConfidence +# } +# ------------------------------------------------------------------------------ +LongitudinalAccelerationValue longitudinal_acceleration_value + +AccelerationConfidence longitudinal_acceleration_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAccelerationValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAccelerationValue.msg new file mode 100644 index 000000000..79c6db8d3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/LongitudinalAccelerationValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# LongitudinalAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredForward(1), pointOneMeterPerSecSquaredBackward(-1), unavailable(161)} (-160 .. 161) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -160 +int16 MAX = 161 +int16 POINT_ONE_METER_PER_SEC_SQUARED_FORWARD = 1 +int16 POINT_ONE_METER_PER_SEC_SQUARED_BACKWARD = -1 +int16 UNAVAILABLE = 161 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MAPEM.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MAPEM.msg new file mode 100644 index 000000000..040850270 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MAPEM.msg @@ -0,0 +1,48 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MAPEM ::= SEQUENCE { +# -- @details header +# -- The DE _protocolVersion_ is used to select the appropriate protocol decoder at the receiving ITS-S. +# -- It shall be set to 2. +# -- The DE _messageID_ shall be mapem(5). +# header ItsPduHeader, +# -- @details map +# -- The DE _map_ contains the MAP data as defined in ISO TS 19091. +# map MapData +# } +# ------------------------------------------------------------------------------ +# Map (lane topology) extended Message +# @brief Map (lane topology) extended Message Root +# This DF includes DEs for the MAPEM: protocolVersion, the MAPEM message type identifier _messageID_, +# the station identifier _stationID_ of the originating ITS-S and the Map data from ISO TS 19091. + +ItsPduHeader header + +MapData map + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManeuverAssistList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManeuverAssistList.msg new file mode 100644 index 000000000..03752cc2a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManeuverAssistList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ManeuverAssistList ::= SEQUENCE (SIZE(1..16)) OF ConnectionManeuverAssist +# ------------------------------------------------------------------------------ + +ConnectionManeuverAssist[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManufacturerIdentifier.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManufacturerIdentifier.msg new file mode 100644 index 000000000..ac9f42d5d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ManufacturerIdentifier.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ManufacturerIdentifier::= INTEGER(0 .. 65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MapData.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MapData.msg new file mode 100644 index 000000000..323f29059 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MapData.msg @@ -0,0 +1,100 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MapData ::= SEQUENCE { +# timeStamp MinuteOfTheYear OPTIONAL, +# msgIssueRevision MsgCount, +# layerType LayerType OPTIONAL, +# layerID LayerID OPTIONAL, +# intersections IntersectionGeometryList OPTIONAL, +# roadSegments RoadSegmentList OPTIONAL, +# dataParameters DataParameters OPTIONAL, +# restrictionList RestrictionClassList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-MapData}} OPTIONAL, +# ------------------------------------------------------------------------------ +MinuteOfTheYear time_stamp +bool time_stamp_is_present + +MsgCount msg_issue_revision + +LayerType layer_type +bool layer_type_is_present + +LayerID layer_id +bool layer_id_is_present + +IntersectionGeometryList intersections +bool intersections_is_present + +RoadSegmentList road_segments +bool road_segments_is_present + +DataParameters data_parameters +bool data_parameters_is_present + +RestrictionClassList restriction_list +bool restriction_list_is_present + +MapDataregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF MapDataregional +# Inner type + +AnonymousMapDataregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MergeDivergeNodeAngle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MergeDivergeNodeAngle.msg new file mode 100644 index 000000000..2b753213b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MergeDivergeNodeAngle.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MergeDivergeNodeAngle ::= INTEGER (-180..180) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -180 +int16 MAX = 180 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MinuteOfTheYear.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MinuteOfTheYear.msg new file mode 100644 index 000000000..daf49e5cd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MinuteOfTheYear.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MinuteOfTheYear ::= INTEGER (0..527040) +# ------------------------------------------------------------------------------ + +uint32 value +uint32 MIN = 0 +uint32 MAX = 527040 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEvent.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEvent.msg new file mode 100644 index 000000000..e6d64c403 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEvent.msg @@ -0,0 +1,80 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MovementEvent ::= SEQUENCE { +# eventState MovementPhaseState, +# timing TimeChangeDetails OPTIONAL, +# speeds AdvisorySpeedList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-MovementEvent}} OPTIONAL, +# ------------------------------------------------------------------------------ +MovementPhaseState event_state + +TimeChangeDetails timing +bool timing_is_present + +AdvisorySpeedList speeds +bool speeds_is_present + +MovementEventregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF MovementEventregional +# Inner type + +AnonymousMovementEventregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEventList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEventList.msg new file mode 100644 index 000000000..f99a8c23e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementEventList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MovementEventList ::= SEQUENCE (SIZE(1..16)) OF MovementEvent +# ------------------------------------------------------------------------------ + +MovementEvent[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementList.msg new file mode 100644 index 000000000..0c661cac3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MovementList ::= SEQUENCE (SIZE(1..255)) OF MovementState +# ------------------------------------------------------------------------------ + +MovementState[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 255 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementPhaseState.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementPhaseState.msg new file mode 100644 index 000000000..6df761dc7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementPhaseState.msg @@ -0,0 +1,54 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MovementPhaseState ::= ENUMERATED { +# unavailable (0), +# dark (1), +# stop-Then-Proceed (2), +# stop-And-Remain (3), +# pre-Movement (4), +# permissive-Movement-Allowed (5), +# protected-Movement-Allowed (6), +# permissive-clearance (7), +# protected-clearance (8), +# caution-Conflicting-Traffic (9) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 DARK = 1 +uint8 STOP_THEN_PROCEED = 2 +uint8 STOP_AND_REMAIN = 3 +uint8 PRE_MOVEMENT = 4 +uint8 PERMISSIVE_MOVEMENT_ALLOWED = 5 +uint8 PROTECTED_MOVEMENT_ALLOWED = 6 +uint8 PERMISSIVE_CLEARANCE = 7 +uint8 PROTECTED_CLEARANCE = 8 +uint8 CAUTION_CONFLICTING_TRAFFIC = 9 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementState.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementState.msg new file mode 100644 index 000000000..643736d97 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MovementState.msg @@ -0,0 +1,83 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MovementState ::= SEQUENCE { +# movementName DescriptiveName OPTIONAL, +# signalGroup SignalGroupID, +# state-time-speed MovementEventList, +# maneuverAssistList ManeuverAssistList OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-MovementState}} OPTIONAL, +# ------------------------------------------------------------------------------ +DescriptiveName movement_name +bool movement_name_is_present + +SignalGroupID signal_group + +MovementEventList state_time_speed + +ManeuverAssistList maneuver_assist_list +bool maneuver_assist_list_is_present + +MovementStateregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF MovementStateregional +# Inner type + +AnonymousMovementStateregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MsgCount.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MsgCount.msg new file mode 100644 index 000000000..3549d89b4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/MsgCount.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# MsgCount ::= INTEGER (0..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 127 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Node.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Node.msg new file mode 100644 index 000000000..59775b460 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Node.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Node ::= SEQUENCE { +# id INTEGER, +# lane LaneID OPTIONAL, +# connectionID LaneConnectionID OPTIONAL, +# intersectionID IntersectionID OPTIONAL, +# ... +# } +# -------------------------------------------------------------------------------XY-32b +OffsetB16 x + +OffsetB16 y + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSet.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSet.msg new file mode 100644 index 000000000..db2aea213 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSet.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- + +# -------------------------------------------------------------------------------addGrpC +PtvRequestType ptv_request +bool ptv_request_is_present + +NodeLink node_link +bool node_link_is_present + +Node node +bool node_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSetXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSetXY.msg new file mode 100644 index 000000000..fb3724575 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeSetXY.msg @@ -0,0 +1,93 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeAttributeSetXY ::= SEQUENCE { +# localNode NodeAttributeXYList OPTIONAL, +# disabled SegmentAttributeXYList OPTIONAL, +# enabled SegmentAttributeXYList OPTIONAL, +# data LaneDataAttributeList OPTIONAL, +# dWidth Offset-B10 OPTIONAL, +# dElevation Offset-B10 OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-NodeAttributeSetXY}} OPTIONAL, +# ------------------------------------------------------------------------------ +NodeAttributeXYList local_node +bool local_node_is_present + +SegmentAttributeXYList disabled +bool disabled_is_present + +SegmentAttributeXYList enabled +bool enabled_is_present + +LaneDataAttributeList data +bool data_is_present + +OffsetB10 d_width +bool d_width_is_present + +OffsetB10 d_elevation +bool d_elevation_is_present + +NodeAttributeSetXYregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF NodeAttributeSetXYregional +# Inner type + +AnonymousNodeAttributeSetXYregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXY.msg new file mode 100644 index 000000000..43512e3f5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXY.msg @@ -0,0 +1,59 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeAttributeXY ::= ENUMERATED { +# reserved, +# stopLine, +# roundedCapStyleA, +# roundedCapStyleB, +# mergePoint, +# divergePoint, +# downstreamStopLine, +# downstreamStartNode, +# closedToTraffic, +# safeIsland, +# curbPresentAtStepOff, +# hydrantPresent, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 RESERVED = 0 +uint8 STOP_LINE = 1 +uint8 ROUNDED_CAP_STYLE_A = 2 +uint8 ROUNDED_CAP_STYLE_B = 3 +uint8 MERGE_POINT = 4 +uint8 DIVERGE_POINT = 5 +uint8 DOWNSTREAM_STOP_LINE = 6 +uint8 DOWNSTREAM_START_NODE = 7 +uint8 CLOSED_TO_TRAFFIC = 8 +uint8 SAFE_ISLAND = 9 +uint8 CURB_PRESENT_AT_STEP_OFF = 10 +uint8 HYDRANT_PRESENT = 11 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXYList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXYList.msg new file mode 100644 index 000000000..ecac5b21a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeAttributeXYList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeAttributeXYList ::= SEQUENCE (SIZE(1..8)) OF NodeAttributeXY +# ------------------------------------------------------------------------------ + +NodeAttributeXY[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeLink.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeLink.msg new file mode 100644 index 000000000..2d03b48b6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeLink.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeLink ::= SEQUENCE SIZE (1..5) OF Node +# ------------------------------------------------------------------------------ + +Node[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeListXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeListXY.msg new file mode 100644 index 000000000..08b6356dc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeListXY.msg @@ -0,0 +1,42 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeListXY ::= CHOICE { +# nodes NodeSetXY, +# computed ComputedLane, +# ... +# } +# ------------------------------------------------------------------------------ +uint8 choice + +NodeSetXY nodes +uint8 CHOICE_NODES = 0 + +ComputedLane computed +uint8 CHOICE_COMPUTED = 1 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeOffsetPointXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeOffsetPointXY.msg new file mode 100644 index 000000000..6720500d8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeOffsetPointXY.msg @@ -0,0 +1,99 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeOffsetPointXY ::= CHOICE { +# node-XY1 Node-XY-20b, +# node-XY2 Node-XY-22b, +# node-XY3 Node-XY-24b, +# node-XY4 Node-XY-26b, +# node-XY5 Node-XY-28b, +# node-XY6 Node-XY-32b, +# node-LatLon Node-LLmD-64b, +# regional RegionalExtension {{Reg-NodeOffsetPointXY}} +# ------------------------------------------------------------------------------ +uint8 choice + +NodeXY20b node_xy1 +uint8 CHOICE_NODE_XY1 = 0 + +NodeXY22b node_xy2 +uint8 CHOICE_NODE_XY2 = 1 + +NodeXY24b node_xy3 +uint8 CHOICE_NODE_XY3 = 2 + +NodeXY26b node_xy4 +uint8 CHOICE_NODE_XY4 = 3 + +NodeXY28b node_xy5 +uint8 CHOICE_NODE_XY5 = 4 + +NodeXY32b node_xy6 +uint8 CHOICE_NODE_XY6 = 5 + +NodeLLmD64b node_lat_lon +uint8 CHOICE_NODE_LAT_LON = 6 + +NodeOffsetPointXYregional regional +uint8 CHOICE_REGIONAL = 7 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE NodeOffsetPointXYregional +# Inner type + +uint8 region_id +uint8 REGION_ID_MIN = 0 +uint8 REGION_ID_MAX = 255 + +Reg-NodeOffsetPointXY reg_ext_value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeSetXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeSetXY.msg new file mode 100644 index 000000000..450d972d3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeSetXY.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeSetXY ::= SEQUENCE (SIZE(2..63)) OF NodeXY +# ------------------------------------------------------------------------------ + +NodeXY[] array +uint8 MIN_SIZE = 2 +uint8 MAX_SIZE = 63 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeXY.msg new file mode 100644 index 000000000..94d3516ac --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NodeXY.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NodeXY ::= SEQUENCE { +# delta NodeOffsetPointXY, +# attributes NodeAttributeSetXY OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +NodeOffsetPointXY delta + +NodeAttributeSetXY attributes +bool attributes_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NumberOfOccupants.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NumberOfOccupants.msg new file mode 100644 index 000000000..8ddfdfa47 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/NumberOfOccupants.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# NumberOfOccupants ::= INTEGER {oneOccupant (1), unavailable(127)} (0 .. 127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 127 +uint8 ONE_OCCUPANT = 1 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB09.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB09.msg new file mode 100644 index 000000000..f002c117e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB09.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B09 ::= INTEGER (-256..255) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -256 +int16 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB10.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB10.msg new file mode 100644 index 000000000..b4abeac2c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB10.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B10 ::= INTEGER (-512..511) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -512 +int16 MAX = 511 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB11.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB11.msg new file mode 100644 index 000000000..11fdb7af1 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB11.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B11 ::= INTEGER (-1024..1023) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -1024 +int16 MAX = 1023 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB12.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB12.msg new file mode 100644 index 000000000..1e5ecbbb5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB12.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B12 ::= INTEGER (-2048..2047) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -2048 +int16 MAX = 2047 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB13.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB13.msg new file mode 100644 index 000000000..e23a6c371 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB13.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B13 ::= INTEGER (-4096..4095) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -4096 +int16 MAX = 4095 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB14.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB14.msg new file mode 100644 index 000000000..363d88549 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB14.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B14 ::= INTEGER (-8192..8191) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -8192 +int16 MAX = 8191 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB16.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB16.msg new file mode 100644 index 000000000..fd17db5d3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OffsetB16.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Offset-B16 ::= INTEGER (-32768..32767) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -32768 +int16 MAX = 32767 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OpeningDaysHours.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OpeningDaysHours.msg new file mode 100644 index 000000000..f1555eefa --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OpeningDaysHours.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# OpeningDaysHours ::= UTF8String +# ------------------------------------------------------------------------------ + +string value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OverlayLaneList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OverlayLaneList.msg new file mode 100644 index 000000000..374ac69ab --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/OverlayLaneList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# OverlayLaneList ::= SEQUENCE (SIZE(1..5)) OF LaneID +# ------------------------------------------------------------------------------ + +LaneID[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathDeltaTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathDeltaTime.msg new file mode 100644 index 000000000..194b6764a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathDeltaTime.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PathDeltaTime ::= INTEGER {tenMilliSecondsInPast(1)} (1..65535, ...) +# ------------------------------------------------------------------------------ + +int64 value +int64 MIN = 1 +int64 MAX = 65535 +int64 TEN_MILLI_SECONDS_IN_PAST = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathHistory.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathHistory.msg new file mode 100644 index 000000000..dc5d2f0e7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathHistory.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PathHistory::= SEQUENCE (SIZE(0..40)) OF PathPoint +# ------------------------------------------------------------------------------ + +PathPoint[] array +uint8 MIN_SIZE = 0 +uint8 MAX_SIZE = 40 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathPoint.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathPoint.msg new file mode 100644 index 000000000..bd08b5692 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PathPoint.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PathPoint ::= SEQUENCE { +# pathPosition DeltaReferencePosition, +# pathDeltaTime PathDeltaTime OPTIONAL +# } +# ------------------------------------------------------------------------------ +DeltaReferencePosition path_position + +PathDeltaTime path_delta_time +bool path_delta_time_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PedestrianBicycleDetect.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PedestrianBicycleDetect.msg new file mode 100644 index 000000000..593e4dfa9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PedestrianBicycleDetect.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PedestrianBicycleDetect ::= BOOLEAN +# ------------------------------------------------------------------------------ + +bool value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PerformanceClass.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PerformanceClass.msg new file mode 100644 index 000000000..aab03e7cc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PerformanceClass.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PerformanceClass ::= INTEGER {unavailable(0), performanceClassA(1), performanceClassB(2)} (0..7) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 7 +uint8 UNAVAILABLE = 0 +uint8 PERFORMANCE_CLASS_A = 1 +uint8 PERFORMANCE_CLASS_B = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PhoneNumber.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PhoneNumber.msg new file mode 100644 index 000000000..58000694a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PhoneNumber.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PhoneNumber ::= NumericString (SIZE(1..16)) +# ------------------------------------------------------------------------------ + +string value +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosCentMass.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosCentMass.msg new file mode 100644 index 000000000..eff5952cc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosCentMass.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PosCentMass ::= INTEGER {tenCentimeters(1), unavailable(63)} (1..63) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 63 +uint8 TEN_CENTIMETERS = 1 +uint8 UNAVAILABLE = 63 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosConfidenceEllipse.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosConfidenceEllipse.msg new file mode 100644 index 000000000..bc8c34055 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosConfidenceEllipse.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PosConfidenceEllipse ::= SEQUENCE { +# semiMajorConfidence SemiAxisLength, +# semiMinorConfidence SemiAxisLength, +# semiMajorOrientation HeadingValue +# } +# ------------------------------------------------------------------------------ +SemiAxisLength semi_major_confidence + +SemiAxisLength semi_minor_confidence + +HeadingValue semi_major_orientation + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosFrontAx.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosFrontAx.msg new file mode 100644 index 000000000..41c4220f2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosFrontAx.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PosFrontAx ::= INTEGER {tenCentimeters(1), unavailable(20)} (1..20) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 20 +uint8 TEN_CENTIMETERS = 1 +uint8 UNAVAILABLE = 20 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosLonCarr.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosLonCarr.msg new file mode 100644 index 000000000..ef0b75652 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosLonCarr.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PosLonCarr ::= INTEGER {oneCentimeter(1), unavailable(127)} (1..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 127 +uint8 ONE_CENTIMETER = 1 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosPillar.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosPillar.msg new file mode 100644 index 000000000..8a774d20d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PosPillar.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PosPillar ::= INTEGER {tenCentimeters(1), unavailable(30)} (1..30) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 30 +uint8 TEN_CENTIMETERS = 1 +uint8 UNAVAILABLE = 30 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Position3D.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Position3D.msg new file mode 100644 index 000000000..992742a7c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Position3D.msg @@ -0,0 +1,79 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Position3D ::= SEQUENCE { +# lat Latitude, +# long Longitude, +# elevation Elevation OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-Position3D}} OPTIONAL, +# ------------------------------------------------------------------------------ +Latitude lat + +Longitude long + +Elevation elevation +bool elevation_is_present + +Position3Dregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF Position3Dregional +# Inner type + +AnonymousPosition3Dregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidence.msg new file mode 100644 index 000000000..7c3b09175 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidence.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositionConfidence ::= ENUMERATED { +# unavailable (0), +# a500m (1), +# a200m (2), +# a100m (3), +# a50m (4), +# a20m (5), +# a10m (6), +# a5m (7), +# a2m (8), +# a1m (9), +# a50cm (10), +# a20cm (11), +# a10cm (12), +# a5cm (13), +# a2cm (14), +# a1cm (15) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 A500M = 1 +uint8 A200M = 2 +uint8 A100M = 3 +uint8 A50M = 4 +uint8 A20M = 5 +uint8 A10M = 6 +uint8 A5M = 7 +uint8 A2M = 8 +uint8 A1M = 9 +uint8 A50CM = 10 +uint8 A20CM = 11 +uint8 A10CM = 12 +uint8 A5CM = 13 +uint8 A2CM = 14 +uint8 A1CM = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidenceSet.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidenceSet.msg new file mode 100644 index 000000000..6d2e12af8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionConfidenceSet.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositionConfidenceSet ::= SEQUENCE { +# pos PositionConfidence, -- for both horizontal directions +# elevation ElevationConfidence +# } +# ------------------------------------------------------------------------------ +PositionConfidence pos + +ElevationConfidence elevation + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfOccupants.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfOccupants.msg new file mode 100644 index 000000000..f056f174f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfOccupants.msg @@ -0,0 +1,74 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositionOfOccupants ::= BIT STRING { +# row1LeftOccupied (0), +# row1RightOccupied (1), +# row1MidOccupied (2), +# row1NotDetectable (3), +# row1NotPresent (4), +# row2LeftOccupied (5), +# row2RightOccupied (6), +# row2MidOccupied (7), +# row2NotDetectable (8), +# row2NotPresent (9), +# row3LeftOccupied (10), +# row3RightOccupied (11), +# row3MidOccupied (12), +# row3NotDetectable (13), +# row3NotPresent (14), +# row4LeftOccupied (15), +# row4RightOccupied (16), +# row4MidOccupied (17), +# row4NotDetectable (18), +# row4NotPresent (19)} (SIZE(20)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 20 +uint8 BIT_INDEX_ROW1_LEFT_OCCUPIED = 0 +uint8 BIT_INDEX_ROW1_RIGHT_OCCUPIED = 1 +uint8 BIT_INDEX_ROW1_MID_OCCUPIED = 2 +uint8 BIT_INDEX_ROW1_NOT_DETECTABLE = 3 +uint8 BIT_INDEX_ROW1_NOT_PRESENT = 4 +uint8 BIT_INDEX_ROW2_LEFT_OCCUPIED = 5 +uint8 BIT_INDEX_ROW2_RIGHT_OCCUPIED = 6 +uint8 BIT_INDEX_ROW2_MID_OCCUPIED = 7 +uint8 BIT_INDEX_ROW2_NOT_DETECTABLE = 8 +uint8 BIT_INDEX_ROW2_NOT_PRESENT = 9 +uint8 BIT_INDEX_ROW3_LEFT_OCCUPIED = 10 +uint8 BIT_INDEX_ROW3_RIGHT_OCCUPIED = 11 +uint8 BIT_INDEX_ROW3_MID_OCCUPIED = 12 +uint8 BIT_INDEX_ROW3_NOT_DETECTABLE = 13 +uint8 BIT_INDEX_ROW3_NOT_PRESENT = 14 +uint8 BIT_INDEX_ROW4_LEFT_OCCUPIED = 15 +uint8 BIT_INDEX_ROW4_RIGHT_OCCUPIED = 16 +uint8 BIT_INDEX_ROW4_MID_OCCUPIED = 17 +uint8 BIT_INDEX_ROW4_NOT_DETECTABLE = 18 +uint8 BIT_INDEX_ROW4_NOT_PRESENT = 19 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfPillars.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfPillars.msg new file mode 100644 index 000000000..1e8df5a0e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionOfPillars.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositionOfPillars ::= SEQUENCE (SIZE(1..3, ...)) OF PosPillar +# ------------------------------------------------------------------------------ + +PosPillar[] array +int64 MIN_SIZE = 1 +int64 MAX_SIZE = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionalAccuracy.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionalAccuracy.msg new file mode 100644 index 000000000..b2cbdce82 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositionalAccuracy.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositionalAccuracy ::= SEQUENCE { +# semiMajor SemiMajorAxisAccuracy, +# semiMinor SemiMinorAxisAccuracy, +# orientation SemiMajorAxisOrientation +# } +# ------------------------------------------------------------------------------ +SemiMajorAxisAccuracy semi_major + +SemiMinorAxisAccuracy semi_minor + +SemiMajorAxisOrientation orientation + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositioningSolutionType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositioningSolutionType.msg new file mode 100644 index 000000000..c1e6c1972 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PositioningSolutionType.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PositioningSolutionType ::= ENUMERATED {noPositioningSolution(0), sGNSS(1), dGNSS(2), sGNSSplusDR(3), dGNSSplusDR(4), dR(5), ...} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NO_POSITIONING_SOLUTION = 0 +uint8 S_GNSS = 1 +uint8 D_GNSS = 2 +uint8 S_GNS_SPLUS_DR = 3 +uint8 D_GNS_SPLUS_DR = 4 +uint8 D_R = 5 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PostCrashSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PostCrashSubCauseCode.msg new file mode 100644 index 000000000..61a632353 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PostCrashSubCauseCode.msg @@ -0,0 +1,39 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PostCrashSubCauseCode ::= INTEGER {unavailable(0), accidentWithoutECallTriggered (1), accidentWithECallManuallyTriggered (2), accidentWithECallAutomaticallyTriggered (3), accidentWithECallTriggeredWithoutAccessToCellularNetwork(4)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 ACCIDENT_WITHOUT_E_CALL_TRIGGERED = 1 +uint8 ACCIDENT_WITH_E_CALL_MANUALLY_TRIGGERED = 2 +uint8 ACCIDENT_WITH_E_CALL_AUTOMATICALLY_TRIGGERED = 3 +uint8 ACCIDENT_WITH_E_CALL_TRIGGERED_WITHOUT_ACCESS_TO_CELLULAR_NETWORK = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PreemptPriorityList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PreemptPriorityList.msg new file mode 100644 index 000000000..20f157c3f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PreemptPriorityList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PreemptPriorityList ::= SEQUENCE (SIZE(1..32)) OF SignalControlZone +# ------------------------------------------------------------------------------ + +SignalControlZone[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponse.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponse.msg new file mode 100644 index 000000000..e842ce139 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponse.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PrioritizationResponse ::= SEQUENCE { +# stationID StationID, +# priorState PrioritizationResponseStatus, +# signalGroup SignalGroupID, +# ... +# } +# ------------------------------------------------------------------------------ +StationID station_id + +PrioritizationResponseStatus prior_state + +SignalGroupID signal_group + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseList.msg new file mode 100644 index 000000000..b4ff6fbdf --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PrioritizationResponseList ::= SEQUENCE SIZE(1..10) OF PrioritizationResponse +# ------------------------------------------------------------------------------ + +PrioritizationResponse[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 10 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseStatus.msg new file mode 100644 index 000000000..b3879f5e6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PrioritizationResponseStatus.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PrioritizationResponseStatus ::= ENUMERATED { +# unknown (0), +# requested (1), +# processing (2), +# watchOtherTraffic (3), +# granted (4), +# rejected (5), +# maxPresence (6), +# reserviceLocked (7), +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNKNOWN = 0 +uint8 REQUESTED = 1 +uint8 PROCESSING = 2 +uint8 WATCH_OTHER_TRAFFIC = 3 +uint8 GRANTED = 4 +uint8 REJECTED = 5 +uint8 MAX_PRESENCE = 6 +uint8 RESERVICE_LOCKED = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PriorityRequestType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PriorityRequestType.msg new file mode 100644 index 000000000..e0c39004f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PriorityRequestType.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PriorityRequestType ::= ENUMERATED { +# priorityRequestTypeReserved (0), +# priorityRequest (1), +# priorityRequestUpdate (2), +# priorityCancellation (3), +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 PRIORITY_REQUEST_TYPE_RESERVED = 0 +uint8 PRIORITY_REQUEST = 1 +uint8 PRIORITY_REQUEST_UPDATE = 2 +uint8 PRIORITY_CANCELLATION = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZone.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZone.msg new file mode 100644 index 000000000..f12ec1ea7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZone.msg @@ -0,0 +1,53 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ProtectedCommunicationZone ::= SEQUENCE { +# protectedZoneType ProtectedZoneType, +# expiryTime TimestampIts OPTIONAL, +# protectedZoneLatitude Latitude, +# protectedZoneLongitude Longitude, +# protectedZoneRadius ProtectedZoneRadius OPTIONAL, +# protectedZoneID ProtectedZoneID OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +ProtectedZoneType protected_zone_type + +TimestampIts expiry_time +bool expiry_time_is_present + +Latitude protected_zone_latitude + +Longitude protected_zone_longitude + +ProtectedZoneRadius protected_zone_radius +bool protected_zone_radius_is_present + +ProtectedZoneID protected_zone_id +bool protected_zone_id_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZonesRSU.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZonesRSU.msg new file mode 100644 index 000000000..26ac293ff --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedCommunicationZonesRSU.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ProtectedCommunicationZonesRSU ::= SEQUENCE (SIZE(1..16)) OF ProtectedCommunicationZone +# ------------------------------------------------------------------------------ + +ProtectedCommunicationZone[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneID.msg new file mode 100644 index 000000000..8f0cf7dd4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ProtectedZoneID ::= INTEGER (0.. 134217727) +# ------------------------------------------------------------------------------ + +uint32 value +uint32 MIN = 0 +uint32 MAX = 134217727 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneRadius.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneRadius.msg new file mode 100644 index 000000000..a582ef72b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneRadius.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ProtectedZoneRadius ::= INTEGER {oneMeter(1)} (1..255,...) +# ------------------------------------------------------------------------------ + +int64 value +int64 MIN = 1 +int64 MAX = 255 +int64 ONE_METER = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneType.msg new file mode 100644 index 000000000..1306f0b64 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ProtectedZoneType.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ProtectedZoneType::= ENUMERATED { permanentCenDsrcTolling (0), ..., temporaryCenDsrcTolling (1) } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 PERMANENT_CEN_DSRC_TOLLING = 0 +# .extended +uint8 TEMPORARY_CEN_DSRC_TOLLING = 1 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivation.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivation.msg new file mode 100644 index 000000000..e05ab437b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivation.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PtActivation ::= SEQUENCE { +# ptActivationType PtActivationType, +# ptActivationData PtActivationData +# } +# ------------------------------------------------------------------------------ +PtActivationType pt_activation_type + +PtActivationData pt_activation_data + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationData.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationData.msg new file mode 100644 index 000000000..1a8440f8d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationData.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PtActivationData ::= OCTET STRING (SIZE(1..20)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 20 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationType.msg new file mode 100644 index 000000000..fd7f1efea --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtActivationType.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PtActivationType ::= INTEGER {undefinedCodingType(0), r09-16CodingType(1), vdv-50149CodingType(2)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNDEFINED_CODING_TYPE = 0 +uint8 R09_16_CODING_TYPE = 1 +uint8 VDV_50149_CODING_TYPE = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtvRequestType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtvRequestType.msg new file mode 100644 index 000000000..52e80c742 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/PtvRequestType.msg @@ -0,0 +1,45 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# PtvRequestType ::= ENUMERATED { +# preRequest, +# mainRequest, +# doorCloseRequest, +# cancelRequest, +# emergencyRequest, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 PRE_REQUEST = 0 +uint8 MAIN_REQUEST = 1 +uint8 DOOR_CLOSE_REQUEST = 2 +uint8 CANCEL_REQUEST = 3 +uint8 EMERGENCY_REQUEST = 4 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCM.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCM.msg new file mode 100644 index 000000000..79069ee0e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCM.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- + +# -------------------------------------------------------------------------------Revision + +uint8 value +uint8 UNKNOWN = 0 +uint8 RTCM_REV2 = 1 +uint8 RTCM_REV3 = 2 +uint8 RESERVED = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMcorrections.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMcorrections.msg new file mode 100644 index 000000000..1a76abdcc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMcorrections.msg @@ -0,0 +1,90 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RTCMcorrections ::= SEQUENCE { +# msgCnt MsgCount, +# rev RTCM-Revision, +# timeStamp MinuteOfTheYear OPTIONAL, +# anchorPoint FullPositionVector OPTIONAL, +# rtcmHeader RTCMheader OPTIONAL, +# msgs RTCMmessageList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-RTCMcorrections}} OPTIONAL, +# ------------------------------------------------------------------------------ +MsgCount msg_cnt + +RTCMRevision rev + +MinuteOfTheYear time_stamp +bool time_stamp_is_present + +FullPositionVector anchor_point +bool anchor_point_is_present + +RTCMheader rtcm_header +bool rtcm_header_is_present + +RTCMmessageList msgs + +RTCMcorrectionsregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF RTCMcorrectionsregional +# Inner type + +AnonymousRTCMcorrectionsregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMheader.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMheader.msg new file mode 100644 index 000000000..8e9115ebf --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMheader.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RTCMheader ::= SEQUENCE { +# status GNSSstatus, +# offsetSet AntennaOffsetSet +# } +# ------------------------------------------------------------------------------ +GNSSstatus status + +AntennaOffsetSet offset_set + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessage.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessage.msg new file mode 100644 index 000000000..a57125d77 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessage.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RTCMmessage ::= OCTET STRING (SIZE(1..1023)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint16 MIN_SIZE = 1 +uint16 MAX_SIZE = 1023 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessageList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessageList.msg new file mode 100644 index 000000000..4e494939d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RTCMmessageList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RTCMmessageList ::= SEQUENCE (SIZE(1..5)) OF RTCMmessage +# ------------------------------------------------------------------------------ + +RTCMmessage[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ReferencePosition.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ReferencePosition.msg new file mode 100644 index 000000000..9a896c32d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ReferencePosition.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ReferencePosition ::= SEQUENCE { +# latitude Latitude, +# longitude Longitude, +# positionConfidenceEllipse PosConfidenceEllipse , +# altitude Altitude +# } +# ------------------------------------------------------------------------------ +Latitude latitude + +Longitude longitude + +PosConfidenceEllipse position_confidence_ellipse + +Altitude altitude + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Reg.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Reg.msg new file mode 100644 index 000000000..f3f318543 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Reg.msg @@ -0,0 +1,7 @@ +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- + +# -------------------------------------------------------------------------------SignalStatusPackage +RegionId choice +SignalStatusPackage-addGrpC add_grp_c diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegionId.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegionId.msg new file mode 100644 index 000000000..1f2db0edb --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegionId.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RegionId ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 ADD_GRP_A = 1 +uint8 ADD_GRP_B = 2 +uint8 ADD_GRP_C = 3 +uint8 NO_REGION = 0 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegulatorySpeedLimit.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegulatorySpeedLimit.msg new file mode 100644 index 000000000..b3f1f4676 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RegulatorySpeedLimit.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RegulatorySpeedLimit ::= SEQUENCE { +# type SpeedLimitType, +# speed Velocity +# } +# ------------------------------------------------------------------------------ +SpeedLimitType type + +Velocity speed + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RejectedReason.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RejectedReason.msg new file mode 100644 index 000000000..1bd5d3a8b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RejectedReason.msg @@ -0,0 +1,47 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RejectedReason ::= ENUMERATED { +# unknown, +# exceptionalCondition, +# maxWaitingTimeExceeded, +# ptPriorityDisabled, +# higherPTPriorityGranted, +# vehicleTrackingUnknown, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNKNOWN = 0 +uint8 EXCEPTIONAL_CONDITION = 1 +uint8 MAX_WAITING_TIME_EXCEEDED = 2 +uint8 PT_PRIORITY_DISABLED = 3 +uint8 HIGHER_PT_PRIORITY_GRANTED = 4 +uint8 VEHICLE_TRACKING_UNKNOWN = 5 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceDistance.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceDistance.msg new file mode 100644 index 000000000..9f4c2ffd9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceDistance.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RelevanceDistance ::= ENUMERATED {lessThan50m(0), lessThan100m(1), lessThan200m(2), lessThan500m(3), lessThan1000m(4), lessThan5km(5), lessThan10km(6), over10km(7)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 LESS_THAN50M = 0 +uint8 LESS_THAN100M = 1 +uint8 LESS_THAN200M = 2 +uint8 LESS_THAN500M = 3 +uint8 LESS_THAN1000M = 4 +uint8 LESS_THAN5KM = 5 +uint8 LESS_THAN10KM = 6 +uint8 OVER10KM = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceTrafficDirection.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceTrafficDirection.msg new file mode 100644 index 000000000..65e168afe --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RelevanceTrafficDirection.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RelevanceTrafficDirection ::= ENUMERATED {allTrafficDirections(0), upstreamTraffic(1), downstreamTraffic(2), oppositeTraffic(3)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 ALL_TRAFFIC_DIRECTIONS = 0 +uint8 UPSTREAM_TRAFFIC = 1 +uint8 DOWNSTREAM_TRAFFIC = 2 +uint8 OPPOSITE_TRAFFIC = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestID.msg new file mode 100644 index 000000000..a5e513abe --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestID ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestImportanceLevel.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestImportanceLevel.msg new file mode 100644 index 000000000..6a5039bea --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestImportanceLevel.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestImportanceLevel ::= ENUMERATED { +# requestImportanceLevelUnKnown (0), +# requestImportanceLevel1 (1), +# requestImportanceLevel2 (2), +# requestImportanceLevel3 (3), +# requestImportanceLevel4 (4), +# requestImportanceLevel5 (5), +# requestImportanceLevel6 (6), +# requestImportanceLevel7 (7), +# requestImportanceLevel8 (8), +# requestImportanceLevel9 (9), +# requestImportanceLevel10 (10), +# requestImportanceLevel11 (11), +# requestImportanceLevel12 (12), +# requestImportanceLevel13 (13), +# requestImportanceLevel14 (14), +# requestImportanceReserved (15) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 REQUEST_IMPORTANCE_LEVEL_UN_KNOWN = 0 +uint8 REQUEST_IMPORTANCE_LEVEL1 = 1 +uint8 REQUEST_IMPORTANCE_LEVEL2 = 2 +uint8 REQUEST_IMPORTANCE_LEVEL3 = 3 +uint8 REQUEST_IMPORTANCE_LEVEL4 = 4 +uint8 REQUEST_IMPORTANCE_LEVEL5 = 5 +uint8 REQUEST_IMPORTANCE_LEVEL6 = 6 +uint8 REQUEST_IMPORTANCE_LEVEL7 = 7 +uint8 REQUEST_IMPORTANCE_LEVEL8 = 8 +uint8 REQUEST_IMPORTANCE_LEVEL9 = 9 +uint8 REQUEST_IMPORTANCE_LEVEL10 = 10 +uint8 REQUEST_IMPORTANCE_LEVEL11 = 11 +uint8 REQUEST_IMPORTANCE_LEVEL12 = 12 +uint8 REQUEST_IMPORTANCE_LEVEL13 = 13 +uint8 REQUEST_IMPORTANCE_LEVEL14 = 14 +uint8 REQUEST_IMPORTANCE_RESERVED = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestResponseIndication.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestResponseIndication.msg new file mode 100644 index 000000000..70c75e36a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestResponseIndication.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestResponseIndication ::= ENUMERATED {request(0), response(1)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 REQUEST = 0 +uint8 RESPONSE = 1 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestSubRole.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestSubRole.msg new file mode 100644 index 000000000..8f8b832ae --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestSubRole.msg @@ -0,0 +1,66 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestSubRole ::= ENUMERATED { +# requestSubRoleUnKnown (0), +# requestSubRole1 (1), +# requestSubRole2 (2), +# requestSubRole3 (3), +# requestSubRole4 (4), +# requestSubRole5 (5), +# requestSubRole6 (6), +# requestSubRole7 (7), +# requestSubRole8 (8), +# requestSubRole9 (9), +# requestSubRole10 (10), +# requestSubRole11 (11), +# requestSubRole12 (12), +# requestSubRole13 (13), +# requestSubRole14 (14), +# requestSubRoleReserved (15) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 REQUEST_SUB_ROLE_UN_KNOWN = 0 +uint8 REQUEST_SUB_ROLE1 = 1 +uint8 REQUEST_SUB_ROLE2 = 2 +uint8 REQUEST_SUB_ROLE3 = 3 +uint8 REQUEST_SUB_ROLE4 = 4 +uint8 REQUEST_SUB_ROLE5 = 5 +uint8 REQUEST_SUB_ROLE6 = 6 +uint8 REQUEST_SUB_ROLE7 = 7 +uint8 REQUEST_SUB_ROLE8 = 8 +uint8 REQUEST_SUB_ROLE9 = 9 +uint8 REQUEST_SUB_ROLE10 = 10 +uint8 REQUEST_SUB_ROLE11 = 11 +uint8 REQUEST_SUB_ROLE12 = 12 +uint8 REQUEST_SUB_ROLE13 = 13 +uint8 REQUEST_SUB_ROLE14 = 14 +uint8 REQUEST_SUB_ROLE_RESERVED = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorDescription.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorDescription.msg new file mode 100644 index 000000000..49edd3b0a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorDescription.msg @@ -0,0 +1,100 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestorDescription ::= SEQUENCE { +# id VehicleID, +# type RequestorType OPTIONAL, +# position RequestorPositionVector OPTIONAL, +# name DescriptiveName OPTIONAL, +# routeName DescriptiveName OPTIONAL, +# transitStatus TransitVehicleStatus OPTIONAL, +# transitOccupancy TransitVehicleOccupancy OPTIONAL, +# transitSchedule DeltaTime OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-RequestorDescription}} OPTIONAL, +# ------------------------------------------------------------------------------ +VehicleID id + +RequestorType type +bool type_is_present + +RequestorPositionVector position +bool position_is_present + +DescriptiveName name +bool name_is_present + +DescriptiveName route_name +bool route_name_is_present + +TransitVehicleStatus transit_status +bool transit_status_is_present + +TransitVehicleOccupancy transit_occupancy +bool transit_occupancy_is_present + +DeltaTime transit_schedule +bool transit_schedule_is_present + +RequestorDescriptionregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF RequestorDescriptionregional +# Inner type + +AnonymousRequestorDescriptionregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorPositionVector.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorPositionVector.msg new file mode 100644 index 000000000..96cd124ad --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorPositionVector.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestorPositionVector ::= SEQUENCE { +# position Position3D, +# heading Angle OPTIONAL, +# speed TransmissionAndSpeed OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +Position3D position + +Angle heading +bool heading_is_present + +TransmissionAndSpeed speed +bool speed_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorType.msg new file mode 100644 index 000000000..352b3c84f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RequestorType.msg @@ -0,0 +1,86 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RequestorType ::= SEQUENCE { +# role BasicVehicleRole, +# subrole RequestSubRole OPTIONAL, +# request RequestImportanceLevel OPTIONAL, +# iso3883 Iso3833VehicleType OPTIONAL, +# hpmsType VehicleType OPTIONAL, +# regional RegionalExtension {{Reg-RequestorType}} OPTIONAL, +# ------------------------------------------------------------------------------ +BasicVehicleRole role + +RequestSubRole subrole +bool subrole_is_present + +RequestImportanceLevel request +bool request_is_present + +Iso3833VehicleType iso3883 +bool iso3883_is_present + +VehicleType hpms_type +bool hpms_type_is_present + +RequestorTyperegional regional +bool regional_is_present + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE RequestorTyperegional +# Inner type + +RegionId region_id + +Reg-RequestorType reg_ext_value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RescueAndRecoveryWorkInProgressSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RescueAndRecoveryWorkInProgressSubCauseCode.msg new file mode 100644 index 000000000..4f51953e2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RescueAndRecoveryWorkInProgressSubCauseCode.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RescueAndRecoveryWorkInProgressSubCauseCode ::= INTEGER {unavailable(0), emergencyVehicles(1), rescueHelicopterLanding(2), policeActivityOngoing(3), medicalEmergencyOngoing(4), childAbductionInProgress(5)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 EMERGENCY_VEHICLES = 1 +uint8 RESCUE_HELICOPTER_LANDING = 2 +uint8 POLICE_ACTIVITY_ONGOING = 3 +uint8 MEDICAL_EMERGENCY_ONGOING = 4 +uint8 CHILD_ABDUCTION_IN_PROGRESS = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictedTypes.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictedTypes.msg new file mode 100644 index 000000000..78a48d8c8 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictedTypes.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictedTypes ::= SEQUENCE (SIZE(1..3, ...)) OF StationType +# ------------------------------------------------------------------------------ + +StationType[] array +int64 MIN_SIZE = 1 +int64 MAX_SIZE = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionAppliesTo.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionAppliesTo.msg new file mode 100644 index 000000000..16bab519c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionAppliesTo.msg @@ -0,0 +1,63 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionAppliesTo ::= ENUMERATED { +# none, +# equippedTransit, +# equippedTaxis, +# equippedOther, +# emissionCompliant, +# equippedBicycle, +# weightCompliant, +# heightCompliant, +# pedestrians, +# slowMovingPersons, +# wheelchairUsers, +# visualDisabilities, +# audioDisabilities, +# otherUnknownDisabilities, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NONE = 0 +uint8 EQUIPPED_TRANSIT = 1 +uint8 EQUIPPED_TAXIS = 2 +uint8 EQUIPPED_OTHER = 3 +uint8 EMISSION_COMPLIANT = 4 +uint8 EQUIPPED_BICYCLE = 5 +uint8 WEIGHT_COMPLIANT = 6 +uint8 HEIGHT_COMPLIANT = 7 +uint8 PEDESTRIANS = 8 +uint8 SLOW_MOVING_PERSONS = 9 +uint8 WHEELCHAIR_USERS = 10 +uint8 VISUAL_DISABILITIES = 11 +uint8 AUDIO_DISABILITIES = 12 +uint8 OTHER_UNKNOWN_DISABILITIES = 13 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassAssignment.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassAssignment.msg new file mode 100644 index 000000000..694e6ad17 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassAssignment.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionClassAssignment ::= SEQUENCE { +# id RestrictionClassID, +# users RestrictionUserTypeList +# } +# ------------------------------------------------------------------------------ +RestrictionClassID id + +RestrictionUserTypeList users + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassID.msg new file mode 100644 index 000000000..f7ee6690a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionClassID ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassList.msg new file mode 100644 index 000000000..e5c90976d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionClassList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionClassList ::= SEQUENCE (SIZE(1..254)) OF RestrictionClassAssignment +# ------------------------------------------------------------------------------ + +RestrictionClassAssignment[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 254 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserType.msg new file mode 100644 index 000000000..4249efff3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserType.msg @@ -0,0 +1,75 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionUserType ::= CHOICE { +# basicType RestrictionAppliesTo, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-RestrictionUserType}}, +# ... +# } +# ------------------------------------------------------------------------------ +uint8 choice + +RestrictionAppliesTo basic_type +uint8 CHOICE_BASIC_TYPE = 0 + +RestrictionUserTyperegional[] regional +uint8 CHOICE_REGIONAL = 1 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF RestrictionUserTyperegional +# Inner type + +AnonymousRestrictionUserTyperegional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserTypeList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserTypeList.msg new file mode 100644 index 000000000..3b73eeacd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RestrictionUserTypeList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RestrictionUserTypeList ::= SEQUENCE (SIZE(1..16)) OF RestrictionUserType +# ------------------------------------------------------------------------------ + +RestrictionUserType[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 16 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadLaneSetList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadLaneSetList.msg new file mode 100644 index 000000000..6387f4c0d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadLaneSetList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadLaneSetList ::= SEQUENCE (SIZE(1..255)) OF GenericLane +# ------------------------------------------------------------------------------ + +GenericLane[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 255 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadRegulatorID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadRegulatorID.msg new file mode 100644 index 000000000..55e5251a7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadRegulatorID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadRegulatorID ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegment.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegment.msg new file mode 100644 index 000000000..3dfd3a399 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegment.msg @@ -0,0 +1,93 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadSegment ::= SEQUENCE { +# name DescriptiveName OPTIONAL, +# id RoadSegmentReferenceID, +# revision MsgCount, +# refPoint Position3D, +# laneWidth LaneWidth OPTIONAL, +# speedLimits SpeedLimitList OPTIONAL, +# roadLaneSet RoadLaneSetList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-RoadSegment}} OPTIONAL, +# ------------------------------------------------------------------------------ +DescriptiveName name +bool name_is_present + +RoadSegmentReferenceID id + +MsgCount revision + +Position3D ref_point + +LaneWidth lane_width +bool lane_width_is_present + +SpeedLimitList speed_limits +bool speed_limits_is_present + +RoadLaneSetList road_lane_set + +RoadSegmentregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF RoadSegmentregional +# Inner type + +AnonymousRoadSegmentregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentID.msg new file mode 100644 index 000000000..6418f5f37 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadSegmentID ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentList.msg new file mode 100644 index 000000000..4e9031851 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadSegmentList ::= SEQUENCE (SIZE(1..32)) OF RoadSegment +# ------------------------------------------------------------------------------ + +RoadSegment[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentReferenceID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentReferenceID.msg new file mode 100644 index 000000000..04ec813a5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadSegmentReferenceID.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadSegmentReferenceID ::= SEQUENCE { +# region RoadRegulatorID OPTIONAL, +# id RoadSegmentID +# } +# ------------------------------------------------------------------------------ +RoadRegulatorID region +bool region_is_present + +RoadSegmentID id + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadType.msg new file mode 100644 index 000000000..0496f88eb --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadType.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadType ::= ENUMERATED { +# urban-NoStructuralSeparationToOppositeLanes(0), +# urban-WithStructuralSeparationToOppositeLanes(1), +# nonUrban-NoStructuralSeparationToOppositeLanes(2), +# nonUrban-WithStructuralSeparationToOppositeLanes(3)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 URBAN_NO_STRUCTURAL_SEPARATION_TO_OPPOSITE_LANES = 0 +uint8 URBAN_WITH_STRUCTURAL_SEPARATION_TO_OPPOSITE_LANES = 1 +uint8 NON_URBAN_NO_STRUCTURAL_SEPARATION_TO_OPPOSITE_LANES = 2 +uint8 NON_URBAN_WITH_STRUCTURAL_SEPARATION_TO_OPPOSITE_LANES = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadwayCrownAngle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadwayCrownAngle.msg new file mode 100644 index 000000000..e48a3a717 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadwayCrownAngle.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadwayCrownAngle ::= INTEGER (-128..127) +# ------------------------------------------------------------------------------ + +int8 value +int8 MIN = -128 +int8 MAX = 127 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadworksSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadworksSubCauseCode.msg new file mode 100644 index 000000000..7ba52c629 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/RoadworksSubCauseCode.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# RoadworksSubCauseCode ::= INTEGER {unavailable(0), majorRoadworks(1), roadMarkingWork(2), slowMovingRoadMaintenance(3), shortTermStationaryRoadworks(4), streetCleaning(5), winterService(6)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 MAJOR_ROADWORKS = 1 +uint8 ROAD_MARKING_WORK = 2 +uint8 SLOW_MOVING_ROAD_MAINTENANCE = 3 +uint8 SHORT_TERM_STATIONARY_ROADWORKS = 4 +uint8 STREET_CLEANING = 5 +uint8 WINTER_SERVICE = 6 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SPAT.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SPAT.msg new file mode 100644 index 000000000..d62a068a9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SPAT.msg @@ -0,0 +1,80 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SPAT ::= SEQUENCE { +# timeStamp MinuteOfTheYear OPTIONAL, +# name DescriptiveName OPTIONAL, +# intersections IntersectionStateList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SPAT}} OPTIONAL, +# ------------------------------------------------------------------------------ +MinuteOfTheYear time_stamp +bool time_stamp_is_present + +DescriptiveName name +bool name_is_present + +IntersectionStateList intersections + +SPATregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SPATregional +# Inner type + +AnonymousSPATregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ScaleB12.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ScaleB12.msg new file mode 100644 index 000000000..0037f44b9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ScaleB12.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Scale-B12 ::= INTEGER (-2048..2047) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -2048 +int16 MAX = 2047 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXY.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXY.msg new file mode 100644 index 000000000..32271a535 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXY.msg @@ -0,0 +1,111 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SegmentAttributeXY ::= ENUMERATED { +# reserved , +# doNotBlock , +# whiteLine , +# mergingLaneLeft , +# mergingLaneRight , +# curbOnLeft , +# curbOnRight , +# loadingzoneOnLeft , +# loadingzoneOnRight , +# turnOutPointOnLeft , +# turnOutPointOnRight , +# adjacentParkingOnLeft , +# adjacentParkingOnRight , +# adjacentBikeLaneOnLeft , +# adjacentBikeLaneOnRight , +# sharedBikeLane , +# bikeBoxInFront , +# transitStopOnLeft , +# transitStopOnRight , +# transitStopInLane , +# sharedWithTrackedVehicle , +# safeIsland , +# lowCurbsPresent , +# rumbleStripPresent , +# audibleSignalingPresent , +# adaptiveTimingPresent , +# rfSignalRequestPresent , +# partialCurbIntrusion , +# taperToLeft , +# taperToRight , +# taperToCenterLine , +# parallelParking , +# headInParking , +# freeParking , +# timeRestrictionsOnParking , +# costToPark , +# midBlockCurbPresent , +# unEvenPavementPresent , +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 RESERVED = 0 +uint8 DO_NOT_BLOCK = 1 +uint8 WHITE_LINE = 2 +uint8 MERGING_LANE_LEFT = 3 +uint8 MERGING_LANE_RIGHT = 4 +uint8 CURB_ON_LEFT = 5 +uint8 CURB_ON_RIGHT = 6 +uint8 LOADINGZONE_ON_LEFT = 7 +uint8 LOADINGZONE_ON_RIGHT = 8 +uint8 TURN_OUT_POINT_ON_LEFT = 9 +uint8 TURN_OUT_POINT_ON_RIGHT = 10 +uint8 ADJACENT_PARKING_ON_LEFT = 11 +uint8 ADJACENT_PARKING_ON_RIGHT = 12 +uint8 ADJACENT_BIKE_LANE_ON_LEFT = 13 +uint8 ADJACENT_BIKE_LANE_ON_RIGHT = 14 +uint8 SHARED_BIKE_LANE = 15 +uint8 BIKE_BOX_IN_FRONT = 16 +uint8 TRANSIT_STOP_ON_LEFT = 17 +uint8 TRANSIT_STOP_ON_RIGHT = 18 +uint8 TRANSIT_STOP_IN_LANE = 19 +uint8 SHARED_WITH_TRACKED_VEHICLE = 20 +uint8 SAFE_ISLAND = 21 +uint8 LOW_CURBS_PRESENT = 22 +uint8 RUMBLE_STRIP_PRESENT = 23 +uint8 AUDIBLE_SIGNALING_PRESENT = 24 +uint8 ADAPTIVE_TIMING_PRESENT = 25 +uint8 RF_SIGNAL_REQUEST_PRESENT = 26 +uint8 PARTIAL_CURB_INTRUSION = 27 +uint8 TAPER_TO_LEFT = 28 +uint8 TAPER_TO_RIGHT = 29 +uint8 TAPER_TO_CENTER_LINE = 30 +uint8 PARALLEL_PARKING = 31 +uint8 HEAD_IN_PARKING = 32 +uint8 FREE_PARKING = 33 +uint8 TIME_RESTRICTIONS_ON_PARKING = 34 +uint8 COST_TO_PARK = 35 +uint8 MID_BLOCK_CURB_PRESENT = 36 +uint8 UN_EVEN_PAVEMENT_PRESENT = 37 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXYList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXYList.msg new file mode 100644 index 000000000..e7714ff81 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SegmentAttributeXYList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SegmentAttributeXYList ::= SEQUENCE (SIZE(1..8)) OF SegmentAttributeXY +# ------------------------------------------------------------------------------ + +SegmentAttributeXY[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiAxisLength.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiAxisLength.msg new file mode 100644 index 000000000..91e5a28c9 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiAxisLength.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SemiAxisLength ::= INTEGER{oneCentimeter(1), outOfRange(4094), unavailable(4095)} (0..4095) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 4095 +uint16 ONE_CENTIMETER = 1 +uint16 OUT_OF_RANGE = 4094 +uint16 UNAVAILABLE = 4095 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisAccuracy.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisAccuracy.msg new file mode 100644 index 000000000..3a989bd07 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisAccuracy.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SemiMajorAxisAccuracy ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisOrientation.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisOrientation.msg new file mode 100644 index 000000000..2f9bac3ad --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMajorAxisOrientation.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SemiMajorAxisOrientation ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMinorAxisAccuracy.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMinorAxisAccuracy.msg new file mode 100644 index 000000000..de6b38187 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SemiMinorAxisAccuracy.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SemiMinorAxisAccuracy ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SequenceNumber.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SequenceNumber.msg new file mode 100644 index 000000000..d0d280f0b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SequenceNumber.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SequenceNumber ::= INTEGER (0..65535) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 65535 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceApplicationLimit.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceApplicationLimit.msg new file mode 100644 index 000000000..0695403fd --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceApplicationLimit.msg @@ -0,0 +1,51 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ServiceApplicationLimit::= BIT STRING { +# notForPostpayment (0), +# notForPrepayment (1), +# notForVehicleaccess (2), +# notForFleetcontrol (3), +# issuerSpecificRestriction1 (4), +# issuerSpecificRestriction2 (5), +# issuerSpecificRestriction3 (6), +# issuerSpecificRestriction4 (7) +# } (SIZE(8)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 8 +uint8 BIT_INDEX_NOT_FOR_POSTPAYMENT = 0 +uint8 BIT_INDEX_NOT_FOR_PREPAYMENT = 1 +uint8 BIT_INDEX_NOT_FOR_VEHICLEACCESS = 2 +uint8 BIT_INDEX_NOT_FOR_FLEETCONTROL = 3 +uint8 BIT_INDEX_ISSUER_SPECIFIC_RESTRICTION1 = 4 +uint8 BIT_INDEX_ISSUER_SPECIFIC_RESTRICTION2 = 5 +uint8 BIT_INDEX_ISSUER_SPECIFIC_RESTRICTION3 = 6 +uint8 BIT_INDEX_ISSUER_SPECIFIC_RESTRICTION4 = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceNumber.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceNumber.msg new file mode 100644 index 000000000..ae5a3e3f1 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ServiceNumber.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ServiceNumber::= BIT STRING (SIZE(32))(CONTAINING INTEGER (0..4294967295)) +# ------------------------------------------------------------------------------ +# ServiceNumber::= BIT STRING(SIZE(32)) + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 32 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalControlZone.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalControlZone.msg new file mode 100644 index 000000000..00c60642d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalControlZone.msg @@ -0,0 +1,68 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalControlZone ::= SEQUENCE { +# zone RegionalExtension {{Reg-SignalControlZone}}, +# ... +# } +# ------------------------------------------------------------------------------ +SignalControlZonezone zone + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE SignalControlZonezone +# Inner type + +RegionId region_id + +Reg-SignalControlZone reg_ext_value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalGroupID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalGroupID.msg new file mode 100644 index 000000000..d6c246bcc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalGroupID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalGroupID ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocation.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocation.msg new file mode 100644 index 000000000..ea72f22c0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocation.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalHeadLocation ::= SEQUENCE { +# nodeXY NodeOffsetPointXY, +# nodeZ DeltaAltitude, +# signalGroupID SignalGroupID, +# ... +# } +# ------------------------------------------------------------------------------ +NodeOffsetPointXY node_xy + +DeltaAltitude node_z + +SignalGroupID signal_group_id + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocationList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocationList.msg new file mode 100644 index 000000000..dd87b82ec --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalHeadLocationList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalHeadLocationList ::= SEQUENCE (SIZE(1..64)) OF SignalHeadLocation +# ------------------------------------------------------------------------------ + +SignalHeadLocation[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 64 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequest.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequest.msg new file mode 100644 index 000000000..676d4f88c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequest.msg @@ -0,0 +1,85 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalRequest ::= SEQUENCE { +# id IntersectionReferenceID, +# requestID RequestID, +# requestType PriorityRequestType, +# inBoundLane IntersectionAccessPoint, +# outBoundLane IntersectionAccessPoint OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalRequest}} OPTIONAL, +# ------------------------------------------------------------------------------ +IntersectionReferenceID id + +RequestID request_id + +PriorityRequestType request_type + +IntersectionAccessPoint in_bound_lane + +IntersectionAccessPoint out_bound_lane +bool out_bound_lane_is_present + +SignalRequestregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalRequestregional +# Inner type + +AnonymousSignalRequestregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestList.msg new file mode 100644 index 000000000..8ad393db0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalRequestList ::= SEQUENCE (SIZE(1..32)) OF SignalRequestPackage +# ------------------------------------------------------------------------------ + +SignalRequestPackage[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestMessage.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestMessage.msg new file mode 100644 index 000000000..2ec322ee5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestMessage.msg @@ -0,0 +1,87 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalRequestMessage ::= SEQUENCE { +# timeStamp MinuteOfTheYear OPTIONAL, +# second DSecond, +# sequenceNumber MsgCount OPTIONAL, +# requests SignalRequestList OPTIONAL, +# requestor RequestorDescription, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalRequestMessage}} OPTIONAL, +# ------------------------------------------------------------------------------ +MinuteOfTheYear time_stamp +bool time_stamp_is_present + +DSecond second + +MsgCount sequence_number +bool sequence_number_is_present + +SignalRequestList requests +bool requests_is_present + +RequestorDescription requestor + +SignalRequestMessageregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalRequestMessageregional +# Inner type + +AnonymousSignalRequestMessageregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestPackage.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestPackage.msg new file mode 100644 index 000000000..e34603a69 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequestPackage.msg @@ -0,0 +1,84 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalRequestPackage ::= SEQUENCE { +# request SignalRequest, +# minute MinuteOfTheYear OPTIONAL, +# second DSecond OPTIONAL, +# duration DSecond OPTIONAL, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalRequestPackage}} OPTIONAL, +# ------------------------------------------------------------------------------ +SignalRequest request + +MinuteOfTheYear minute +bool minute_is_present + +DSecond second +bool second_is_present + +DSecond duration +bool duration_is_present + +SignalRequestPackageregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalRequestPackageregional +# Inner type + +AnonymousSignalRequestPackageregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequesterInfo.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequesterInfo.msg new file mode 100644 index 000000000..ddabf0d3d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalRequesterInfo.msg @@ -0,0 +1,49 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalRequesterInfo ::= SEQUENCE { +# id VehicleID, +# request RequestID, +# sequenceNumber MsgCount, +# role BasicVehicleRole OPTIONAL, +# typeData RequestorType OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +VehicleID id + +RequestID request + +MsgCount sequence_number + +BasicVehicleRole role +bool role_is_present + +RequestorType type_data +bool type_data_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatus.msg new file mode 100644 index 000000000..2e0253b9f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatus.msg @@ -0,0 +1,78 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalStatus ::= SEQUENCE { +# sequenceNumber MsgCount, +# id IntersectionReferenceID, +# sigStatus SignalStatusPackageList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalStatus}} OPTIONAL, +# ------------------------------------------------------------------------------ +MsgCount sequence_number + +IntersectionReferenceID id + +SignalStatusPackageList sig_status + +SignalStatusregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalStatusregional +# Inner type + +AnonymousSignalStatusregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusList.msg new file mode 100644 index 000000000..8964bc170 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalStatusList ::= SEQUENCE (SIZE(1..32)) OF SignalStatus +# ------------------------------------------------------------------------------ + +SignalStatus[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusMessage.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusMessage.msg new file mode 100644 index 000000000..a5ea70096 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusMessage.msg @@ -0,0 +1,83 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalStatusMessage ::= SEQUENCE { +# timeStamp MinuteOfTheYear OPTIONAL, +# second DSecond, +# sequenceNumber MsgCount OPTIONAL, +# status SignalStatusList, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalStatusMessage}} OPTIONAL, +# ------------------------------------------------------------------------------ +MinuteOfTheYear time_stamp +bool time_stamp_is_present + +DSecond second + +MsgCount sequence_number +bool sequence_number_is_present + +SignalStatusList status + +SignalStatusMessageregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalStatusMessageregional +# Inner type + +AnonymousSignalStatusMessageregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackage.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackage.msg new file mode 100644 index 000000000..45a7c68bb --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackage.msg @@ -0,0 +1,96 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalStatusPackage ::= SEQUENCE { +# requester SignalRequesterInfo OPTIONAL, +# inboundOn IntersectionAccessPoint, +# outboundOn IntersectionAccessPoint OPTIONAL, +# +# minute MinuteOfTheYear OPTIONAL, +# second DSecond OPTIONAL, +# duration DSecond OPTIONAL, +# status PrioritizationResponseStatus, +# regional SEQUENCE (SIZE(1..4)) OF +# RegionalExtension {{Reg-SignalStatusPackage}} OPTIONAL, +# ------------------------------------------------------------------------------ +SignalRequesterInfo requester +bool requester_is_present + +IntersectionAccessPoint inbound_on + +IntersectionAccessPoint outbound_on +bool outbound_on_is_present + +MinuteOfTheYear minute +bool minute_is_present + +DSecond second +bool second_is_present + +DSecond duration +bool duration_is_present + +PrioritizationResponseStatus status + +SignalStatusPackageregional[] regional +bool regional_is_present +uint8 REGIONAL_MIN_SIZE = 1 +uint8 REGIONAL_MAX_SIZE = 4 + + +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +## SEQUENCE-OF SignalStatusPackageregional +# Inner type + +AnonymousSignalStatusPackageregional[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackageList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackageList.msg new file mode 100644 index 000000000..204907da0 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalStatusPackageList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalStatusPackageList ::= SEQUENCE (SIZE(1..32)) OF SignalStatusPackage +# ------------------------------------------------------------------------------ + +SignalStatusPackage[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 32 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalViolationSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalViolationSubCauseCode.msg new file mode 100644 index 000000000..606b5afef --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SignalViolationSubCauseCode.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SignalViolationSubCauseCode ::= INTEGER {unavailable(0), stopSignViolation(1), trafficLightViolation(2), turningRegulationViolation(3)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 STOP_SIGN_VIOLATION = 1 +uint8 TRAFFIC_LIGHT_VIOLATION = 2 +uint8 TURNING_REGULATION_VIOLATION = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SlowVehicleSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SlowVehicleSubCauseCode.msg new file mode 100644 index 000000000..f760645f4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SlowVehicleSubCauseCode.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SlowVehicleSubCauseCode ::= INTEGER {unavailable(0), maintenanceVehicle(1), vehiclesSlowingToLookAtAccident(2), abnormalLoad(3), abnormalWideLoad(4), convoy(5), snowplough(6), deicing(7), saltingVehicles(8)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 MAINTENANCE_VEHICLE = 1 +uint8 VEHICLES_SLOWING_TO_LOOK_AT_ACCIDENT = 2 +uint8 ABNORMAL_LOAD = 3 +uint8 ABNORMAL_WIDE_LOAD = 4 +uint8 CONVOY = 5 +uint8 SNOWPLOUGH = 6 +uint8 DEICING = 7 +uint8 SALTING_VEHICLES = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpecialTransportType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpecialTransportType.msg new file mode 100644 index 000000000..400572226 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpecialTransportType.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpecialTransportType ::= BIT STRING {heavyLoad(0), excessWidth(1), excessLength(2), excessHeight(3)} (SIZE(4)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 4 +uint8 BIT_INDEX_HEAVY_LOAD = 0 +uint8 BIT_INDEX_EXCESS_WIDTH = 1 +uint8 BIT_INDEX_EXCESS_LENGTH = 2 +uint8 BIT_INDEX_EXCESS_HEIGHT = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Speed.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Speed.msg new file mode 100644 index 000000000..546c0cfb2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Speed.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Speed ::= SEQUENCE { +# speedValue SpeedValue, +# speedConfidence SpeedConfidence +# } +# ------------------------------------------------------------------------------ +SpeedValue speed_value + +SpeedConfidence speed_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedAdvice.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedAdvice.msg new file mode 100644 index 000000000..ca07e16c5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedAdvice.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedAdvice ::= INTEGER (0..500) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 500 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidence.msg new file mode 100644 index 000000000..125e6480a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidence.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedConfidence ::= INTEGER {equalOrWithinOneCentimeterPerSec(1), equalOrWithinOneMeterPerSec(100), outOfRange(126), unavailable(127)} (1..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 127 +uint8 EQUAL_OR_WITHIN_ONE_CENTIMETER_PER_SEC = 1 +uint8 EQUAL_OR_WITHIN_ONE_METER_PER_SEC = 100 +uint8 OUT_OF_RANGE = 126 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidenceDSRC.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidenceDSRC.msg new file mode 100644 index 000000000..3c235c72b --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedConfidenceDSRC.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedConfidenceDSRC ::= ENUMERATED { +# unavailable (0), -- Not Equipped or unavailable +# prec100ms (1), -- 100 meters / sec +# prec10ms (2), -- 10 meters / sec +# prec5ms (3), -- 5 meters / sec +# prec1ms (4), -- 1 meters / sec +# prec0-1ms (5), -- 0.1 meters / sec +# prec0-05ms (6), -- 0.05 meters / sec +# prec0-01ms (7) -- 0.01 meters / sec +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 PREC100MS = 1 +uint8 PREC10MS = 2 +uint8 PREC5MS = 3 +uint8 PREC1MS = 4 +uint8 PREC0_1MS = 5 +uint8 PREC0_05MS = 6 +uint8 PREC0_01MS = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimit.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimit.msg new file mode 100644 index 000000000..b1b036db6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimit.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedLimit ::= INTEGER {oneKmPerHour(1)} (1..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 255 +uint8 ONE_KM_PER_HOUR = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitList.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitList.msg new file mode 100644 index 000000000..6412f7e81 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitList.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedLimitList ::= SEQUENCE (SIZE(1..9)) OF RegulatorySpeedLimit +# ------------------------------------------------------------------------------ + +RegulatorySpeedLimit[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 9 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitType.msg new file mode 100644 index 000000000..060035cae --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedLimitType.msg @@ -0,0 +1,61 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedLimitType ::= ENUMERATED { +# unknown, +# maxSpeedInSchoolZone, +# maxSpeedInSchoolZoneWhenChildrenArePresent, +# maxSpeedInConstructionZone, +# vehicleMinSpeed, +# vehicleMaxSpeed, +# vehicleNightMaxSpeed, +# truckMinSpeed, +# truckMaxSpeed, +# truckNightMaxSpeed, +# vehiclesWithTrailersMinSpeed, +# vehiclesWithTrailersMaxSpeed, +# vehiclesWithTrailersNightMaxSpeed, +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNKNOWN = 0 +uint8 MAX_SPEED_IN_SCHOOL_ZONE = 1 +uint8 MAX_SPEED_IN_SCHOOL_ZONE_WHEN_CHILDREN_ARE_PRESENT = 2 +uint8 MAX_SPEED_IN_CONSTRUCTION_ZONE = 3 +uint8 VEHICLE_MIN_SPEED = 4 +uint8 VEHICLE_MAX_SPEED = 5 +uint8 VEHICLE_NIGHT_MAX_SPEED = 6 +uint8 TRUCK_MIN_SPEED = 7 +uint8 TRUCK_MAX_SPEED = 8 +uint8 TRUCK_NIGHT_MAX_SPEED = 9 +uint8 VEHICLES_WITH_TRAILERS_MIN_SPEED = 10 +uint8 VEHICLES_WITH_TRAILERS_MAX_SPEED = 11 +uint8 VEHICLES_WITH_TRAILERS_NIGHT_MAX_SPEED = 12 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedValue.msg new file mode 100644 index 000000000..2405df854 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedValue ::= INTEGER {standstill(0), oneCentimeterPerSec(1), unavailable(16383)} (0..16383) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 16383 +uint16 STANDSTILL = 0 +uint16 ONE_CENTIMETER_PER_SEC = 1 +uint16 UNAVAILABLE = 16383 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedandHeadingandThrottleConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedandHeadingandThrottleConfidence.msg new file mode 100644 index 000000000..68e89daef --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SpeedandHeadingandThrottleConfidence.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SpeedandHeadingandThrottleConfidence ::= SEQUENCE { +# heading HeadingConfidenceDSRC, +# speed SpeedConfidenceDSRC, +# throttle ThrottleConfidence +# } +# ------------------------------------------------------------------------------ +HeadingConfidenceDSRC heading + +SpeedConfidenceDSRC speed + +ThrottleConfidence throttle + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StartTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StartTime.msg new file mode 100644 index 000000000..9ca7de900 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StartTime.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StartTime::= AviEriDateTime +# ------------------------------------------------------------------------------ +# YYMMDDhhmm + +AviEriDateTime value diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationID.msg new file mode 100644 index 000000000..03c5211a6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationID.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StationID ::= INTEGER(0..4294967295) +# ------------------------------------------------------------------------------ + +uint32 value +uint32 MIN = 0 +uint32 MAX = 4294967295 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationType.msg new file mode 100644 index 000000000..b85b2ad40 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationType.msg @@ -0,0 +1,48 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StationType ::= INTEGER {unknown(0), pedestrian(1), cyclist(2), moped(3), motorcycle(4), passengerCar(5), bus(6), +# lightTruck(7), heavyTruck(8), trailer(9), specialVehicles(10), tram(11), roadSideUnit(15)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNKNOWN = 0 +uint8 PEDESTRIAN = 1 +uint8 CYCLIST = 2 +uint8 MOPED = 3 +uint8 MOTORCYCLE = 4 +uint8 PASSENGER_CAR = 5 +uint8 BUS = 6 +uint8 LIGHT_TRUCK = 7 +uint8 HEAVY_TRUCK = 8 +uint8 TRAILER = 9 +uint8 SPECIAL_VEHICLES = 10 +uint8 TRAM = 11 +uint8 ROAD_SIDE_UNIT = 15 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationarySince.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationarySince.msg new file mode 100644 index 000000000..48e1ba09e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationarySince.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StationarySince ::= ENUMERATED {lessThan1Minute(0), lessThan2Minutes(1), lessThan15Minutes(2), equalOrGreater15Minutes(3)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 LESS_THAN1_MINUTE = 0 +uint8 LESS_THAN2_MINUTES = 1 +uint8 LESS_THAN15_MINUTES = 2 +uint8 EQUAL_OR_GREATER15_MINUTES = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationaryVehicleSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationaryVehicleSubCauseCode.msg new file mode 100644 index 000000000..d3bb09815 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StationaryVehicleSubCauseCode.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StationaryVehicleSubCauseCode ::= INTEGER {unavailable(0), humanProblem(1), vehicleBreakdown(2), postCrash(3), publicTransportStop(4), carryingDangerousGoods(5)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 HUMAN_PROBLEM = 1 +uint8 VEHICLE_BREAKDOWN = 2 +uint8 POST_CRASH = 3 +uint8 PUBLIC_TRANSPORT_STOP = 4 +uint8 CARRYING_DANGEROUS_GOODS = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngle.msg new file mode 100644 index 000000000..0b367636f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngle.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SteeringWheelAngle ::= SEQUENCE { +# steeringWheelAngleValue SteeringWheelAngleValue, +# steeringWheelAngleConfidence SteeringWheelAngleConfidence +# } +# ------------------------------------------------------------------------------ +SteeringWheelAngleValue steering_wheel_angle_value + +SteeringWheelAngleConfidence steering_wheel_angle_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleConfidence.msg new file mode 100644 index 000000000..0bb261b73 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleConfidence.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SteeringWheelAngleConfidence ::= INTEGER {equalOrWithinOnePointFiveDegree (1), outOfRange(126), unavailable(127)} (1..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 127 +uint8 EQUAL_OR_WITHIN_ONE_POINT_FIVE_DEGREE = 1 +uint8 OUT_OF_RANGE = 126 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleValue.msg new file mode 100644 index 000000000..52f175fff --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SteeringWheelAngleValue.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SteeringWheelAngleValue ::= INTEGER {straight(0), onePointFiveDegreesToRight(-1), onePointFiveDegreesToLeft(1), unavailable(512)} (-511..512) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -511 +int16 MAX = 512 +int16 STRAIGHT = 0 +int16 ONE_POINT_FIVE_DEGREES_TO_RIGHT = -1 +int16 ONE_POINT_FIVE_DEGREES_TO_LEFT = 1 +int16 UNAVAILABLE = 512 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StopTime.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StopTime.msg new file mode 100644 index 000000000..30c89e01d --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/StopTime.msg @@ -0,0 +1,32 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# StopTime::= AviEriDateTime +# ------------------------------------------------------------------------------ + +AviEriDateTime value diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SubCauseCodeType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SubCauseCodeType.msg new file mode 100644 index 000000000..2ec96822a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/SubCauseCodeType.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# SubCauseCodeType ::= INTEGER (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TaxCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TaxCode.msg new file mode 100644 index 000000000..40f2791be --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TaxCode.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TaxCode::= OCTET STRING +# ------------------------------------------------------------------------------ + +uint8[] value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Temperature.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Temperature.msg new file mode 100644 index 000000000..0ea67fe0c --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Temperature.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Temperature ::= INTEGER {equalOrSmallerThanMinus60Deg (-60), oneDegreeCelsius(1), equalOrGreaterThan67Deg(67)} (-60..67) +# ------------------------------------------------------------------------------ + +int8 value +int8 MIN = -60 +int8 MAX = 67 +int8 EQUAL_OR_SMALLER_THAN_MINUS60_DEG = -60 +int8 ONE_DEGREE_CELSIUS = 1 +int8 EQUAL_OR_GREATER_THAN67_DEG = 67 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TemporaryID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TemporaryID.msg new file mode 100644 index 000000000..0359d8a88 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TemporaryID.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TemporaryID ::= OCTET STRING (SIZE(4)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 SIZE = 4 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ThrottleConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ThrottleConfidence.msg new file mode 100644 index 000000000..732924ade --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ThrottleConfidence.msg @@ -0,0 +1,42 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ThrottleConfidence ::= ENUMERATED { +# unavailable (0), +# prec10percent (1), +# prec1percent (2), +# prec0-5percent (3) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 PREC10PERCENT = 1 +uint8 PREC1PERCENT = 2 +uint8 PREC0_5PERCENT = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeChangeDetails.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeChangeDetails.msg new file mode 100644 index 000000000..bd99d2720 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeChangeDetails.msg @@ -0,0 +1,54 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimeChangeDetails ::= SEQUENCE { +# startTime TimeMark OPTIONAL, +# minEndTime TimeMark, +# maxEndTime TimeMark OPTIONAL, +# likelyTime TimeMark OPTIONAL, +# confidence TimeIntervalConfidence OPTIONAL, +# nextTime TimeMark OPTIONAL +# } +# ------------------------------------------------------------------------------ +TimeMark start_time +bool start_time_is_present + +TimeMark min_end_time + +TimeMark max_end_time +bool max_end_time_is_present + +TimeMark likely_time +bool likely_time_is_present + +TimeIntervalConfidence confidence +bool confidence_is_present + +TimeMark next_time +bool next_time_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeConfidence.msg new file mode 100644 index 000000000..0b476e442 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeConfidence.msg @@ -0,0 +1,114 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimeConfidence ::= ENUMERATED { +# unavailable (0), +# time-100-000 (1), +# time-050-000 (2), +# time-020-000 (3), +# time-010-000 (4), +# time-002-000 (5), +# time-001-000 (6), +# time-000-500 (7), +# time-000-200 (8), +# time-000-100 (9), +# time-000-050 (10), +# time-000-020 (11), +# time-000-010 (12), +# time-000-005 (13), +# time-000-002 (14), +# time-000-001 (15), +# time-000-000-5 (16), +# time-000-000-2 (17), +# time-000-000-1 (18), +# time-000-000-05 (19), +# time-000-000-02 (20), +# time-000-000-01 (21), +# time-000-000-005 (22), +# time-000-000-002 (23), +# time-000-000-001 (24), +# time-000-000-000-5 (25), +# time-000-000-000-2 (26), +# time-000-000-000-1 (27), +# time-000-000-000-05 (28), +# time-000-000-000-02 (29), +# time-000-000-000-01 (30), +# time-000-000-000-005 (31), +# time-000-000-000-002 (32), +# time-000-000-000-001 (33), +# time-000-000-000-000-5 (34), +# time-000-000-000-000-2 (35), +# time-000-000-000-000-1 (36), +# time-000-000-000-000-05 (37), +# time-000-000-000-000-02 (38), +# time-000-000-000-000-01 (39) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 UNAVAILABLE = 0 +uint8 TIME_100_000 = 1 +uint8 TIME_050_000 = 2 +uint8 TIME_020_000 = 3 +uint8 TIME_010_000 = 4 +uint8 TIME_002_000 = 5 +uint8 TIME_001_000 = 6 +uint8 TIME_000_500 = 7 +uint8 TIME_000_200 = 8 +uint8 TIME_000_100 = 9 +uint8 TIME_000_050 = 10 +uint8 TIME_000_020 = 11 +uint8 TIME_000_010 = 12 +uint8 TIME_000_005 = 13 +uint8 TIME_000_002 = 14 +uint8 TIME_000_001 = 15 +uint8 TIME_000_000_5 = 16 +uint8 TIME_000_000_2 = 17 +uint8 TIME_000_000_1 = 18 +uint8 TIME_000_000_05 = 19 +uint8 TIME_000_000_02 = 20 +uint8 TIME_000_000_01 = 21 +uint8 TIME_000_000_005 = 22 +uint8 TIME_000_000_002 = 23 +uint8 TIME_000_000_001 = 24 +uint8 TIME_000_000_000_5 = 25 +uint8 TIME_000_000_000_2 = 26 +uint8 TIME_000_000_000_1 = 27 +uint8 TIME_000_000_000_05 = 28 +uint8 TIME_000_000_000_02 = 29 +uint8 TIME_000_000_000_01 = 30 +uint8 TIME_000_000_000_005 = 31 +uint8 TIME_000_000_000_002 = 32 +uint8 TIME_000_000_000_001 = 33 +uint8 TIME_000_000_000_000_5 = 34 +uint8 TIME_000_000_000_000_2 = 35 +uint8 TIME_000_000_000_000_1 = 36 +uint8 TIME_000_000_000_000_05 = 37 +uint8 TIME_000_000_000_000_02 = 38 +uint8 TIME_000_000_000_000_01 = 39 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeIntervalConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeIntervalConfidence.msg new file mode 100644 index 000000000..a498f24eb --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeIntervalConfidence.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimeIntervalConfidence ::= INTEGER (0..15) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeMark.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeMark.msg new file mode 100644 index 000000000..1135489a5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeMark.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimeMark ::= INTEGER (0..36001) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 36001 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeReference.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeReference.msg new file mode 100644 index 000000000..b6ebc2c6f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimeReference.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimeReference ::= INTEGER { oneMilliSec(1) } (0..60000) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 60000 +uint16 ONE_MILLI_SEC = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimestampIts.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimestampIts.msg new file mode 100644 index 000000000..baba3df03 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TimestampIts.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TimestampIts ::= INTEGER {utcStartOf2004(0), oneMillisecAfterUTCStartOf2004(1)} (0..4398046511103) +# ------------------------------------------------------------------------------ + +uint64 value +uint64 MIN = 0 +uint64 MAX = 4398046511103 +uint64 UTC_START_OF2004 = 0 +uint64 ONE_MILLISEC_AFTER_UTC_START_OF2004 = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Traces.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Traces.msg new file mode 100644 index 000000000..b49c80f00 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Traces.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Traces ::= SEQUENCE SIZE(1..7) OF PathHistory +# ------------------------------------------------------------------------------ + +PathHistory[] array +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 7 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficConditionSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficConditionSubCauseCode.msg new file mode 100644 index 000000000..7ea39c8a3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficConditionSubCauseCode.msg @@ -0,0 +1,43 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TrafficConditionSubCauseCode ::= INTEGER {unavailable(0), increasedVolumeOfTraffic(1), trafficJamSlowlyIncreasing(2), trafficJamIncreasing(3), trafficJamStronglyIncreasing(4), trafficStationary(5), trafficJamSlightlyDecreasing(6), trafficJamDecreasing(7), trafficJamStronglyDecreasing(8)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 INCREASED_VOLUME_OF_TRAFFIC = 1 +uint8 TRAFFIC_JAM_SLOWLY_INCREASING = 2 +uint8 TRAFFIC_JAM_INCREASING = 3 +uint8 TRAFFIC_JAM_STRONGLY_INCREASING = 4 +uint8 TRAFFIC_STATIONARY = 5 +uint8 TRAFFIC_JAM_SLIGHTLY_DECREASING = 6 +uint8 TRAFFIC_JAM_DECREASING = 7 +uint8 TRAFFIC_JAM_STRONGLY_DECREASING = 8 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficRule.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficRule.msg new file mode 100644 index 000000000..00919a5e3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TrafficRule.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TrafficRule ::= ENUMERATED {noPassing(0), noPassingForTrucks(1), passToRight(2), passToLeft(3), ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NO_PASSING = 0 +uint8 NO_PASSING_FOR_TRUCKS = 1 +uint8 PASS_TO_RIGHT = 2 +uint8 PASS_TO_LEFT = 3 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleOccupancy.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleOccupancy.msg new file mode 100644 index 000000000..e6a680621 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleOccupancy.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TransitVehicleOccupancy ::= ENUMERATED { +# occupancyUnknown (0), +# occupancyEmpty (1), +# occupancyVeryLow (2), +# occupancyLow (3), +# occupancyMed (4), +# occupancyHigh (5), +# occupancyNearlyFull (6), +# occupancyFull (7) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 OCCUPANCY_UNKNOWN = 0 +uint8 OCCUPANCY_EMPTY = 1 +uint8 OCCUPANCY_VERY_LOW = 2 +uint8 OCCUPANCY_LOW = 3 +uint8 OCCUPANCY_MED = 4 +uint8 OCCUPANCY_HIGH = 5 +uint8 OCCUPANCY_NEARLY_FULL = 6 +uint8 OCCUPANCY_FULL = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleStatus.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleStatus.msg new file mode 100644 index 000000000..a26e7777a --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransitVehicleStatus.msg @@ -0,0 +1,47 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TransitVehicleStatus ::= BIT STRING { +# loading (0), +# anADAuse (1), +# aBikeLoad (2), +# doorOpen (3), +# charging (4), +# atStopLine (5) +# } (SIZE(8)) +# ------------------------------------------------------------------------------ + +uint8[] value +uint8 bits_unused +uint8 SIZE_BITS = 8 +uint8 BIT_INDEX_LOADING = 0 +uint8 BIT_INDEX_AN_AD_AUSE = 1 +uint8 BIT_INDEX_A_BIKE_LOAD = 2 +uint8 BIT_INDEX_DOOR_OPEN = 3 +uint8 BIT_INDEX_CHARGING = 4 +uint8 BIT_INDEX_AT_STOP_LINE = 5 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionAndSpeed.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionAndSpeed.msg new file mode 100644 index 000000000..e915d3ba4 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionAndSpeed.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TransmissionAndSpeed ::= SEQUENCE { +# transmisson TransmissionState, +# speed Velocity +# } +# ------------------------------------------------------------------------------ +TransmissionState transmisson + +Velocity speed + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionInterval.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionInterval.msg new file mode 100644 index 000000000..69fad7429 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionInterval.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TransmissionInterval ::= INTEGER {oneMilliSecond(1), tenSeconds(10000)} (1..10000) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 1 +uint16 MAX = 10000 +uint16 ONE_MILLI_SECOND = 1 +uint16 TEN_SECONDS = 10000 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionState.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionState.msg new file mode 100644 index 000000000..5da66f3c6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TransmissionState.msg @@ -0,0 +1,50 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TransmissionState ::= ENUMERATED { +# neutral (0), +# park (1), +# forwardGears (2), +# reverseGears (3), +# reserved1 (4), +# reserved2 (5), +# reserved3 (6), +# unavailable (7) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NEUTRAL = 0 +uint8 PARK = 1 +uint8 FORWARD_GEARS = 2 +uint8 REVERSE_GEARS = 3 +uint8 RESERVED1 = 4 +uint8 RESERVED2 = 5 +uint8 RESERVED3 = 6 +uint8 UNAVAILABLE = 7 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TurningRadius.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TurningRadius.msg new file mode 100644 index 000000000..304b2bb87 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/TurningRadius.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# TurningRadius ::= INTEGER {point4Meters(1), unavailable(255)} (1..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 255 +uint8 POINT4_METERS = 1 +uint8 UNAVAILABLE = 255 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VDS.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VDS.msg new file mode 100644 index 000000000..bf9fe4d63 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VDS.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VDS ::= IA5String (SIZE(6)) +# ------------------------------------------------------------------------------ + +string value +uint8 SIZE = 6 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ValidityDuration.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ValidityDuration.msg new file mode 100644 index 000000000..660f6b086 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ValidityDuration.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ValidityDuration ::= INTEGER {timeOfDetection(0), oneSecondAfterDetection(1)} (0..86400) +# ------------------------------------------------------------------------------ + +uint32 value +uint32 MIN = 0 +uint32 MAX = 86400 +uint32 TIME_OF_DETECTION = 0 +uint32 ONE_SECOND_AFTER_DETECTION = 1 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleBreakdownSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleBreakdownSubCauseCode.msg new file mode 100644 index 000000000..353b856be --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleBreakdownSubCauseCode.msg @@ -0,0 +1,44 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleBreakdownSubCauseCode ::= INTEGER {unavailable(0), lackOfFuel (1), lackOfBatteryPower (2), engineProblem(3), transmissionProblem(4), engineCoolingProblem(5), brakingSystemProblem(6), steeringProblem(7), tyrePuncture(8), tyrePressureProblem(9)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 LACK_OF_FUEL = 1 +uint8 LACK_OF_BATTERY_POWER = 2 +uint8 ENGINE_PROBLEM = 3 +uint8 TRANSMISSION_PROBLEM = 4 +uint8 ENGINE_COOLING_PROBLEM = 5 +uint8 BRAKING_SYSTEM_PROBLEM = 6 +uint8 STEERING_PROBLEM = 7 +uint8 TYRE_PUNCTURE = 8 +uint8 TYRE_PRESSURE_PROBLEM = 9 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleHeight.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleHeight.msg new file mode 100644 index 000000000..83286052f --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleHeight.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleHeight ::= INTEGER (0..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 127 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleID.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleID.msg new file mode 100644 index 000000000..cc023b285 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleID.msg @@ -0,0 +1,41 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleID ::= CHOICE { +# entityID TemporaryID, +# stationID StationID +# } +# ------------------------------------------------------------------------------ +uint8 choice + +TemporaryID entity_id +uint8 CHOICE_ENTITY_ID = 0 + +StationID station_id +uint8 CHOICE_STATION_ID = 1 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleIdentification.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleIdentification.msg new file mode 100644 index 000000000..93417393e --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleIdentification.msg @@ -0,0 +1,40 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleIdentification ::= SEQUENCE { +# wMInumber WMInumber OPTIONAL, +# vDS VDS OPTIONAL, +# ... +# } +# ------------------------------------------------------------------------------ +WMInumber w_m_inumber +bool w_m_inumber_is_present + +VDS v_ds +bool v_ds_is_present + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLength.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLength.msg new file mode 100644 index 000000000..0c04425be --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLength.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleLength ::= SEQUENCE { +# vehicleLengthValue VehicleLengthValue, +# vehicleLengthConfidenceIndication VehicleLengthConfidenceIndication +# } +# ------------------------------------------------------------------------------ +VehicleLengthValue vehicle_length_value + +VehicleLengthConfidenceIndication vehicle_length_confidence_indication + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthConfidenceIndication.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthConfidenceIndication.msg new file mode 100644 index 000000000..a990cb150 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthConfidenceIndication.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleLengthConfidenceIndication ::= ENUMERATED {noTrailerPresent(0), trailerPresentWithKnownLength(1), trailerPresentWithUnknownLength(2), trailerPresenceIsUnknown(3), unavailable(4)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NO_TRAILER_PRESENT = 0 +uint8 TRAILER_PRESENT_WITH_KNOWN_LENGTH = 1 +uint8 TRAILER_PRESENT_WITH_UNKNOWN_LENGTH = 2 +uint8 TRAILER_PRESENCE_IS_UNKNOWN = 3 +uint8 UNAVAILABLE = 4 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthValue.msg new file mode 100644 index 000000000..457d94386 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleLengthValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleLengthValue ::= INTEGER {tenCentimeters(1), outOfRange(1022), unavailable(1023)} (1..1023) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 1 +uint16 MAX = 1023 +uint16 TEN_CENTIMETERS = 1 +uint16 OUT_OF_RANGE = 1022 +uint16 UNAVAILABLE = 1023 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleMass.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleMass.msg new file mode 100644 index 000000000..a6cb4e1c7 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleMass.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleMass ::= INTEGER {hundredKg(1), unavailable(1024)} (1..1024) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 1 +uint16 MAX = 1024 +uint16 HUNDRED_KG = 1 +uint16 UNAVAILABLE = 1024 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleRole.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleRole.msg new file mode 100644 index 000000000..0c1be0fdc --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleRole.msg @@ -0,0 +1,49 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleRole ::= ENUMERATED {default(0), publicTransport(1), specialTransport(2), dangerousGoods(3), roadWork(4), rescue(5), emergency(6), safetyCar(7), agriculture(8), commercial(9), military(10), roadOperator(11), taxi(12), reserved1(13), reserved2(14), reserved3(15)} +# ------------------------------------------------------------------------------ + +uint8 value +uint8 DEFAULT = 0 +uint8 PUBLIC_TRANSPORT = 1 +uint8 SPECIAL_TRANSPORT = 2 +uint8 DANGEROUS_GOODS = 3 +uint8 ROAD_WORK = 4 +uint8 RESCUE = 5 +uint8 EMERGENCY = 6 +uint8 SAFETY_CAR = 7 +uint8 AGRICULTURE = 8 +uint8 COMMERCIAL = 9 +uint8 MILITARY = 10 +uint8 ROAD_OPERATOR = 11 +uint8 TAXI = 12 +uint8 RESERVED1 = 13 +uint8 RESERVED2 = 14 +uint8 RESERVED3 = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleType.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleType.msg new file mode 100644 index 000000000..3c748b422 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleType.msg @@ -0,0 +1,67 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleType ::= ENUMERATED { +# none (0), +# unknown (1), +# special (2), +# moto (3), +# car (4), +# carOther (5), +# bus (6), +# axleCnt2 (7), +# axleCnt3 (8), +# axleCnt4 (9), +# axleCnt4Trailer (10), +# axleCnt5Trailer (11), +# axleCnt6Trailer (12), +# axleCnt5MultiTrailer (13), +# axleCnt6MultiTrailer (14), +# axleCnt7MultiTrailer (15), +# ... +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 NONE = 0 +uint8 UNKNOWN = 1 +uint8 SPECIAL = 2 +uint8 MOTO = 3 +uint8 CAR = 4 +uint8 CAR_OTHER = 5 +uint8 BUS = 6 +uint8 AXLE_CNT2 = 7 +uint8 AXLE_CNT3 = 8 +uint8 AXLE_CNT4 = 9 +uint8 AXLE_CNT4_TRAILER = 10 +uint8 AXLE_CNT5_TRAILER = 11 +uint8 AXLE_CNT6_TRAILER = 12 +uint8 AXLE_CNT5_MULTI_TRAILER = 13 +uint8 AXLE_CNT6_MULTI_TRAILER = 14 +uint8 AXLE_CNT7_MULTI_TRAILER = 15 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleWidth.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleWidth.msg new file mode 100644 index 000000000..bca1622fe --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VehicleWidth.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VehicleWidth ::= INTEGER {tenCentimeters(1), outOfRange(61), unavailable(62)} (1..62) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 62 +uint8 TEN_CENTIMETERS = 1 +uint8 OUT_OF_RANGE = 61 +uint8 UNAVAILABLE = 62 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Velocity.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Velocity.msg new file mode 100644 index 000000000..b76ca24a1 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/Velocity.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# Velocity ::= INTEGER (0..8191) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 8191 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAcceleration.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAcceleration.msg new file mode 100644 index 000000000..5ee2ca928 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAcceleration.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VerticalAcceleration ::= SEQUENCE { +# verticalAccelerationValue VerticalAccelerationValue, +# verticalAccelerationConfidence AccelerationConfidence +# } +# ------------------------------------------------------------------------------ +VerticalAccelerationValue vertical_acceleration_value + +AccelerationConfidence vertical_acceleration_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAccelerationValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAccelerationValue.msg new file mode 100644 index 000000000..b431e9ebf --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/VerticalAccelerationValue.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# VerticalAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredUp(1), pointOneMeterPerSecSquaredDown(-1), unavailable(161)} (-160 .. 161) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -160 +int16 MAX = 161 +int16 POINT_ONE_METER_PER_SEC_SQUARED_UP = 1 +int16 POINT_ONE_METER_PER_SEC_SQUARED_DOWN = -1 +int16 UNAVAILABLE = 161 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WMInumber.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WMInumber.msg new file mode 100644 index 000000000..6d45365f5 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WMInumber.msg @@ -0,0 +1,34 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# WMInumber ::= IA5String (SIZE(1..3)) +# ------------------------------------------------------------------------------ + +string value +uint8 MIN_SIZE = 1 +uint8 MAX_SIZE = 3 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WaitOnStopline.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WaitOnStopline.msg new file mode 100644 index 000000000..5976ce5b2 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WaitOnStopline.msg @@ -0,0 +1,33 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# WaitOnStopline ::= BOOLEAN +# ------------------------------------------------------------------------------ + +bool value + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WheelBaseVehicle.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WheelBaseVehicle.msg new file mode 100644 index 000000000..9ae5f7ee3 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WheelBaseVehicle.msg @@ -0,0 +1,36 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# WheelBaseVehicle ::= INTEGER {tenCentimeters(1), unavailable(127)} (1..127) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 1 +uint8 MAX = 127 +uint8 TEN_CENTIMETERS = 1 +uint8 UNAVAILABLE = 127 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WrongWayDrivingSubCauseCode.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WrongWayDrivingSubCauseCode.msg new file mode 100644 index 000000000..840515827 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/WrongWayDrivingSubCauseCode.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# WrongWayDrivingSubCauseCode ::= INTEGER {unavailable(0), wrongLane(1), wrongDirection(2)} (0..255) +# ------------------------------------------------------------------------------ + +uint8 value +uint8 MIN = 0 +uint8 MAX = 255 +uint8 UNAVAILABLE = 0 +uint8 WRONG_LANE = 1 +uint8 WRONG_DIRECTION = 2 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRate.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRate.msg new file mode 100644 index 000000000..96cc4d947 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRate.msg @@ -0,0 +1,37 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# YawRate::= SEQUENCE { +# yawRateValue YawRateValue, +# yawRateConfidence YawRateConfidence +# } +# ------------------------------------------------------------------------------ +YawRateValue yaw_rate_value + +YawRateConfidence yaw_rate_confidence + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateConfidence.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateConfidence.msg new file mode 100644 index 000000000..295decfa6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateConfidence.msg @@ -0,0 +1,52 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# YawRateConfidence ::= ENUMERATED { +# degSec-000-01 (0), +# degSec-000-05 (1), +# degSec-000-10 (2), +# degSec-001-00 (3), +# degSec-005-00 (4), +# degSec-010-00 (5), +# degSec-100-00 (6), +# outOfRange (7), +# unavailable (8) +# } +# ------------------------------------------------------------------------------ + +uint8 value +uint8 DEG_SEC_000_01 = 0 +uint8 DEG_SEC_000_05 = 1 +uint8 DEG_SEC_000_10 = 2 +uint8 DEG_SEC_001_00 = 3 +uint8 DEG_SEC_005_00 = 4 +uint8 DEG_SEC_010_00 = 5 +uint8 DEG_SEC_100_00 = 6 +uint8 OUT_OF_RANGE = 7 +uint8 UNAVAILABLE = 8 + diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateValue.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateValue.msg new file mode 100644 index 000000000..7a2302943 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/YawRateValue.msg @@ -0,0 +1,38 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# YawRateValue ::= INTEGER {straight(0), degSec-000-01ToRight(-1), degSec-000-01ToLeft(1), unavailable(32767)} (-32766..32767) +# ------------------------------------------------------------------------------ + +int16 value +int16 MIN = -32766 +int16 MAX = 32767 +int16 STRAIGHT = 0 +int16 DEG_SEC_000_01_TO_RIGHT = -1 +int16 DEG_SEC_000_01_TO_LEFT = 1 +int16 UNAVAILABLE = 32767 diff --git a/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ZoneLength.msg b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ZoneLength.msg new file mode 100644 index 000000000..220c2f8e6 --- /dev/null +++ b/etsi_its_msgs/etsi_its_mapem_ts_msgs/msg/ZoneLength.msg @@ -0,0 +1,35 @@ +# ============================================================================== +# 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 +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# ============================================================================== + +# --- Auto-generated by asn1ToRosMsg.py ---------------------------------------- + +# --- ASN.1 Definition --------------------------------------------------------- +# ZoneLength ::= INTEGER (0..10000) +# ------------------------------------------------------------------------------ + +uint16 value +uint16 MIN = 0 +uint16 MAX = 10000 +