[CI][fix] Fix some problem of the ROS1 CI
Fix the CI which has been broken since last CI MR.
It is normal the tests don't pass anymore. I added a condition than reference file must be none empty and there it is. The reference file should be fix after this MR
List of fixes :
- path of rosbag
- check exit status of the ROS1_COMMAND
- make the code cross terminal (not only bash)
- add check for empty reference file during the test
Edited by Arthur Bourbousson