Skip to content

Commit

Permalink
fix assign after return
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime CLEMENT <[email protected]>
  • Loading branch information
maxime-clem committed Jun 5, 2024
1 parent c082d5b commit f96271c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ bool MotionVelocityPlannerNode::update_planner_data()
constexpr auto throttle_duration = 3000; // [ms]
if (!ptr) {
RCLCPP_INFO_THROTTLE(get_logger(), clock, throttle_duration, log);
return false;
is_ready = false;
return false;
}
return true;
};
Expand Down

0 comments on commit f96271c

Please sign in to comment.