自动驾驶云服务 OCTOPUS-修饰器(Modifiers):修饰器(position)
修饰器(position)
用途:设定动作主体actor所处的车道。可以修饰初始动作assign_init_position 。
参数:
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
distance |
length |
no |
A target length value including a length unit. The distance is calculated using the route-based s-coordinate |
ahead_of |
entity |
no |
specified by the lane-parameter |
behind |
entity |
no |
When behind is specified, the actor must be behind the entity by the specified value |
代码样例
cut_in_vehicle.assign_init_position() with: lane(lane: raletive_lane_id, side_of: ego, side: left) position(distance: 85.0m, behind: ego)