Skip to content

Planning factors#

Description#

This API manages the planned behavior of the vehicle. Applications can notify the vehicle behavior to the people around and visualize it for operator and passengers.

Velocity factors#

The velocity factors is an array of information on the behavior that the vehicle stops or slows down. Each factor has a behavior type which is described below. Some behavior types have sequence and details as additional information.

BehaviorDescription
surrounding-obstacleThere are obstacles immediately around the vehicle.
route-obstacleThere are obstacles along the route ahead.
intersectionThere are obstacles in other lanes in the path.
crosswalkThere are obstacles on the crosswalk.
rear-checkThere are obstacles behind that would be in a human driver's blind spot.
user-defined-attention-areaThere are obstacles in the predefined attention area.
roundaboutThere are obstacles in the roundabout.
no-stopping-areaThere is not enough space beyond the no stopping area.
stop-signA stop by a stop sign.
traffic-signalA stop by a traffic signal.
v2x-gate-areaA stop by a gate area. It has enter and leave as sequences and v2x type as details.
mergeA stop before merging lanes.
sidewalkA stop before crossing the sidewalk.
lane-changeA lane change.
avoidanceA path change to avoid an obstacle in the current lane.
emergency-operationA stop by emergency instruction from the operator.

Each factor also provides status, poses in the base link frame, and distance from that pose. As the vehicle approaches the stop position, this factor appears with a status of APPROACHING. And when the vehicle reaches that position and stops, the status will be STOPPED. The pose indicates the stop position, or the base link if the stop position cannot be calculated.

velocity-factors

Steering factors#

The steering factors is an array of information on the maneuver that requires use of turn indicators, such as turning left or right. Each factor has a behavior type which is described below and steering direction. Some behavior types have sequence and details as additional information.

BehaviorDescription
intersectionA turning left or right at an intersection.
lane-changeA lane change.
avoidanceA path change to avoid an obstacle. It has a sequence of change and return.
start-plannerT.B.D.
goal-plannerT.B.D.
emergency-operationA path change by emergency instruction from the operator.

Each factor also provides status, poses in the base link frame, and distances from that poses. As the vehicle approaches the position to start steering, this factor appears with a status of APPROACHING. And when the vehicle reaches that position, the status will be TURNING. The poses indicate the start and end position of the section where the status is TURNING.

steering-factors-1

In cases such as lane change and avoidance, the vehicle will start steering at any position in the range depending on the situation. For these types, the section where the status is TURNING will be updated dynamically and the poses will follow that.

steering-factors-2