Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 84

How to get the message text back to the main function

$
0
0
void MyFunc(const std_msgs::String::ConstPtr& msg) { //code } .... ros::Subscriber sub = n.subscribe("shatter", 1000, chatterCallback); standard subscription and reading data from the theme. But I have a question is it possible to implement reading from another topic that the message was in the same main function

Viewing all articles
Browse latest Browse all 84

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>