Robotics StackExchange | Archived questions

rosbag2_bag_v2 plugins

Hello,

I am trying to install rosbag2 plugin. While doing that, I am facing this error:-

tarting >>> ros1_rosbag_storage_vendor
Finished <<< ros1_rosbag_storage_vendor [1.05s]                  
Starting >>> rosbag2_bag_v2_plugins
--- stderr: rosbag2_bag_v2_plugins                         
CMake Error at CMakeLists.txt:28 (message):
  Failed to find ROS 1 roscpp, cannot build.

---
Failed   <<< rosbag2_bag_v2_plugins [0.74s, exited with code 1]

Summary: 1 package finished [2.02s]
  1 package failed: rosbag2_bag_v2_plugins
  1 package had stderr output: rosbag2_bag_v2_plugins

Can someone please help me with this issue. Thanking you in advance

Asked by draj on 2022-11-15 05:28:22 UTC

Comments

The compiler is unable to find roscpp. Can you please post a link of the documentation you followed for the installation?

Asked by ravijoshi on 2022-11-15 23:21:47 UTC

Yes sure, https://github.com/ros2/rosbag2_bag_v2. I used this first but it didn’t worked so I git clone the v_2 plugins from the same and while doing colcon build, above errors appears

Asked by draj on 2022-11-16 04:23:16 UTC

I used this first but it didn’t worked so I git clone the v_2 plugins from the same....

Do you mean that initially, you tried building the complete repository, which did not work? Then, later on, you removed everything except the rosbag2_bag_v2_plugins folder. Is it correct?

Asked by ravijoshi on 2022-11-17 05:27:19 UTC

Answers