Function arci_ros::rosrust_utils::subscribe_with_channel

source ·
pub fn subscribe_with_channel<T: Message>(
    topic_name: &str,
    queue_size: usize,
) -> (Receiver<T>, Subscriber)
Expand description

§subscribe ROS message helper

using for inspect specific massage type. Message is displayed on screen and sent to mpsc receiver

§Panic!

If subscriber can’t be construct, this function is panic. Or if Roscore is not up, could be panic.