自动驾驶云服务 OCTOPUS-Struct:odr_point

时间:2024-10-30 16:07:56

odr_point

  • 定义:ASAM OpenDRIVE坐标系中的位置点(point)。
  • 用途:设置实体位置,用于构成pose_3d。
  • 参数:参数如下表
    表4 odr_point参数

    Parameter

    Type

    Mandatory

    Description

    road_id

    string

    yes

    ASAM OpenDRIVE identifier for the road

    lane_id

    string

    yes

    ASAM OpenDRIVE identifier for the lane

    s

    length

    yes

    Coordinate along the ASAM OpenDRIVE s-axis

    t

    length

    yes

    Coordinate along the ASAM OpenDRIVE t-axis, the t-coordinate is measured from the lane centerline

keep创建

my_odr: odr_point with:
    keep(it.road_id == '1')
    keep(it.lane_id == '-2')
    keep(it.s == 3.0m)
    keep(it.t == 0.0m)

create创建

my_odr: odr_point = map.create_odr_point(road_id: '1',lane_id:'-2',s: 3.0m, t: 0.0m)
support.huaweicloud.com/usermanual-octopus/octopus-13-0046.html