Skip to content

Commit 6a10ac0

Browse files
[ImuFactor] Add an on manifold Imu Factor
Unit testing is left to a follow up commit. The core use-facing api is found in - symforce/slam/imu_preintegration/preintegrated_imu_measurements.h - symforce/slam/imu_preintegration/imu_factor.h Unlike most other factors (/residual functions) in symforce, the ImuFactor is a functor so as to store the pre-integrated values with the function rather than in the `Values`. (There are a lot of parameters that are constant and unique to each factor). A python version of the `ImuFactor` class will come in a subsequent commit. Topic: on_manifold_imu_factor
1 parent 1c44a94 commit 6a10ac0

17 files changed

Lines changed: 10273 additions & 0 deletions

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ if(SYMFORCE_BUILD_CC_SYM)
286286
add_subdirectory(symforce/pybind)
287287
endif()
288288

289+
add_subdirectory(symforce/slam)
290+
289291

290292
# ==============================================================================
291293
# Examples, Benchmarks, and Tests

gen/cpp/sym/factors/imu_manifold_preintegration_update.h

Lines changed: 845 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/cpp/sym/factors/internal_imu_factor.h

Lines changed: 2415 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/factors/__init__.py

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)