mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Correct the Jacobian calculation of GravityFactor (#1692)
* correct the Jacobian calculation of GravityFactor * reimplement GravityFactor's analytical Jacobian * adopt some minor changes from the GTSAM mainline * use GTSAM's native AttitudeFactor instead of GravityFactor * add missing header file and namespace prefix * Removed GravityFactor. Fixed build with latest GTSAM version from source. Require c++17 when building with GTSAM>=4.3.0. * Fixed cmake error when gtsam is not installed --------- Co-authored-by: matlabbe <matlabbe@gmail.com>
This commit is contained in:
@@ -804,10 +804,6 @@ IF(CUVSLAM_FOUND)
|
||||
ENDIF(CUVSLAM_FOUND)
|
||||
|
||||
IF(GTSAM_FOUND)
|
||||
SET(SRC_FILES
|
||||
${SRC_FILES}
|
||||
optimizer/gtsam/GravityFactor.cpp
|
||||
)
|
||||
SET(LIBRARIES
|
||||
${LIBRARIES}
|
||||
gtsam
|
||||
|
||||
Reference in New Issue
Block a user