MIT-SPARK / Kimera-VIO-ROS

ROS wrapper for Kimera-VIO
BSD 2-Clause "Simplified" License
362 stars 150 forks source link

Building Error (kimera_vio): probably due to GTSAM version #178

Open vinsco30 opened 1 year ago

vinsco30 commented 1 year ago

Description: Hi guys, I was following the procedure described in the readme file to install the system in my ros workspace. During the building the package "kimera_vio" failed and consequently the building was abandoned. The error that came out are the following:

Console output:


In file included from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/FrontendOutputPacketBase.h:18:0,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/StereoVisionImuFrontend-definitions.h:17,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/backend/VioBackend-definitions.h:30,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/FrontendInputPacketBase.h:17,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/dataprovider/DataProviderModule.h:29,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/dataprovider/MonoDataProviderModule.h:34,
                 from /home/vinsco/catkin_ws/src/Kimera-VIO/src/dataprovider/MonoDataProviderModule.cpp:18:
/home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/Tracker-definitions.h: In constructor ‘VIO::TrackerStatusSummary::TrackerStatusSummary()’:
/home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/Tracker-definitions.h:119:33: error: ‘identity’ is not a member of ‘gtsam::Pose3’
     lkf_T_k_mono_(gtsam::Pose3::identity()),
                                 ^~~~~~~~
/home/vinsco/catkin_ws/src/Kimera-VIO/include/kimera-vio/frontend/Tracker-definitions.h:120:35: error: ‘identity’ is not a member of ‘gtsam::Pose3’
     lkf_T_k_stereo_(gtsam::Pose3::identity())

This error repeat itself every time 'identity' appear in the code. I suppose that it's something related to the version of GTSAM, I've tried a lot of version (maybe not the right one)

Please give also the following information: