更新时间:2024-05-13 GMT+08:00
分享

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)
分享:

    相关文档

    相关产品