Skip to content

safe queue size for netft_node. #15

Description

@chaitanyantr

Query:- May I know what should be the safe range for queue size in ros2 publisher? considering the sensor rate is 500hz (claimed).
Reason:- continuous message loss issue.
Image:-
image

// Set up ROS publishers
auto node = std::make_sharedrclcpp::Node("netft_node" + last_digit);
const rclcpp::QoS qos(100);
rclcpp::Publisher<std_msgs::msg::Bool>::SharedPtr ready_pub = node->create_publisher<std_msgs::msg::Bool>("netft_ready" + last_digit, qos);
rclcpp::Publisher<geometry_msgs::msg::WrenchStamped>::SharedPtr geo_pub = node->create_publisher<geometry_msgs::msg::WrenchStamped>("netft_data" + last_digit, 500);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions