自动驾驶云服务 OCTOPUS-动作(Actions):动作(lane_offset)

时间:2024-07-23 10:56:36

动作(lane_offset)

  • 动作主体:车辆vehicle
  • 结束时间:当动作主体actor到达目标偏移offset处时,动作结束。
  • 是否支持modifier:否
  • 参数:参数如下表,支持位置参数和关键字参数。参数target非必选项,不设置target时采用绝对偏移,设置target时采用相对偏移。
表7 lane_offset参数

Parameter

Type

Mandatory

Description

offset

length

yes

Signed number in meters the vehicle should respect as an offset from the center of the current lane

rate_peak

speed

yes

Target value for the peak lateral velocity that must be achieved during the action

dynamics_shape

dynamics_shape

yes

Geometrical shape of the LaneOffsetAction's dynamics

target

entity

no

Reference entity

  • offset值不能超出当前所在lane的宽度范围。

绝对偏移

m_shape: dynamics_shape = step
Ego.lane_offset(0.8m, 0.5mps, m_shape)

相对偏移

m_shape: dynamics_shape = linear
side_vehicle.lane_offset(offset:1.0m, rate_peak: 1.5mps, dynamics_shape:m_shape, target: Ego)
support.huaweicloud.com/usermanual-octopus/octopus-13-0023.html