rosbag2_bag_v2 plugins

asked 2022-11-15 04:28:22 -0500

draj gravatar image

updated 2022-11-15 22:20:13 -0500

ravijoshi gravatar image

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

edit retag flag offensive close merge delete

Comments

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

ravijoshi gravatar image ravijoshi  ( 2022-11-15 22:21:47 -0500 )edit

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

draj gravatar image draj  ( 2022-11-16 03:23:16 -0500 )edit

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?

ravijoshi gravatar image ravijoshi  ( 2022-11-17 04:27:19 -0500 )edit