Skip to content

Commit

Permalink
regenerate mapem msgs and conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Sep 16, 2024
1 parent f3f68b9 commit 0035141
Show file tree
Hide file tree
Showing 693 changed files with 36,801 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AccelerationConfidence.h>
#include <etsi_its_mapem_ts_coding/INTEGER.h>
#include <etsi_its_primitives_conversion/convertINTEGER.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AccelerationConfidence.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/acceleration_confidence.hpp>
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);
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AccelerationControl.h>
#include <etsi_its_mapem_ts_coding/BIT_STRING.h>
#include <etsi_its_primitives_conversion/convertBIT_STRING.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AccelerationControl.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/acceleration_control.hpp>
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;
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AccidentSubCauseCode.h>
#include <etsi_its_mapem_ts_coding/INTEGER.h>
#include <etsi_its_primitives_conversion/convertINTEGER.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AccidentSubCauseCode.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/accident_sub_cause_code.hpp>
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);
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_ActionID.h>
#include <etsi_its_mapem_ts_conversion/convertSequenceNumber.h>
#include <etsi_its_mapem_ts_conversion/convertStationID.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/ActionID.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/action_id.hpp>
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);
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AdverseWeatherCondition-AdhesionSubCauseCode.h>
#include <etsi_its_mapem_ts_coding/INTEGER.h>
#include <etsi_its_primitives_conversion/convertINTEGER.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AdverseWeatherConditionAdhesionSubCauseCode.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/adverse_weather_condition_adhesion_sub_cause_code.hpp>
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);
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode.h>
#include <etsi_its_mapem_ts_coding/INTEGER.h>
#include <etsi_its_primitives_conversion/convertINTEGER.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AdverseWeatherConditionExtremeWeatherConditionSubCauseCode.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/adverse_weather_condition_extreme_weather_condition_sub_cause_code.hpp>
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);
}

}
Original file line number Diff line number Diff line change
@@ -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 <etsi_its_mapem_ts_coding/mapem_ts_AdverseWeatherCondition-PrecipitationSubCauseCode.h>
#include <etsi_its_mapem_ts_coding/INTEGER.h>
#include <etsi_its_primitives_conversion/convertINTEGER.h>
#ifdef ROS1
#include <etsi_its_mapem_ts_msgs/AdverseWeatherConditionPrecipitationSubCauseCode.h>
namespace mapem_ts_msgs = etsi_its_mapem_ts_msgs;
#else
#include <etsi_its_mapem_ts_msgs/msg/adverse_weather_condition_precipitation_sub_cause_code.hpp>
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);
}

}
Loading

0 comments on commit 0035141

Please sign in to comment.