File tree 2 files changed +17
-6
lines changed
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 35
35
You should not need any extra dependency, just clone and build:
36
36
37
37
``` sh
38
+ mkdir -p ~ /ros2_ws/src
38
39
git clone https://github.com/url-kaist/patchwork-plusplus.git
40
+ cd ~ /ros2_ws
39
41
colcon build --packages-select patchworkpp
40
42
source ./install/setup.bash
41
43
```
42
44
43
- ### How to run
45
+ ## :runner : To run the demo codes
46
+ There is a demo that executes Patchwork++ with a sample rosbag2 (mcap) file. You can download a sample file using the following command.
47
+
48
+ > [ !TIP]
49
+ > Please install mcap library as follows:
50
+ >
51
+ > sudo apt install ros-humble-rosbag2-storage-mcap
52
+ >
53
+ > Then, 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 )
54
+
44
55
45
56
The only required argument to provide is the ** topic name** so Patchwork++ knows which PointCloud2 to process:
46
57
47
58
``` sh
48
- ros2 launch patchworkpp.launch.py visualize:=false use_sim_time:=true topic :=/lexus3/os_center/points base_frame:=lexus3/os_center_a_laser_data_frame
59
+ ros2 launch patchworkpp patchworkpp .launch.py visualize:=true use_sim_time:=true cloud_topic :=/lexus3/os_center/points base_frame:=lexus3/os_center_a_laser_data_frame
49
60
```
50
61
51
- and then,
62
+ and then, play rosbag as follows:
52
63
53
64
```
54
65
ros2 bag play lexus3-2024-04-05-gyor.mcap --loop
55
66
```
56
67
57
- ``` sh
58
- rviz2 -d patchworkpp.rviz
59
- ```
68
+ Consequently, we can see the results in Rviz:
69
+
70
+ ![ img ] ( ../pictures/patchwork2_in_ros2.gif )
60
71
You can’t perform that action at this time.
0 commit comments