Skip to content

CID-SIMS support - #1676

Merged
matlabbe merged 3 commits into
masterfrom
cidsims_support
Mar 28, 2026
Merged

matlabbe merged 3 commits into
masterfrom
cidsims_support

Conversation

@matlabbe

@matlabbe matlabbe commented Mar 23, 2026 •

Copy link
Copy Markdown
Member

Example:

Usage:
rtabmap-cidsims_dataset [options] path
  path               Folder of the sequence (e.g., "~/apartment1_1")
                        containing color, depth, groundtruth.txt, imu.txt and odom.txt.
  --output           Output directory. By default, results are saved in "path".
  --output_name      Output database name (default "rtabmap").
  --max_time_diff #.#  Maximum time difference with frame to attribute a valid odometry and/or ground truth pose (default 0.1 s).
  --quiet            Don't show log messages and iteration updates.
  --use_imu          Use IMU.
  --gt               Record ground truth.
  --odom             Use wheel odometry as input guess to visual odometry.
  --imu #            Use IMU and set filter: 0=madgwick, 1=complementary.
  --quiet            Don't show log messages and iteration updates

Example:

   $ rtabmap-cidsims_dataset \
       --Rtabmap/DetectionRate 2\
       --RGBD/OptimizeMaxError 5\
       --Mem/STMSize 30\
       --gt\
       --odom\
       --imu 1\
       ~/apartment1_1

[...]
Iteration 9154/9159: camera=6ms, odom(quality=267/757, kfs=2531)=35ms, slam=0ms, rmse=0.054460m
Iteration 9155/9159: camera=6ms, odom(quality=255/806, kfs=2531)=36ms, slam=0ms, rmse=0.054460m
Iteration 9156/9159: camera=6ms, odom(quality=270/794, kfs=2531)=36ms, slam=0ms, rmse=0.054460m
Iteration 9157/9159: camera=6ms, odom(quality=265/801, kfs=2531)=37ms, slam=0ms, rmse=0.054460m
Iteration 9158/9159: camera=6ms, odom(quality=252/763, kfs=2531)=36ms, slam=0ms, rmse=0.054460m
Iteration 9159/9159: camera=6ms, odom(quality=260/799, kfs=2531)=36ms, slam=0ms, rmse=0.054460m
Total time=407.025851s
Saving trajectory...
Saving ~/apartment1_1/rtabmap_poses.txt... done!
   translational_rmse=   0.054478 m
   rotational_rmse=      5.612660 deg
Screenshot from 2026-03-22 22-20-24

Current issues:

  • It seems the ground truth poses are those from the camera, not base frame. To make the RMSE computation works, we have to remove the translation from the base->cam transform.
  • odom.txt looks mostly useless as is, not sure why Z vlaues vary over time. I re-compute wheel odometry by default if option --odom is set.
  • The base->cam transform doesn't include the tilt of the camera while it is, so we cannot do experiments with Reg/Force3DoF even if the floor looks mostly flat.

@matlabbe
matlabbe marked this pull request as ready for review March 23, 2026 05:55
@matlabbe
matlabbe merged commit f94a963 into master Mar 28, 2026
9 checks passed
@matlabbe
matlabbe deleted the cidsims_support branch March 28, 2026 21:33
matlabbe added a commit that referenced this pull request Mar 29, 2026
Fixed computeError

CID-SIMS support (#1676)

* cid-sims dataset support

* Added cli tool to test CID-SIMS dataset

* removed debug log

don't fix root id roll/pitch if gravity constraints are fed (SBA)

changed number_t to double

forward compatibility

cleanup

log

rtabmap-matcher: Added option to recfify raw images for convenience (#1663)

Cudasift tuning and SSC supporting multicameras (#1677)

* CudaSIFT: filter doubles

* removed fixed threshold

* SSC can be used with multicameras. Refactored CudaSIFT to support SSC. Add new parameter SIFT/MaxGaussianThreshold. DbViewer: show negative features with gray color (so that we can know which features are in the vocabulary)

* Added SIFT/MaxGaussianThreshold parameter

* Updated parameter description

Updated CI status

split cmake workflow in linux and windows

OptimizerG2O: adding support for priors in SBA (#1670)

* OptimizerG2O: adding support for priors in SBA

* Fixed computeError

* don't fix root id roll/pitch if gravity constraints are fed (SBA)

* changed number_t to double

* forward compatibility

* cleanup

* log

bump release badge version

uniformize name

fixing android build

Update CI badges (#1681)

* OptimizerG2O: adding support for priors in SBA

* Fixed computeError

* don't fix root id roll/pitch if gravity constraints are fed (SBA)

* changed number_t to double

* forward compatibility

* cleanup

* log

* Updated CI status

* split cmake workflow in linux and windows

* bump release badge version

* uniformize name

* fixing android build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant