ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rav728's profile - activity

2020-04-22 09:16:57 -0500 received badge  Famous Question (source)
2020-04-22 09:16:57 -0500 received badge  Notable Question (source)
2019-07-29 05:36:01 -0500 received badge  Famous Question (source)
2019-07-01 10:57:46 -0500 received badge  Notable Question (source)
2019-06-17 09:11:07 -0500 received badge  Popular Question (source)
2019-06-14 14:10:07 -0500 received badge  Enthusiast
2019-06-13 20:32:56 -0500 asked a question Set of geometry_msgs::Point

Set of geometry_msgs::Point I'm implementing a node where I need to return geometry_msgs::Point[] containing points from

2019-06-11 03:26:07 -0500 marked best answer if condition for approximate time subscriber

In my current code I subscribe to two topics using the Approximate time policy and suppose the callback is called callbackTwoTopics.

Now there's this third that sometime published and sometimes doesn't publish, but when it does publish I'd like to call another function callbackThreeTopics instead of callbackTwoTopics.

I know how to subscribe to three topics, but I don't know how to have a condition on a callback. Is it possible to do this in ROS cpp? If so, how?

2019-06-11 03:26:06 -0500 received badge  Scholar (source)
2019-06-11 01:50:08 -0500 received badge  Popular Question (source)
2019-06-10 11:21:37 -0500 commented answer if condition for approximate time subscriber

any help would be greatly appreciated @JustinBlack02 !

2019-06-09 16:58:45 -0500 commented answer if condition for approximate time subscriber

Thanks for your answer. I did a quick search on implementations of buffering and dequeue messages, but couldn't find too

2019-06-09 12:12:40 -0500 asked a question if condition for approximate time subscriber

if condition for approximate time subscriber In my current code I subscribe to two topics using the Approximate time pol