ucla-vision / xivo

X Inertial-aided Visual Odometry
Other
852 stars 120 forks source link

Error building with ROS #5

Closed tekrajchhetri closed 4 years ago

tekrajchhetri commented 4 years ago

I was able to build without ros node but when I try with ros node, its failing.

Screenshot from 2019-10-22 15-45-31

stephanietsuei commented 4 years ago

That error doesn't look familiar to me. What version of ROS and Python are you using? We have really only tested xivo using ROS Kinetic.

tekrajchhetri commented 4 years ago

@stephanietsuei it's Ubuntu 18 with ROS melodic and python 2.

stephanietsuei commented 4 years ago

I think I reproduced the error on our end. For now, please build with both g2o and ROS: ./build.sh ros g2o.

tekrajchhetri commented 4 years ago

@stephanietsuei Thank you. I am now able to build with ROS. Also, a suggestion, it is better to specify the version of opencv and other tools used because if it is the latest version then not all methods might be available with the older versions. I had similar issue with opencv for which I had to check the source to figure out what was wrong. Any way thanks again.