Skip to content

Commit

Permalink
chore(avoidance_module): fix spell check (tier4#732)
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 authored and 0x126 committed May 18, 2022
1 parent a7118b6 commit 8809673
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ MarkerArray createPoseMarkerArray(
MarkerArray makeOverhangToRoadShoulderMarkerArray(
const behavior_path_planner::ObjectDataArray & objects);

MarkerArray createOvehangFurthestLineStringMarkerArray(
MarkerArray createOverhangFurthestLineStringMarkerArray(
const lanelet::ConstLineStrings3d & linestrings, const std::string & ns, const double r,
const double g, const double b);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1939,8 +1939,8 @@ void AvoidanceModule::modifyPathVelocityToPreventAccelerationOnAvoidance(Shifted
std::sqrt(v0 * v0 + 2.0 * s * parameters_.max_avoidance_acceleration));

// apply velocity limit
constexpr size_t VLIM_APPLY_IDX_MARGIN = 0;
for (size_t i = ego_idx + VLIM_APPLY_IDX_MARGIN; i < N; ++i) {
constexpr size_t V_LIM_APPLY_IDX_MARGIN = 0;
for (size_t i = ego_idx + V_LIM_APPLY_IDX_MARGIN; i < N; ++i) {
path.path.points.at(i).point.longitudinal_velocity_mps =
std::min(path.path.points.at(i).point.longitudinal_velocity_mps, static_cast<float>(vmax));
}
Expand Down Expand Up @@ -2619,7 +2619,7 @@ void AvoidanceModule::setDebugData(const PathShifter & shifter, const DebugData
using marker_utils::createAvoidPointMarkerArray;
using marker_utils::createLaneletsAreaMarkerArray;
using marker_utils::createObjectsMarkerArray;
using marker_utils::createOvehangFurthestLineStringMarkerArray;
using marker_utils::createOverhangFurthestLineStringMarkerArray;
using marker_utils::createPathMarkerArray;
using marker_utils::createPoseMarkerArray;
using marker_utils::createShiftLengthMarkerArray;
Expand Down Expand Up @@ -2652,7 +2652,7 @@ void AvoidanceModule::setDebugData(const PathShifter & shifter, const DebugData
add(createLaneletsAreaMarkerArray(*debug.expanded_lanelets, "expanded_lanelet", 0.8, 0.8, 0.0));
add(createAvoidanceObjectsMarkerArray(avoidance_data_.objects, "avoidance_object"));
add(makeOverhangToRoadShoulderMarkerArray(avoidance_data_.objects));
add(createOvehangFurthestLineStringMarkerArray(
add(createOverhangFurthestLineStringMarkerArray(
*debug.farthest_linestring_from_overhang, "farthest_linestring_from_overhang", 1.0, 0.0, 1.0));

// parent object info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ MarkerArray makeOverhangToRoadShoulderMarkerArray(
return msg;
}

MarkerArray createOvehangFurthestLineStringMarkerArray(
MarkerArray createOverhangFurthestLineStringMarkerArray(
const lanelet::ConstLineStrings3d & linestrings, const std::string & ns, const double r,
const double g, const double b)
{
Expand Down

0 comments on commit 8809673

Please sign in to comment.