Skip to content

Commit

Permalink
fix: use transient_local (autowarefoundation#763) (autowarefoundation…
Browse files Browse the repository at this point in the history
…#137)

Signed-off-by: wep21 <[email protected]>

Co-authored-by: Hiroki OTA <[email protected]>
  • Loading branch information
wep21 and h-ohta authored Dec 8, 2021
1 parent 4eb097d commit bc30978
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ LaneDepartureCheckerNode::LaneDepartureCheckerNode(const rclcpp::NodeOptions & o
"~/input/lanelet_map_bin", rclcpp::QoS{1}.transient_local(),
std::bind(&LaneDepartureCheckerNode::onLaneletMapBin, this, _1));
sub_route_ = this->create_subscription<HADMapRoute>(
"~/input/route", 1, std::bind(&LaneDepartureCheckerNode::onRoute, this, _1));
"~/input/route", rclcpp::QoS{1}.transient_local(),
std::bind(&LaneDepartureCheckerNode::onRoute, this, _1));
sub_reference_trajectory_ = this->create_subscription<Trajectory>(
"~/input/reference_trajectory", 1,
std::bind(&LaneDepartureCheckerNode::onReferenceTrajectory, this, _1));
Expand Down

0 comments on commit bc30978

Please sign in to comment.