This repository contains a simple tool that enables the conversion of Mandeye data to ROSBag.
To build the tool, follow these steps:
- Create a ROS1 workspace:
mkdir -p ~/mandeye_ws/src
- Clone the repository:
cd ~/mandeye_ws/src
git clone https://github.com/michalpelka/mandeye_to_bag.git
- Initialize third-party repositories:
cd ~/mandeye_ws/src/mandeye_to_bag
vcs import --input livox.repos
- Initilize sumbodules
cd ~/mandeye_ws/src/mandeye_to_bag/mandeye_to_rosbag1
git submodule update --init --recursive
cd ~/mandeye_ws/src/mandeye_to_bag/FAST_LIO
git submodule update --init --recursive
- Build the workspace:
cd ~/mandeye_ws
catkin_make
To convert Mandeye data, run the following command:
rosrun mandeye_to_rosbag1 mandeye_to_rosbag /media/michal/F318-56A3/continousScanning_0000 /home/michal/testPalka.bag
Make sure to replace /media/michal/F318-56A3/continousScanning_0000
with the path to your Mandeye data and /home/michal/testPalka.bag
with the path to your desired output ROSBag file.
To use the tool with FAST-LIO, follow these steps:
- Launch FAST-LIO in the first terminal (make sure that your workspace is sourced):
roslaunch fast_lio mapping_avia.launch
- Play the converted ROSBag in the second terminal:
rosbag play /home/michal/testPalka.bag
Note: Replace /home/michal/testPalka.bag
with the path to your converted ROSBag file.