PetWorm / LARVIO

A lightweight, accurate and robust monocular visual inertial odometry based on Multi-State Constraint Kalman Filter.
709 stars 154 forks source link

ubuntu16.04 run euroc example error #8

Open zxh2015 opened 3 years ago

zxh2015 commented 3 years ago
  1. gcc 7
  2. ubuntu16.04
===========================================
using FEJ...
estimating td... initial td = 0
estimating extrinsic...
not calibrating imu instrinsic online...
Hybrid MSCKF...Maximum number of feature in state is 30
features augmented into state will use 1d idp
===========================================

Images from now on will be utilized...

Inclinometer-initializer completed by using 181 imu data !!!

*** stack smashing detected ***: ./larvio terminated
Aborted (core dumped)

Should I add someting else ?

PetWorm commented 3 years ago

Sorry for the late respond. Not enough information to help debug this. In fact i didn't try LARVIO on 16.04 by myself, so I can't guarantee the performance. Welcome to pull a request if you find anything. Looking forward to your feedback.

zxh2015 commented 3 years ago

Sorry for the late respond. Not enough information to help debug this. In fact i didn't try LARVIO on 16.04 by myself, so I can't guarantee the performance. Welcome to pull a request if you find anything. Looking forward to your feedback.

Thanks for your reply! I have solved this problem by adding the flag "-fstack-protector" in CMakeLists.txt. But sometimes it crashes in removeLostFeatures() function. Now I am already using 18.04 system, pay attention later.... Thanks again