This program is a file player for the MOANA dataset. Please use the issue in this github page to report a bug or ask questions.
See the ros2 branch for the ros2 version fileplayer.
$ mkdir -p catkin_ws/src
$ cd catkin_ws/src
$ git clone https://github.com/wooseongY/MOANA-File-Player.git
$ cd .. && catkin build
$ source devel/setup.bash
$ roslaunch moana_file_player moana_file_player.launch
- This version is tested in ROS-noetic (Ubuntu 20.04)
Before loading the data, you need to generate data_stamp.csv with timestamp_gen.py.
You have to change the base_dir in timestamp_gen.py to the appropriate path for your data.
$ python3 timestamp_gen.py
Then, data_stamp.csv file will be created in your data directory.
If your data directory is represented as follows, you are now ready to enjoy the MOANA dataset!
📂 Sequence_name/
├── 📂 sensor_data/
│ ├── 📂 Camera_left/
│ │ └── 📝 timestamp.jpg
│ ├── 📂 Camera_right/
│ │ └── 📝 timestamp.jpg
│ ├── 📂 LiDAR/
│ │ └── 📝 timestamp.bin
│ ├── 📂 W_band_radar/
│ │ └── 📝 timestamp.png
│ ├── 📂 X_band_radar/
│ │ └── 📝 timestamp.png
└── 📝 data_stamp.csv
- Click the "Load" button.
- Choose Sequence_name folder including sensor_data folder and data_stamp.csv.
- The "Play" button starts publishing data in the ROS message.
- The "Pause/Resume" button pauses and resumes publishing data.
- The "Save" button saves all topics into the rosbag file.
- The "Loop" checkbox resumes when playback is finished.
Enjoy it:)
Wooseong Yang (yellowish@snu.ac.kr) Hyesu Jang (dortz@snu.ac.kr)