Skip to content

Commit 7f35cb0

Browse files
committed
Merge branch 's2025_teamA' of github.com:krishauser/GEMstack into s2025_teamA
2 parents bc12bdd + 7e69ce7 commit 7f35cb0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

GEMstack/offboard/calibration/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Set up on vehicle:
1111

1212
Script usage:
1313

14-
python3 capture_ouster_oak.py
14+
python3 capture_ouster_oak.py
1515

1616
1. To specify directory to save data, use --folder "path to save location" (default save folder is data)
1717
2. To specify frequency of data capture, use --frequency put_frequency_in_hz_here (default is 2 hz)
@@ -48,7 +48,7 @@ This section explains tools for offline calibration of LiDAR and camera sensors
4848

4949
Our script assumes data is formated as: colorx.png, lidarx.npz, depthx.tif where x is some index number. x is chosen using the --index flag seen below. Set it based on what data sample you want to use for calibration.
5050

51-
python3 lidar_to_vehicle.py --data_path "path to data folder" --index INDEX_NUM
51+
python3 lidar_to_vehicle.py --data_path "path to data folder" --index INDEX_NUM
5252

5353
Optionally, use --vis flag for visualizations throughout the computation process
5454

@@ -63,7 +63,7 @@ Optionally, use --vis flag for visualizations throughout the computation process
6363
1. Get camera intrinsics:
6464
rosrun offboard\calibration\camera_info.py # Prints intrinsic matrix
6565
2. Update camera_in in script with intrinsics
66-
3. Our script assumes data is formated as: colorx.png, lidarx.npz, depthx.tif where x is some index number. Choose x depending on what data sample you want to use for calibration.
66+
3. Our script assumes data is formated as: colorx.png, lidarx.npz, depthx.tif where x is some index number. x is chosen using the --index flag seen below. Set it based on what data sample you want to use for calibration.Choose x depending on what data sample you want to use for calibration.
6767

6868
The script also reads the lidar_to_vehicle matrix from the gem_e4_ouster.yaml file so ensure that is up to date.
6969
4. Run calibration:
@@ -86,7 +86,13 @@ python3 lidar_to_camera.py # Ensure T_lidar_vehicle and T_camera_vehicle matri
8686
**3D Alignment Check**:
8787
1. Use vis() function in scripts to view calibrated LiDAR/camera clouds
8888
2. Use --vis flag when running lidar_to_vehicle.py for ground plane/object visualization
89-
3. Use test_transforms.py to visualize lidar point cloud on top of png image. Helps verify accuracy of lidar->camera.
89+
3. Use test_transforms.py to visualize the transformed lidar point cloud to camera frame on top of the corresponding png image. Helps verify accuracy of lidar->camera.
90+
91+
Usage of test_transforms.py:
92+
```
93+
python3 test_transforms.py --data_path "path to data folder" --index INDEX_NUM
94+
```
95+
Data path is the directory where lidar npz and color png files are located, index number is whichever lidar/png pair you want to evaluate. Ex. lidar1.npz color1.png where INDEX_NUM is 1 (--index 1)
9096

9197
**Projection Validation**:
9298
1. RGB image overlaid with transformed LiDAR points (Z-buffered)

0 commit comments

Comments
 (0)