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

ROS libraries in C++ Program

asked 2021-07-06 03:33:25 -0500

AndreiS gravatar image

So what I need from ROS is just to parse the messages from a rosbag2 format.

The problem is that there is also another build system used there, something internal. The thing is that I would like just to somehow be able to integrate the ros libraries for reading and parsing a rosbag.

Is there any solution or any other alternative that would make this available? I also need to mention that in our normal workspace we have an entire set of tools that are getting built.

If you have any idea that would get close, or make it working, I would really appreciate it.

THank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-07 23:23:16 -0500

130s gravatar image

updated 2021-07-07 23:24:08 -0500

Allow me to not have ROS2 experience at all yet. Also I haven't used rosbag2 but here I assume the functionalities it provides are the same/similar as rosbag for ROS1. That said, rosbag2 is not a limiting factor.

Requirement for C++ executable to parse the messages that are defined and distributed in ROS-way over the network. Minimum necessary items for that is include and link. Ref.

Mixing multiple software, one that is built with Catkin while another one builds with something else should not add any issue for building.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-07-06 03:33:25 -0500

Seen: 103 times

Last updated: Jul 07 '21