Repository navigation
Move the interpolation caches to ENU along with the state at GPS init - #134
Open
woosik2510 wants to merge 1 commit into
Open
woosik2510 wants to merge 1 commit into
woosik2510 wants to merge 1 commit into
Conversation
Unit Test Results
10/10 test binaries passed, 147/147 cases |
Unit Test Code Coverage
Overall 37.0% (3733/10080) across Full HTML report is in the |
Simulation regression report - master vs PR8 seeds/config, sim full
stereo_gps
vicon
vicon_lidar
vio_stereo
wheel_2d_ang
wheel_2d_cen
wheel_2d_lin
wheel_3d_ang
wheel_3d_cen
wheel_3d_lin
|
Calibration Convergence Report10 seeds · sim
Per-parameter details✅ Camera Time Offset
✅ Camera Extrinsic (IMU↔Cam)
✅ Camera Intrinsics
✅ GPS Time Offset
✅ GPS Extrinsic (IMU↔GPS)
✅ GPS World-to-ENU Init (one-shot)
✅ LiDAR Time Offset
✅ LiDAR Extrinsic (IMU↔LiDAR)
✅ Vicon Time Offset
✅ Vicon Extrinsic (IMU↔Vicon)
✅ Wheel Time Offset
✅ Wheel Extrinsic (IMU↔Wheel)
✅ Wheel Intrinsics (Wheel2DAng)
✅ Wheel Intrinsics (Wheel3DAng)
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.












Found while testing #58.
transform_state_to_ENUmoves the IMU and the clones from the VIO world frame into ENU, but three things inStatestay in the world frame:intr_jcb, the cache of interpolated poses per sensor and time. A camera or lidar time interpolated before GPS init gets its old world-frame pose back afterwards.cpis[*].v, the clone velocitiesget_interpolated_pose_imuintegrates from (use_imu_res).The new
State::rotate_interpolation_dataclears the cache, rotates the velocities and refits the polynomials.transform_state_to_ENUcalls it at the end.CI never hit this. The GPS sims start from the true ENU transform (
init_use_gt_gnssdefaults to true), so the transform never runs. With an online init and an identity world-to-ENU transform the stale values happen to be right. Real data always has a yaw between the two.Test
GPSInitialization.APoseInterpolatedBeforeTheMoveComesBackInENUinterpolates a camera time, initializes GPS, and checks that the same request now returns the ENU pose and that a CPI velocity was rotated. On master it fails on position, rotation and velocity. Without the polynomial refit it still fails on position. All 10 test binaries pass.Sim
Stereo + GPS, online GPS init (
init_use_gt_gnss:=false), simT_WtoEset to a 90 deg yaw with offset (10, -5, 2), 20 seeds. IMU pose after GPS init against the ENU truth, no alignment:Scored from Release builds with a local fix to
State_Logger.h: itsassert(sim->get_imu_state(...))compiles out in Release, soimu_gt.txtholds no truth there. Separate fix, not in this PR.KAIST
ICGLW on 15 sequences, the same change on top of #133 (local, m/km): tune mean 1.046 -> 1.034, hold-out 1.347 -> 1.336. Small, which fits: KAIST is scored after SE3 alignment, and the stale values only last until the clones they were built on leave the window. The KAIST CI on this PR gives the numbers against master.