Open jaku-jaku opened 2 years ago
According to https://github.com/MIT-SPARK/Kimera-VIO/pull/187,
gtsam version commit: e5866799dff48239573cdd84964180867e50edd2
Hi, can you elaborate on what exactly I need to do in step 2.2(modify Kimera-VIO to match latest GTSAM [TODO])?
Hi, can you elaborate on what exactly I need to do in step 2.2(modify Kimera-VIO to match latest GTSAM [TODO])?
just replace functions whatever the compiler has thrown error on.
46 | isam_param->setCacheLinearizedFactors(true);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| cacheLinearizedFactors
{ws}/Kimera-VIO/src/backend/VioBackendParams.cpp:51:15: error: ‘struct gtsam::ISAM2Params’ has no member named ‘setEvaluateNonlinearError’; did you mean ‘evaluateNonlinearError’?
51 | isam_param->setEvaluateNonlinearError(false); // only for debugging
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| evaluateNonlinearError
(for example) as
isam_param->cacheLinearizedFactors = True;
Thank you for a helpful guide. I have found that the guide makes Kimera-VIO-ROS w/ ros bag and realsense work successfully in my Ubuntu desktop. However, Kimera-VIO w/o ROS is not working this guide and I think that depends on OpenCV version. In here, the author has recommend OpenCV 3.4.2 for the Kimera w/o ROS. In addition, for the Jetson boards, that seem to be not working so I have been struggling with it.
Description:
It has been a bit rabbit hole to get it working. I have just get it compiled properly in Ubuntu 18.04 - Melodic .
Guide
Step 1:
Follow the main guide https://github.com/MIT-SPARK/Kimera-VIO-ROS:
⚠️ Stop before
catkin build
, orcatkin clean
if you tried to built but in vainStep 2: (GTSAM)
As mentioned in https://github.com/MIT-SPARK/Kimera-VIO/issues/194, GTSAM has removed identity under
Pose3
andRot3
Option 1: A quick fix is to checkout the older versionOption 2: modify Kimera-VIO to match latest GTSAM [TODO]
Step 3: (Kimera-VIO)
Step 4:
Terminal 2:
$ rviz -d $(rospack find kimera_vio_ros)/rviz/kimera_vio_euroc.rviz
Terminal 3:
$ roslaunch kimera_vio_ros kimera_vio_ros_euroc.launch online:=true
Terminal 4:
$ rosbag play --clock /PATH/TO/EUROC_ROSBAG