Skip to content

Commit

Permalink
refactor(goal_distance_calculator): apply clang-tidy (autowarefoundat…
Browse files Browse the repository at this point in the history
…ion#1651)

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 TakaHoribe committed Sep 5, 2022
1 parent 27cdf86 commit 8d9569d
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 8d9569d

Please sign in to comment.