Skip to content

Commit 1c0991a

Browse files
committed
docs(header): update all header
1 parent 5bf295a commit 1c0991a

13 files changed

Lines changed: 159 additions & 180 deletions

scripts/cpp/create_rawmap.cpp

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
/**
2-
* Copyright (C) 2022-now, RPL, KTH Royal Institute of Technology
3-
* MIT License
4-
* Author: Kin ZHANG (https://kin-zhang.github.io/)
5-
* Date: 2023-04-04 18:29
6-
* Description: extract pcd file and also insert the pose in PCD VIEWPOINT Field
7-
* So that we don't need pose.csv file etc.
2+
* @date: 2023-04-04 18:29
3+
* @author: Qingwen Zhang(https://kin-zhang.github.io/)
4+
* Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
85
*
9-
* Input: PCD files with pose in PCD VIEWPOINT Field
10-
* Output: raw map pcd file
6+
* @details: extract pcd file and also insert the pose in PCD VIEWPOINT Field
7+
* So that we don't need pose.txt, pose.csv file etc.
8+
* Input: PCD files with pose in PCD VIEWPOINT Field
9+
* Output: raw map pcd file
10+
*
11+
* This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
12+
* If you find this repo helpful, please cite the respective publication as
13+
* listed on the above website.
1114
*/
1215

1316
#include <pcl/io/pcd_io.h>

scripts/cpp/export_eval_pcd.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
/**
2-
* Copyright (C) 2022-now, RPL, KTH Royal Institute of Technology
3-
* MIT License
4-
* @author: Kin ZHANG (https://kin-zhang.github.io/)
52
* @date: 2023-04-12 18:14
6-
* @details: TODO
3+
* @author: Qingwen Zhang(https://kin-zhang.github.io/)
4+
* Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
75
*
8-
* Input: Algorithm Result PCD file, and GT PC file
9-
* Output: raw map pcd file with label 0/1
6+
* @details:
7+
* Input: Algorithm Result PCD file, and GT PC file
8+
* Output: point-level map pcd file with label 0/1
9+
*
10+
* This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
11+
* If you find this repo helpful, please cite the respective publication as
12+
* listed on the above website.
1013
*/
1114

1215
#include <pcl/io/pcd_io.h>

scripts/cpp/extract_gtcloud.cpp

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
/**
2-
* Copyright (C) 2022-now, RPL, KTH Royal Institute of Technology
3-
* MIT License
4-
* Author: Kin ZHANG (https://kin-zhang.github.io/)
5-
* Date: 2023-03-28 21:10
6-
* Description: extract the ground truth kitti dataset
7-
* set intensity to 0 for static
8-
* set intensity to 1 for dynamic
2+
* @date: 2023-03-28 21:10
3+
* @author: Qingwen Zhang(https://kin-zhang.github.io/)
4+
* Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
5+
*
6+
* @details: extract the *downsampled* ground truth map in kitti dataset
7+
* set intensity to 0 for static
8+
* set intensity to 1 for dynamic
9+
*
10+
* This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
11+
* If you find this repo helpful, please cite the respective publication as
12+
* listed on the above website.
913
*/
1014

15+
1116
#include <iostream>
1217
#include <string>
1318
#include <fstream>

scripts/cpp/pcds_to_rosbag.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
/**
2-
* Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
3-
* MIT License
4-
* @author: Kin ZHANG (https://kin-zhang.github.io/)
52
* @date: 2023-12-16 22:20
6-
* @details: Translate our pcds to rosbag
3+
* @author: Qingwen Zhang(https://kin-zhang.github.io/)
4+
* Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
75
*
8-
* Input: DynamicMap Benchmark Dataset format, check our repo: https://github.com/KTH-RPL/DynamicMap_Benchmark
9-
* Output: a rosbag file with PointCloud2 messages [already transformed to world frame.] and Odometry messages
6+
* @details: Translate our pcds to rosbag
7+
* Input: DynamicMap Benchmark Dataset format, check our repo: https://github.com/KTH-RPL/DynamicMap_Benchmark
8+
* Output: a rosbag file with PointCloud2 messages [already transformed to world frame.] and Odometry messages
109
*
1110
* Example run: ./build/pcds_to_rosbag /home/kin/bags/231209/clean_pcd /home/kin/test/mybag.bag
11+
*
12+
* This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
13+
* If you find this repo helpful, please cite the respective publication as
14+
* listed on the above website.
1215
*/
1316

1417
#include <iostream>

scripts/py/data/extract_argoverse2.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11

2-
# Created: 2023-04-17 18:05
3-
# @Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
4-
# @Author: Kin ZHANG (https://kin-zhang.github.io/)
5-
# @Detail: This script is used to extract the point cloud data from AV2 dataset.
6-
# Check more argoverse dataset here: https://www.argoverse.org/av2.html#lidar-link
2+
"""
3+
# @date: 2023-04-17 18:05
4+
# @author: Qingwen Zhang (https://kin-zhang.github.io/)
5+
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
76
#
8-
# If you find this repo helpful, please cite the respective publication in DynamicBenchmark.
9-
# This script is licensed under the terms of the MIT license.
10-
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
# @detail: Extract the point cloud data from AV2 dataset.
8+
# Check more Argoverse dataset here: https://www.argoverse.org/av2.html#lidar-link
9+
#
10+
# This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
11+
# If you find this repo helpful, please cite the respective publication as
12+
# listed on the above website.
13+
"""
14+
15+
1116

1217

1318
import numpy as np

scripts/py/data/extract_diff_pose.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
'''
2-
# Created: 2024-01-22 17:35
3-
# Copyright (C) 2024-now, RPL, KTH Royal Institute of Technology
4-
# Author: Qingwen ZHANG (https://kin-zhang.github.io/)
5-
#
6-
# If you find this repo helpful, please cite the respective publication in DynamicBenchmark.
7-
# This script is licensed under the terms of the MIT license.
8-
# For a copy, see <https://opensource.org/licenses/MIT>.
2+
# @date: 2024-01-22 17:35
3+
# @author: Qingwen Zhang (https://kin-zhang.github.io/)
4+
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
95
#
10-
# Description: extract different poses result:
6+
# @detail: Extract different poses result:
117
# 1. from the SemanticKITTI (with SuMa more detail: https://github.com/PRBonn/semantic-kitti-api/issues/140
128
# 2. from the kiss-icp result (with kiss-icp more detail: https://github.com/PRBonn/kiss-icp/issues/267
139
# 3. from the KITTI odometry dataset (with KITTI more detail: https://www.cvlibs.net/datasets/kitti/eval_odometry.php
10+
#
11+
# This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
12+
# If you find this repo helpful, please cite the respective publication as
13+
# listed on the above website.
1414
'''
1515

1616

scripts/py/data/extract_semkitti.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
'''
2-
# @created: 2023-04-04 21:44
2+
# @date: 2023-04-04 21:44
33
# @updated: 2024-03-27 10:12
44
# @author: Qingwen Zhang (https://kin-zhang.github.io/)
5-
#
65
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
7-
# If you find this repo helpful, please cite the respective publication in DynamicBenchmark.
86
#
7+
# @detail: Extract data from SemanticKITTI to benchmark format.
8+
#
9+
# This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
10+
# If you find this repo helpful, please cite the respective publication as
11+
# listed on the above website.
912
'''
1013

1114
import sys, os

scripts/py/data/play_data.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
'''
2+
# @date: 2024-07-25 17:29
3+
# @author: Qingwen Zhang (https://kin-zhang.github.io/)
4+
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
5+
#
6+
# @detail: Play data with interactive viewer.
7+
#
8+
# This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
9+
# If you find this repo helpful, please cite the respective publication as
10+
# listed on the above website.
11+
'''
12+
113
import sys, os
214
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..' ))
315
sys.path.append(BASE_DIR)
@@ -53,15 +65,15 @@ def __getitem__(self, index_):
5365
return res_dict
5466

5567
def vis(
56-
data_dir: str = "/home/kin/data/Dynamic_Papers_assets/Benchmark_data/00",
68+
data_dir: str = "/home/kin/DATA_HDD/Dynamic_Papers_assets/Benchmark_data/00",
5769
view_file: str = os.path.abspath(BASE_DIR+"/../../assets/view/default.json"),
58-
point_size: int = 2,
70+
point_size: int = 3,
5971
speed: int = 1,
6072
):
6173
o3d_vis = MyVisualizer(view_file=view_file, window_title="DynamicMap Benchmark Data Preview")
6274
opt = o3d_vis.vis.get_render_option()
6375
# opt.background_color = np.asarray([216, 216, 216]) / 255.0
64-
opt.background_color = np.asarray([80/255, 90/255, 110/255])
76+
# opt.background_color = np.asarray([80/255, 90/255, 110/255])
6577
# opt.background_color = np.asarray([1, 1, 1])
6678
opt.point_size = point_size
6779
dataset = DynamicMapData(data_dir)
@@ -72,6 +84,7 @@ def vis(
7284

7385
pcd = o3d.geometry.PointCloud()
7486
pcd.points = o3d.utility.Vector3dVector(data['pc'][:, :3])
87+
# print(data['pc'].shape)
7588
o3d_vis.update([pcd, o3d.geometry.TriangleMesh.create_coordinate_frame(size=1)])
7689
time.sleep(0.05*1/speed)
7790

scripts/py/eval/evaluate_all.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11

22
'''
3-
# Created: 2023-04-16 18:03
4-
# @Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
5-
# @Author: Kin ZHANG (https://kin-zhang.github.io/)
6-
7-
# If you find this repo helpful, please cite the respective publication in DynamicBenchmark.
8-
# This script is licensed under the terms of the MIT license.
9-
# For a copy, see <https://opensource.org/licenses/MIT>.
3+
# @date: 2023-04-16 18:03
4+
# @author: Qingwen Zhang (https://kin-zhang.github.io/)
5+
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
6+
#
7+
# @detail: Evaluate result and print score
8+
#
9+
# This file is part of DynamicMap_Benchmark (https://github.com/KTH-RPL/DynamicMap_Benchmark).
10+
# If you find this repo helpful, please cite the respective publication as
11+
# listed on the above website.
1012
'''
1113

1214
import numpy as np

scripts/py/eval/figure_plot.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"source": [
2929
"# Created: 2023-05-11 22:35\n",
3030
"# @Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology\n",
31-
"# @Author: Kin ZHANG (https://kin-zhang.github.io/)\n",
31+
"# @Author: Qingwen Zhang (https://kin-zhang.github.io/)\n",
3232
"\n",
3333
"# If you find this repo helpful, please cite the respective publication in DUFOMap.\n",
3434
"# This script is licensed under the terms of the MIT license.\n",

0 commit comments

Comments
 (0)