Skip to content

Commit

Permalink
use const for const parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc committed May 12, 2024
1 parent da77325 commit eca35cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ bool isBlockedByPartition(const LineString2d & direction, const BasicPolygons2d
std::optional<PossibleCollisionInfo> generateOneNotableCollisionFromOcclusionSpot(
const grid_map::GridMap & grid, const std::vector<grid_map::Position> & occlusion_spot_positions,
const double offset_from_start_to_ego, const Point2d base_point,
const lanelet::ConstLanelet & path_lanelet, const PlannerParam & param, DebugData & debug_data)
const lanelet::ConstLanelet & path_lanelet, const PlannerParam & param, const DebugData & debug_data)
{
const double baselink_to_front = param.baselink_to_front;
const double right_overhang = param.right_overhang;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void calcSlowDownPointsForPossibleCollision(
std::optional<PossibleCollisionInfo> generateOneNotableCollisionFromOcclusionSpot(
const grid_map::GridMap & grid, const std::vector<grid_map::Position> & occlusion_spot_positions,
const double offset_from_start_to_ego, const Point2d base_point,
const lanelet::ConstLanelet & path_lanelet, const PlannerParam & param, DebugData & debug_data);
const lanelet::ConstLanelet & path_lanelet, const PlannerParam & param, const DebugData & debug_data);
//!< @brief generate possible collisions coming from occlusion spots on the side of the path
bool generatePossibleCollisionsFromGridMap(
std::vector<PossibleCollisionInfo> & possible_collisions, const grid_map::GridMap & grid,
Expand Down

0 comments on commit eca35cd

Please sign in to comment.