自动驾驶云服务 OCTOPUS-odr_point

时间:2023-12-19 19:10:49

odr_point

  • 定义:ASAM OpenDRIVE坐标系中的位置点(point).
  • 用途:设置实体位置,用于构成pose_3d.
  • 参数:参数如下表.
    表1 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/toctopics/zh-cn_topic_0000001673304085.html