Skip to content

Commit

Permalink
fix(autoware_motion_velocity_obstacle_velocity_limiter_module): fix f…
Browse files Browse the repository at this point in the history
…unctionStatic (autowarefoundation#8483)

fix:functionStatic

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Aug 15, 2024
1 parent 5bc0b3f commit 9fa7cc9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ struct ObstacleParameters
node.get_logger(), static_cast<int>(node.declare_parameter<int>(RTREE_SEGMENTS_PARAM)));
}

// cppcheck-suppress functionStatic
bool updateType(const rclcpp::Logger & logger, const std::string & type)
{
if (type == "pointcloud") {
Expand Down Expand Up @@ -140,6 +141,7 @@ struct ProjectionParameters
duration = node.declare_parameter<double>(DURATION_PARAM);
}

// cppcheck-suppress functionStatic
bool updateModel(const rclcpp::Logger & logger, const std::string & model_str)
{
if (model_str == "particle") {
Expand All @@ -154,6 +156,7 @@ struct ProjectionParameters
return true;
}

// cppcheck-suppress functionStatic
bool updateDistanceMethod(const rclcpp::Logger & logger, const std::string & method_str)
{
if (method_str == "exact") {
Expand Down

0 comments on commit 9fa7cc9

Please sign in to comment.