ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-07-06 07:57:30 -0500 | received badge | ● Notable Question (source) |
2021-04-15 10:04:53 -0500 | received badge | ● Famous Question (source) |
2021-04-07 15:33:43 -0500 | received badge | ● Favorite Question (source) |
2020-11-03 06:30:36 -0500 | commented question | ROS_LOG_DIR not affecting where logs are written - ROS2 Eloquent I never got a solution to the problem. I am running ROS in a Docker container and am just mapping the internal /root/.ro |
2020-11-03 06:27:23 -0500 | received badge | ● Notable Question (source) |
2020-11-02 20:22:48 -0500 | received badge | ● Student (source) |
2020-11-02 09:48:39 -0500 | received badge | ● Famous Question (source) |
2020-10-28 07:05:25 -0500 | received badge | ● Popular Question (source) |
2020-10-26 10:18:06 -0500 | received badge | ● Popular Question (source) |
2020-09-21 07:58:22 -0500 | received badge | ● Notable Question (source) |
2020-09-18 06:28:48 -0500 | marked best answer | Using C++ message filters in ROS2 I am trying to subscribe to two topics. If their header stamps are equal they should be combined into a single message and published. I believe that an exact_time message_filter is the way to go here. In my case the messages will be high resolution images so would like the node to be written in C++ to reduce the CPU cost. For testing I have wrote up a Python node to to publish two messages (just I then tried to make a C++ node that would use message filters to subscribe to the two topics and call a callback if two messages have the same timestamp. I can't really find any solid examples on how to do this in ROS2. I tried to figure it out from the comments in the code from this repo. Below is my code and the compile errors that I get. The code: Does anyone know how to use the My system details are as follows:
My compile error follows: (more) |
2020-09-18 06:28:48 -0500 | received badge | ● Scholar (source) |
2020-09-16 08:44:37 -0500 | received badge | ● Popular Question (source) |
2020-09-16 07:25:21 -0500 | received badge | ● Rapid Responder (source) |
2020-09-16 07:25:21 -0500 | answered a question | Using C++ message filters in ROS2 Thank you @Geoff. The C++ code now compiles fine. The node runs, and looking at the debug logs, messages are being recei |
2020-09-16 06:32:46 -0500 | received badge | ● Enthusiast |
2020-09-15 16:03:55 -0500 | asked a question | Using C++ message filters in ROS2 Using C++ message filters in ROS2 I am trying to subscribe to two topics. If their header stamps are equal they should b |
2020-09-02 12:33:08 -0500 | asked a question | Subscribe to message without deserializing large data structures Subscribe to message without deserializing large data structures I have a process where a high resolution image is captu |
2020-06-19 11:09:26 -0500 | asked a question | ROS_LOG_DIR not affecting where logs are written - ROS2 Eloquent ROS_LOG_DIR not affecting where logs are written - ROS2 Eloquent I would like change the directory where ROS2 is storing |