@@ -16,7 +16,7 @@ This is ROS package of Patchwork++ (@ IROS'22), which is a fast and robust groun
1616* Demo launch file ([demo.launch][launchlink]) with sample rosbag file. You can execute Patchwork++ simply!
1717
1818[codelink]: https://github.com/url-kaist/patchwork-plusplus-ros/blob/master/include/patchworkpp/patchworkpp.hpp
19- [launchlink]: https://github.com/url-kaist/patchwork-plusplus-ros/blob/master /launch/demo.launch
19+ [launchlink]: https://github.com/url-kaist/patchwork-plusplus-ros/blob/ROS2 /launch/demo.launch.py
2020
2121## :package: Prerequisite packages
2222You may need to install ROS, PCL, Eigen, ...
@@ -31,17 +31,33 @@ $ colcon build --packages-select patchworkpp --symlink-install
3131```
3232
3333## :runner: To run the demo codes
34- There is a demo which executes Patchwork++ with sample rosbag file. You can download a sample file with the following command.
35- > download Kitti dataset for ros2 [kittiRos2link]: https://github.com/umtclskn/ros2_kitti_publishers/tree/main
34+ There is a demo which executes Patchwork++ with sample rosbag2 (mcap) file. You can download a sample file with the following command.
35+
36+ > [!TIP]
37+ > Download a sample dataset for ros2: [mcap file download [~540MB] ](https://laesze-my.sharepoint.com/:u:/g/personal/herno_o365_sze_hu/Eclwzn42FS9GunGay5LPq-EBA6U1dZseBFNDrr6P0MwB2w?download=1)
38+
39+
40+ <details>
41+ <summary> Don't forget to source before ROS commands.</summary>
42+
43+ ``` bash
44+ source ~/ros2_ws/install/setup.bash
45+ ```
46+ </details>
3647
3748Then, you can run demo as follows.
3849```bash
3950# Start Patchwork++
40- $ ros2 launch patchworkpp demo.launch
51+ $ ros2 launch patchworkpp demo.launch.py cloud_topic:=/lexus3/os_center/points cloud_frame:=lexus3/os_center_a_laser_data_frame
4152# Start the bag file
42- $ ros2 bag play kitti_00_sample.db3
53+ $ ros2 bag play ~/Downloads/lexus3-2024-04-05-gyor.mcap --loop
54+ # Start visualization
55+ $ ros2 launch patchworkpp rviz1.launch.py
4356```
4457
58+ > [!WARNING]
59+ > You may need to install mcap support for pre-iron ROS2: `sudo apt install ros-humble-rosbag2-storage-mcap`
60+
4561## :pushpin: TODO List
4662- [ ] Update additional demo codes processing data with .bin file format
4763- [ ] Generalize point type in the source code
0 commit comments