Skip to content

Commit

Permalink
modify xrslam-test
Browse files Browse the repository at this point in the history
  • Loading branch information
huanggan52 committed Jan 15, 2024
1 parent 3bbe63f commit e76be16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/en/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We run our algorithm on EuRoC dataset on Ubuntu18.04 and macOS 10.14. And make c

**XRSLAM** showed significant improvements on many sequences on EuRoC dataset. **XRSLAM(w/ RD)** adopts a dynamic object removal strategy, which can be enabled in the configuration parameter `parsac_flag`. As shown in the following tables, the best results for visual-inertial algorithms are bolded. Comparing with other systems, Thanks to the additional stabilization effect, the significant drifts are canceled when using the subframe strategy in our system.

As a challenging dataset in real-world settings, ADVIO offers 23 diverse scenarios, encompassing indoor and outdoor environments, varying lighting conditions, and dynamic elements such as pedestrians and vehicles. Aided with the dynamic object removal scheme, XRSLAM(w. RD) showed significantly better RMSEs on ADVIO dataset.
As a challenging dataset in real-world settings, ADVIO offers 23 diverse scenarios, encompassing indoor and outdoor environments, varying lighting conditions, and dynamic elements such as pedestrians and vehicles. Aided with the dynamic object removal scheme, XRSLAM(w/ RD) showed significantly better RMSEs on ADVIO dataset.

**Tracking Accuracy (RMSE in meters) on the EuRoC Dataset.**
| Algorithm | MH-01 | MH-02 | MH-03 | MH-04 | MH-05 | V1-01 | V1-02 | V1-03 | V2-01 | V2-02 | V2-03 | AVG |
Expand Down
2 changes: 1 addition & 1 deletion docs/en/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Download data from the file server, and extract files to `$PROJECT/xrslam-test/d

```bash
cd xrslam/
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
cmake -B build -D XRSLAM_TEST=ON && cmake --build build -j8
```

## Run
Expand Down
8 changes: 6 additions & 2 deletions xrslam-test/test/src/test_feature_track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ TEST(test_feature_track, feature_track) {
device_config_path);
frame->K = yaml_config->camera_intrinsic();
frame->image = read_image(filename1);
frame->image->preprocess();
frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
yaml_config->feature_tracker_clahe_width(),
yaml_config->feature_tracker_clahe_height());
frame->detect_keypoints(yaml_config.get());

ASSERT_EQ(frame->keypoint_num(), 164);
Expand All @@ -45,7 +47,9 @@ TEST(test_feature_track, feature_track) {
std::unique_ptr<Frame> curr_frame = std::make_unique<Frame>();
curr_frame->K = yaml_config->camera_intrinsic();
curr_frame->image = read_image(filename2);
curr_frame->image->preprocess();
curr_frame->image->preprocess(yaml_config->feature_tracker_clahe_clip_limit(),
yaml_config->feature_tracker_clahe_width(),
yaml_config->feature_tracker_clahe_height());
last_frame->track_keypoints(curr_frame.get(), yaml_config.get());

ASSERT_FALSE(curr_frame->tag(FT_NO_TRANSLATION));
Expand Down

0 comments on commit e76be16

Please sign in to comment.