Skip to content

Commit

Permalink
fix(simple_planning_simulator): fix timer type (autowarefoundation#1538)
Browse files Browse the repository at this point in the history
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
  • Loading branch information
TakaHoribe authored and yukke42 committed Oct 14, 2022
1 parent 572fffa commit 882d21c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ SimplePlanningSimulator::SimplePlanningSimulator(const rclcpp::NodeOptions & opt
std::bind(&SimplePlanningSimulator::on_parameter, this, _1));

timer_sampling_time_ms_ = static_cast<uint32_t>(declare_parameter("timer_sampling_time_ms", 25));
on_timer_ = create_wall_timer(
std::chrono::milliseconds(timer_sampling_time_ms_),
on_timer_ = rclcpp::create_timer(
this, get_clock(), std::chrono::milliseconds(timer_sampling_time_ms_),
std::bind(&SimplePlanningSimulator::on_timer, this));

tier4_api_utils::ServiceProxyNodeInterface proxy(this);
Expand Down

0 comments on commit 882d21c

Please sign in to comment.