Skip to content

Commit

Permalink
Merge pull request #4 from HarvestX/fix/message-qos
Browse files Browse the repository at this point in the history
Fix topic QoS
  • Loading branch information
ynyBonfennil authored Apr 29, 2024
2 parents 4548f58 + 333c431 commit 997c95c
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))),
rmw_qos_profile_default)),
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 997c95c

Please sign in to comment.