Skip to content

Commit

Permalink
Merge pull request #1 from HarvestX/tmp/default_qos
Browse files Browse the repository at this point in the history
Update image_transport QoS profile in AprilTagNode.cpp
  • Loading branch information
ynyBonfennil authored Feb 1, 2024
2 parents 21d1849 + aca268d commit 185a70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AprilTagNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ AprilTagNode::AprilTagNode(const rclcpp::NodeOptions& options)
cb_parameter(add_on_set_parameters_callback(std::bind(&AprilTagNode::onParameter, this, std::placeholders::_1))),
td(apriltag_detector_create()),
// topics
sub_cam(image_transport::create_camera_subscription(this, "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)),
sub_cam(image_transport::create_camera_subscription(this, "image_rect", std::bind(&AprilTagNode::onCamera, this, std::placeholders::_1, std::placeholders::_2), declare_parameter("image_transport", "raw", descr({}, true)), rmw_qos_profile_default)),
pub_detections(create_publisher<apriltag_msgs::msg::AprilTagDetectionArray>("detections", rclcpp::QoS(1))),
tf_broadcaster(this)
{
Expand Down

0 comments on commit 185a70f

Please sign in to comment.