file_player_mulran
file_player_mulran copied to clipboard
Demo sequence in Noetic branch throws Segmentation fault - Parking Lot dataset not compatible with current release
I'm facing the following problem in Noetic, trying to load the Parking Lot demo sequence. GDB's output is:
Thread 1 "file_player" received signal SIGSEGV, Segmentation fault.
__vfscanf_internal (s=0x0, format=0x5d4a0611efc0 "%ld,%lf,%lf,%lf,%lf,%lf,%lf,%lf,%lf,%lf,%lf,%lf,%lf\n", argptr=argptr@entry=0x7ffd0bac9320, mode_flags=mode_flags@entry=2) at vfscanf-internal.c:345
345 vfscanf-internal.c: No such file or directory.
The error points to the fscanf function call inside the src/ROSThread.cpp file @ line 152.
To be precise, it seems that the gps records are obligatory for the file_player to run and there is no check in the app whether there is the gps.csv file present in the sensor_data dir.
Basically, you cannot use the Parking Lot sequence using the file_player anymore.
Yet, I believe that it should be checked in the code if all the needed files are present. It took me couple of hours to understand what's going on here.
Currently, I'm waiting for the access to the MulRan dataset, as the demo data is no sufficient to test the player.
UPDATE: Yes, it's confirmed. Using the sequence DCC01, I'm able to start the file_player and expose the data using ROS topics. Do not use the Parking Lot sequence!