Skip to content

Commit

Permalink
Fix topic QoS
Browse files Browse the repository at this point in the history
  • Loading branch information
ynyBonfennil authored Apr 29, 2024
1 parent 4548f58 commit 628bd57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AprilTagNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ AprilTagNode::AprilTagNode(const rclcpp::NodeOptions& options)
this->get_node_topics_interface()->resolve_topic_name("image_rect"),
std::bind(&AprilTagNode::onCamera, this, std::placeholders::_1, std::placeholders::_2),
declare_parameter("image_transport", "raw", descr({}, true)),
rmw_qos_profile_sensor_data)),
pub_detections(create_publisher<apriltag_msgs::msg::AprilTagDetectionArray>("detections", rclcpp::QoS(1))),
rclcpp::QoS(1).reliable().durability_volatile())),
pub_detections(create_publisher<apriltag_msgs::msg::AprilTagDetectionArray>(
"detections", rclcpp::QoS(1).reliable().durability_volatile())),
tf_broadcaster(this)
{
// read-only parameters
Expand Down

0 comments on commit 628bd57

Please sign in to comment.