Skip to content

Commit

Permalink
fix(utils): fix invalid drivable area z-position (autowarefoundation#…
Browse files Browse the repository at this point in the history
…4866)

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota authored and tkimura4 committed Sep 4, 2023
1 parent d0498e8 commit b2a1b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planning/behavior_path_planner/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,7 @@ void makeBoundLongitudinallyMonotonic(
if (intersect_point) {
Pose pose;
pose.position = *intersect_point;
pose.position.z = bound_with_pose.at(i).position.z;
const auto yaw = calcAzimuthAngle(*intersect_point, bound_with_pose.at(i + 1).position);
pose.orientation = createQuaternionFromRPY(0.0, 0.0, yaw);
monotonic_bound.push_back(pose);
Expand Down

0 comments on commit b2a1b88

Please sign in to comment.