-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2739582
commit 7922e4f
Showing
10 changed files
with
253 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
147 changes: 147 additions & 0 deletions
147
mad_icp/configurations/datasets/dataset_configurations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
# Copyright 2024 R(obots) V(ision) and P(erception) group | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright notice, | ||
# this list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright notice, | ||
# this list of conditions and the following disclaimer in the documentation | ||
# and/or other materials provided with the distribution. | ||
# | ||
# 3. Neither the name of the copyright holder nor the names of its contributors | ||
# may be used to endorse or promote products derived from this software | ||
# without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
# POSSIBILITY OF SUCH DAMAGE. | ||
|
||
from enum import Enum | ||
|
||
hilti_2021_conf = { | ||
"min_range": 0.7, | ||
"max_range": 100, | ||
"sensor_hz": 10, | ||
"deskew": False, | ||
"rosbag_topic": "/os_cloud_node/points", | ||
"lidar_to_base": [ | ||
[1, 0.0025, -0.0065, 0.0100], | ||
[0.0025, -1, 0.0003, -0.0066], | ||
[-0.0065, -0.0003, -1, 0.0947], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
kitti_conf = { | ||
"min_range": 0.7, | ||
"max_range": 120, | ||
"sensor_hz": 10, | ||
"deskew": False, | ||
"apply_correction": True, | ||
"lidar_to_base": [ | ||
[-0.7071, -0.7071, 0, -0.0843], | ||
[0.7071, -0.7071, 0, -0.0250], | ||
[0, 0, 1, 0.0502], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
mulran_conf = { | ||
"min_range": 0.7, | ||
"max_range": 120, | ||
"sensor_hz": 10, | ||
"deskew": True, | ||
"lidar_to_base": [ | ||
[-1, -0.0058, 0, 1.7042], | ||
[0.0058, -1, 0, -0.0210], | ||
[0, 0, 1, 1.8047], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
newer_college_os0_conf = { | ||
"min_range": 0.7, | ||
"max_range": 50, | ||
"sensor_hz": 10, | ||
"deskew": False, | ||
"rosbag_topic": "/os_cloud_node/points", | ||
"lidar_to_base": [ | ||
[1, 0, 0, 0.001], | ||
[0, 1, 0, 0], | ||
[0, 0, 1, 0.090683], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
newer_college_os1_conf = { | ||
"min_range": 0.7, | ||
"max_range": 120, | ||
"sensor_hz": 10, | ||
"deskew": False, | ||
"rosbag_topic": "/os1_cloud_node/points", | ||
"lidar_to_base": [ | ||
[-0.7071, -0.7071, 0, -0.0843], | ||
[0.7071, -0.7071, 0, -0.0250], | ||
[0, 0, 1, 0.0502], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
vbr_os0_conf = { | ||
"min_range": 0, | ||
"max_range": 50, | ||
"sensor_hz": 10, | ||
"deskew": False, | ||
"rosbag_topic": "/ouster/points", | ||
"lidar_to_base": [ | ||
[1, 0, 0, 0], | ||
[0, 1, 0, 0], | ||
[0, 0, 1, 0], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
vbr_os1_conf = { | ||
"min_range": 1.3, | ||
"max_range": 120, | ||
"sensor_hz": 20, | ||
"deskew": True, | ||
"rosbag_topic": "/ouster/points", | ||
"lidar_to_base": [ | ||
[1, 0, 0, 0], | ||
[0, 1, 0, 0], | ||
[0, 0, 1, 0], | ||
[0, 0, 0, 1] | ||
] | ||
} | ||
|
||
class DatasetConfiguration(str, Enum): | ||
hilti_2021 = "hilti_2021", | ||
kitti = "kitti", | ||
mulran = "mulran", | ||
newer_college_os0 = "newer_college_os0", | ||
newer_college_os1 = "newer_college_os1", | ||
vbr_os0 = "vbr_os0", | ||
vbr_os1 = "vbr_os1" | ||
# Can insert additional dataset configurations | ||
|
||
|
||
DatasetConfiguration_lut = { | ||
DatasetConfiguration.hilti_2021: hilti_2021_conf, | ||
DatasetConfiguration.kitti: kitti_conf, | ||
DatasetConfiguration.mulran: mulran_conf, | ||
DatasetConfiguration.newer_college_os0: newer_college_os0_conf, | ||
DatasetConfiguration.newer_college_os1: newer_college_os1_conf, | ||
DatasetConfiguration.vbr_os0: vbr_os0_conf, | ||
DatasetConfiguration.vbr_os1: vbr_os1_conf | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# newer college os0-64 params | ||
# Hilti 2021 os0-64 params | ||
min_range : 0.7 | ||
max_range : 100 | ||
sensor_hz : 10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# newer college os0-128 params | ||
# Newer College os0-128 params | ||
min_range : 0.7 | ||
max_range : 50 | ||
sensor_hz : 10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# newer college os1-64 params | ||
# Newer College os1-64 params | ||
min_range : 0.7 | ||
max_range : 120 | ||
sensor_hz : 10 | ||
|
4 changes: 2 additions & 2 deletions
4
mad_icp/configurations/params.cfg → mad_icp/configurations/default.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# mad-icp params | ||
# mad-icp default params | ||
b_max : 0.2 # [m] max size of kd leaves | ||
b_min : 0.1 # [m] when a node is flatten than this param, propagate normal | ||
b_ratio : 0.02 # the increase factor of search radius needed in data association | ||
p_th : 0.8 # [%] ensuring an update when the curr point cloud is registered less than this param | ||
rho_ker : 0.1 # huber threshold in mad-icp | ||
n : 10 # the number of last poses to smooth velocity | ||
n : 10 # the number of last poses to smooth velocity |
Oops, something went wrong.