Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,26 @@ the same output directory and sequence name overwrites those trajectory files.

---

### NCLT dataset

A shared HDL-32E/MS25 configuration is available for **2012-01-15, 2012-04-29
and 2012-05-11**. After building this source revision, export it and run a
prepared ROS bag:

```bash
genz_lio_pipeline export-config experiments/nclt/hdl32_nclt.yaml configs/nclt.yaml
genz_lio_pipeline run "{path_to_bag}/{sequence}.bag" \
--config configs/nclt.yaml --output "results/{sequence}"
```

Add `--visualize` to open the visualizer. See the
[NCLT input and evaluation notes](../ros/README.md#nclt-dataset) for downloads,
sensor frames, timing, and results. The CLI accepts prepared bags, not NCLT's
raw `.bin`/`.csv` files directly. Existing PyPI releases do not include this new
configuration; use a source build until a release contains it.

---

### Input options

Inspect point counts and timing for recordings with one LiDAR and one IMU topic:
Expand Down
41 changes: 41 additions & 0 deletions ros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,47 @@ ros2 bag record -o genz_output /Odometry /tf /tf_static

---

### NCLT dataset

[Download NCLT](https://robots.engin.umich.edu/nclt/).
Use [experiments/nclt/hdl32_nclt.yaml](config/experiments/nclt/hdl32_nclt.yaml)
as a shared configuration for **2012-01-15, 2012-04-29 and 2012-05-11**
(Velodyne HDL-32E and Microstrain MS25). Pass its path as `config:=...`
to the ROS 1 or ROS 2 launch command above. Adjust `common.lidar_topic` and
`common.imu_topic` to match your prepared bag; the defaults are
`/velodyne_points` and `/imu/data`.

Prepare PointCloud2 scans from raw `velodyne_hits.bin` in the original LiDAR
frame, retaining ring IDs and point timing, and IMU messages from `ms25.csv`
in the original IMU axes (acceleration in m/s², angular velocity in rad/s).
The calibration comes from [NCLT Table 4](https://robots.engin.umich.edu/nclt/nclt.pdf):
`T_I_L = inverse(T_B_I) * T_B_L`, with translation `[0.112, 0.176, -0.247]` m.
If your converter rotates or translates either sensor stream, adapt the
extrinsics accordingly. The provided `velodyne_sync` clouds are already motion
compensated and expressed in the body frame; they are not the raw input for
this configuration.

The shared configuration was evaluated offline through Python with visualization
disabled and the voxel-map memory optimization:

| Sequence | Position ATE RMSE (m) | Peak process RSS (GiB) | Processing time (s) |
|---|---:|---:|---:|
| 2012-01-15 | 1.764 | 14.78 | 4258.2 |
| 2012-04-29 | 1.563 | 12.48 | 1615.1 |
| 2012-05-11 | 2.105 | 12.14 | 3069.4 |

These runs grouped raw packets into approximately 100 ms scans and assigned
packet-end UTIME to their points, without reconstructing intra-packet firing
times. Evaluation shifts ground-truth positions from the Segway body origin to
the IMU origin using `p_WI = p_WB + R_WB * [-0.11, -0.18, -0.71]`, interpolates
estimated positions at valid ground-truth timestamps (maximum interpolation gap
0.25 s), and applies SE(3) alignment with scale fixed to one. The same settings
were used for all three full recordings. Processing times are measured without
playback throttling and depend on hardware; bag conversion and timing conventions
can also affect the trajectory.

---

### Convert ROS 1 bags to ROS 2

Use [rosbags-convert](https://ternaris.gitlab.io/rosbags/topics/convert.html)
Expand Down
90 changes: 90 additions & 0 deletions ros/config/experiments/nclt/hdl32_nclt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# NCLT: shared settings for 2012-01-15, 2012-04-29 and 2012-05-11.
# Velodyne HDL-32E + Microstrain MS25, using original sensor-frame measurements.
# Topics below are defaults for a prepared bag; adapt them to your converter.
# extrinsic_r / extrinsic_t map LiDAR coordinates into the IMU frame:
# T_I_L = inverse(T_B_I) * T_B_L, from NCLT Table 4.
# https://robots.engin.umich.edu/nclt/nclt.pdf
# Do not apply this transform unchanged to body-frame or pre-deskewed clouds.
# Input preparation and evaluation conventions: ros/README.md#nclt-dataset

common:
lidar_topic: /velodyne_points
imu_topic: /imu/data
time_offset: 0.0
qos_reliability: reliable
qos_depth: 1000

runtime:
max_threads: 0

preprocess:
lidar_type: velodyne
scan_line: 32
scan_rate: 10
blind_min: 0.5
blind_max: 100.0
point_filter_num: 1

mapping:
max_iteration: 4
down_sample_size: 0.25
voxel_size: 1.0
max_layer: 4
layer_point_size: [5, 5, 5, 5, 5]
planar_threshold: 0.0005
sigma_num: 3.0
max_points_size: 100
max_mature_points_size: 100
map_range: 250.0
extrinsic_est_en: false
extrinsic_t: [0.112, 0.176, -0.247]
extrinsic_r: [-0.012269305293715671, 0.9998250461596709, -0.014118825001462157,
-0.9999205319091498, -0.012308942481015828, -0.0027239312624388204,
-0.0028972425050461884, 0.014084282261136283, 0.9998966141452106]

adaptive_voxelization:
enable: true
window_size: 5
scale_threshold: 30.0
setpoint_exponent: 2
min_points: 1000
max_points: 4000
error_sensitivity: 0.1
error_rate_sensitivity: 0.2
p_gain_min: 5.0e-06
p_gain_max: 5.0e-05
d_gain_min: 5.0e-08
d_gain_max: 5.0e-07

hybrid_metric:
enable: true
lambda_po: 0.05
sigma_num: 3.0
max_points_per_voxel: 128
reduction_ratio: 4
adaptive_threshold:
initial_threshold: 0.5
max_range_motion: 100.0

noise_model:
ranging_cov: 0.04
angle_cov: 0.1
acc_cov: 0.001
gyr_cov: 0.005
b_acc_cov: 0.0001
b_gyr_cov: 1.0e-05

publish:
terminal_status_en: false
path_en: true
scan_publish_en: true
dense_publish_en: false
scan_bodyframe_pub_en: false
scan_semantic_publish_en: true
voxel_map_en: false
voxel_map_max_layer: 1

pcd_save:
enable: false
interval: -1
directory: ''
Loading