필터 지우기
필터 지우기

Read Array Data from Rosbag file

조회 수: 1 (최근 30일)
Paul King
Paul King 2017년 9월 26일
답변: Cam Salzberger 2017년 10월 30일
I have a ROS bag file which has recorded data at each iteration as a row, these are coefficients of an estimated equation so it makes sense to group them in this manner. In ROS I can use rosplay and see all of these coefficients changing so I am happy that the log file contains the data I want to see.
When I try and load this data into matlab using the ros tools it doesn't pick up the dimension information and I just end up with a single array of zeros.
Any ideas

답변 (1개)

Cam Salzberger
Cam Salzberger 2017년 10월 30일
Hello Paul,
What message type is it that contains the data? If it is a custom message, you'll need to go through the ROS Custom Message workflow for MATLAB to be able to read them.
Otherwise, do you have an example small bag file, or a similar bag you've had issues with online somewhere?
-Cam

카테고리

Help CenterFile Exchange에서 ROS Log Files and Transformations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by