UTNuclearRoboticsPublic / netft_utils

A C++ class and a ROS node for ATI force/torque sensors connected to a Netbox.
http://wiki.ros.org/netft_utils
28 stars 29 forks source link

safe queue size for netft_node. #15

Open chaitanyantr opened 4 months ago

chaitanyantr commented 4 months ago

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_shared("netft_node" + last_digit); const rclcpp::QoS qos(100); rclcpp::Publisher::SharedPtr ready_pub = node->create_publisher("netft_ready" + last_digit, qos); rclcpp::Publisher::SharedPtr geo_pub = node->create_publisher("netft_data" + last_digit, 500);