ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Compilation errors are not runtime errors, and will never be caused by a corrupt bag file. If you're having trouble compiling, there's a problem with your code or with one of the libraries.
Bag files are a binary format; they will not be readable in a standard text editor. You can read them with the rosbag command line tool, or using the rqt_bag GUI tool.
If you can post samples of your code and the compilation errors you're seeing, you'll get more specific answers.