matlab2020b update1/rosbag error

When i use 'rosbag' command, shows error, but the same command can run in matlab 2019a

Respuestas (4)

Abhisek Pradhan
Abhisek Pradhan el 8 de Dic. de 2020

0 votos

Tried using rosbag in R2020b and its working fine. There may be some issue in the file or arguments you are passing into it. Check here for documentation.
Or if you can share some more details we can have a deeper look at it.

1 comentario

Vincenzo Lippiello
Vincenzo Lippiello el 15 de Dic. de 2020
Editada: Vincenzo Lippiello el 15 de Dic. de 2020
I have the same problem, see the following file...
I just call ' bag = rosbag(filename); ' and an error occurrs: "An error occurred when reading from the file."
I also tested bag files downloaded from internet and the problem is the same.

Iniciar sesión para comentar.

Vincenzo Lippiello
Vincenzo Lippiello el 15 de Dic. de 2020

0 votos

I have the same problem after Matlbab update.
I attached the file that works for me with R2020a but not with R2020b.
Thanks in advance for your time
Tan Shuwen is pig
Tan Shuwen is pig el 28 de En. de 2021

0 votos

I have the same problem after Matlbab update.
Tan Shuwen is pig
Tan Shuwen is pig el 21 de Mzo. de 2021

0 votos

I found a solution to the problem, it's very simple, file path of your bag cannot have Chinese character.

Categorías

Más información sobre ROS Log Files and Transformations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Dic. de 2020

Respondida:

el 21 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by