Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safe queue size for netft_node. #15

Open
chaitanyantr opened this issue Jul 25, 2024 · 0 comments
Open

safe queue size for netft_node. #15

chaitanyantr opened this issue Jul 25, 2024 · 0 comments

Comments

@chaitanyantr
Copy link

chaitanyantr commented Jul 25, 2024

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant