Skip to content

Commit

Permalink
refactor(goal_distance_calculator): apply clang-tidy (tier4#1651)
Browse files Browse the repository at this point in the history
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
  • Loading branch information
h-ohta authored and boyali committed Sep 28, 2022
1 parent 4b36699 commit d914416
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Output
class GoalDistanceCalculator
{
public:
Output update(const Input & input);
static Output update(const Input & input);

void setParam(const Param & param) { param_ = param; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ namespace goal_distance_calculator
{
struct NodeParam
{
double update_rate;
bool oneshot;
double update_rate{0.0};
bool oneshot{false};
};

class GoalDistanceCalculatorNode : public rclcpp::Node
Expand Down

0 comments on commit d914416

Please sign in to comment.