Тёмный

How to use Python 3 to extract data from rosbag file. 

Rahul Bhadani
Подписаться 89
Просмотров 12 тыс.
50% 1

In this video, I demonstrate how to use Python 3 to extract data from the rosbag file using bagpy package.
Installation: pip install bagpy
Documentation: jmscslgroup.gi...
Github: github.com/jms...
Notebook: github.com/jms...

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@bharath5673__
@bharath5673__ Год назад
Great
@mojok97
@mojok97 3 года назад
Hi Rahul, Thank you for this great Video. Is there also an option in Renaming Topics and save it in the existing bag file? I have recorded several rosbags on different vehicles at the same time and without renaming the topics (eg. to vehicle1/speed, vehicle2/speed) they would publish on the same topic (e.g. speed) when i play back the rosbag. Thank you very much for your help!
@adityapotnis7378
@adityapotnis7378 3 года назад
Hi Rahul, does bagreader support saving the csv folder in a custom directory?
@DI-rp9fv
@DI-rp9fv 4 года назад
Hi! Nice tutorial. Wanted to ask you if it is possible to extract other data than velocity/wrench/laser? From source code it seems to be tailored for a very specific application (vel_data(), laser_data(), .... )and I struggled a bit trying to extract anything else. Would you be able to explain what would be the step to target a particular message in the topic and extract data from that message for plotting
@kumarrahulbhadani
@kumarrahulbhadani 3 года назад
Hi, sorry for the late reply. The current version of bagfile supports decoding any message type, including custom messages. Please look at github.com/jmscslgroup/bagpy and documentation jmscslgroup.github.io/bagpy
@junaidafzal7560
@junaidafzal7560 3 года назад
nice video but you should have mentioned the type of data you are going to extract. If it is not for images mention it !
@SarangPakistani1947
@SarangPakistani1947 3 года назад
hi Rahul thank you for the video. I was able to convert some of my rosbag files into CSVs. Could you please make a video on how to add something (e.g a lidar calibration file) to an existing rosbag file? Thank you in advance.
@kumarrahulbhadani
@kumarrahulbhadani 3 года назад
I am not aware of any such use case where you can add any extra information not related to ROS messages to an existing bag file. Do you have any resources to point that out?
@khandetanvikram
@khandetanvikram 4 года назад
I am trying to extract images from .bag file. The approach which you explained above it doesn't work for me. Please assist me in extracting the images
@kumarrahulbhadani
@kumarrahulbhadani 3 года назад
I am sorry, but currently extracting images are not supported.
Далее
How to use Cameras in ROS (Sim Camera and Pi Camera)
32:01
ROS Training - rosbag
4:10
Просмотров 5 тыс.
Seaborn Is The Easier Matplotlib
22:39
Просмотров 170 тыс.
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 72 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 401 тыс.
How do we add LIDAR to a ROS robot?
22:45
Просмотров 144 тыс.
The OpenAI (Python) API | Introduction & Example Code
23:46