MIT-SPARK / Kimera-VIO-ROS

ROS wrapper for Kimera-VIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building Error (kimera_vio): probably due to GTSAM version

vinsco30 opened this issue · comments

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:

  • KimeraVIO branch, tag or commit used
  • GTSAM version used: the one from kimera_vio_ros_ssh.rosinstall
  • OpenGV version used: the one from kimera_vio_ros_ssh.rosinstall
  • OpenCV version used: type opencv_version: 3.2.0
  • Operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 18.04
  • Did you change the source code? (yes / no): NO