GeneralizedLanePosition

This is a ROS message definition.

Source

# ==============================================================================
# MIT License
#
# Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ==============================================================================

# --- Auto-generated by asn1ToRosMsg.py ----------------------------------------

# --- ASN.1 Definition ---------------------------------------------------------
# /**
#  * This DF indicates a transversal position in relation to the different lanes of the road. 
#  * It is an extension of DE_LanePosition to cover locations (sidewalks, bicycle paths), where Vehicle ITS-S would normally not be present. 
#  *
#  * The following options are available:
#  *
#  * @field trafficLanePosition: a position on a traffic lane. 
#  * 
#  * @field nonTrafficLanePosition: a position on a lane which is not a traffic lane.
#  * 
#  * @field trafficIslandPosition: a position on a traffic island
#  * 
#  * @field mapPosition: a position on a lane identified in a MAPEM.
#  *  
#  * @category: Road Topology information
#  * @revision: created in V2.1.1
#  */
# GeneralizedLanePosition::= CHOICE {
#     trafficLanePosition       LanePosition,
#     nonTrafficLanePosition    LanePositionAndType,
#     trafficIslandPosition     TrafficIslandPosition,
#     mapPosition               MapPosition,
#     ...
# }	
# ------------------------------------------------------------------------------

uint8 choice

LanePosition traffic_lane_position
uint8 CHOICE_TRAFFIC_LANE_POSITION = 0

LanePositionAndType non_traffic_lane_position
uint8 CHOICE_NON_TRAFFIC_LANE_POSITION = 1

TrafficIslandPosition traffic_island_position
uint8 CHOICE_TRAFFIC_ISLAND_POSITION = 2

MapPosition map_position
uint8 CHOICE_MAP_POSITION = 3