1. Problem
if you want to run a. Bag file that hasn’t been used for a long time, run the command: rosbag info XXX. Bag
, and find an error, as follows:
ERROR bag unindexed: 2021-6-23-0103all.bag. Run rosbag reindex.
If you want to play it by force: rosbag play XXX. Bag
, you can’t either. The error is as follows:
[ INFO] [1624972506.447439941]: Opening 2021-6-23-0103all.bag
[FATAL] [1624972506.448068825]: Error reading from file: wanted 4 bytes, read 0 bytes
2. Solution
according to the error prompt, enter the command:
rosbag reindex xxx.bag
Two. Bag files will be generated, as follows:
in the picture, xx.orig.bag is the first package, and xxx.bag is the package after reindex.
finally, enter the command: rosbag info XXX. Bag
to output normally, as follows:
Read More:
- Out of bag error in Random Forest
- Run with Python console solution is set by default for all projects in pcharm
- An error occurred trying to connect: get http: / / var / run/ docker.sock/v1 .21/containers/json?all
- Go run error go run: cannot run non main package
- Grep finds all files containing a string in Linux
- Angular error – can’t resolve all parameters for []
- After installing CodeBlocks, run the prompt: tried to run compiler executable ‘C: / / MinGW / bin / mingw32- gcc.exe ‘, but failed!
- The solution of Hibernate query returning all null lists
- After Nacos started, the client worker log was printed all the time
- Linux shell RM deletes all. O suffix files in the subdirectory
- How to Solve All masterha_check_repl Error
- Configure OpenGL development environment (glfw3 + glad) once and for all with visual studio
- Delete all content under vim
- Angular: Program ng failed to run No application is associated
- Unexplained exception 005: uncaught error: can’t resolve all parameters for applicationmodule
- Several methods of deleting all empty lines in text under Linux
- [Elasticsearch] es 7.12 Root mapping definition has unsupported parameters: _all
- Brief introduction of cmake generating all in vs Project_ BUILD、INSTALL、ZERO_ Check function!!
- After changing tomcat, the previous images cannot be displayed. All 404,
- YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Inval