Robotics StackExchange | Archived questions

When I run the rosbag file, I get the following message: (error: package rosbag_storage not found)

hello guys, i'm a beginner on the subject Could you help me?

Asked by bela on 2021-02-11 05:59:04 UTC

Comments

Does sudo apt install ros-<DISTRO>-rosbag-storage help? (replace <DISTRO> with kinetic, melodic, noetic as appropriate...)

Asked by mgruhler on 2021-02-12 03:07:41 UTC

I typed it into the terminal, here too it says the package is not found

Asked by bela on 2021-02-12 04:41:31 UTC

Have you sourced your installation? Can you help us understand -- do you have a valid ROS installation, and have added the ROS pkg repositories sources to your pkg manager? Have you treid to apt-get update before looking for those packages?

Asked by vinny on 2021-02-12 10:33:22 UTC

Out of curiosity: are you able to record data into a new bag? Can you run just a roscore and rosbag record -a and see if you get any errors?

Asked by Akhil Kurup on 2021-02-12 11:05:53 UTC

I tried to write the rosbag record -a, but it will appear: " [rospack] Error: package 'rosbag_storage' not found [librospack]: error while executing command terminate called after throwing an instance of 'pluginlib::ClassLoaderException' what(): Unable to find package: rosbag_storage "

Asked by bela on 2021-02-13 05:51:05 UTC

And you are unable to install rosbag-storage correct? Can you try installing it from source?

Asked by Akhil Kurup on 2021-02-13 12:27:12 UTC

How do I do it? The problem may be that I did something different than necessary Thank you!

Asked by bela on 2021-02-14 04:09:15 UTC

I assume you have a catkin workspace setup. In the src directory, clone this repo https://github.com/ros/ros_comm. Then use catkin_make (or build as you would for any other package). Source this path and you should be set

Asked by Akhil Kurup on 2021-02-14 14:25:31 UTC

Maybe write to me that you can't find the rosbag-storage because there is no CmakeList.txt and the like?

I saw a lot of videos where these were not needed and the terminal was able to ask for coordinates from the bag file

Asked by bela on 2021-02-15 03:11:10 UTC

Answers

I used this: sudo apt install ros-desktop-full That was super

I already wanted to run this what you wrote, but it didn't work either E: /var/lib/apt/lists/lock locked file not opening

What could be the problem?

Thank you for your help! :)

Asked by bela on 2021-02-12 10:44:32 UTC

Comments

Is the locked file issue due to you not running as sudo ?

try sudo apt-get update

Asked by vinny on 2021-02-12 10:54:38 UTC

i tried this too but it doesn't work unfortunately :/

Asked by bela on 2021-02-13 05:48:27 UTC