pjrambo / VINS-Fusion-gpu

This repository is a version of VINS-Fusion with gpu acceleration. It can run on the Nvidia TX2 in realtime
GNU General Public License v3.0
499 stars 133 forks source link

Non real-time performance with Jetson AGX Xavier #30

Open Pallav1299 opened 2 years ago

Pallav1299 commented 2 years ago

I've been working on setting up VINS-Fusion-GPU on Jetson platform and used this docker image for the ease of setup. While testing in real-environments I noticed that it gives non-realtime performance with the following parameters to VINS-fusion-GPU(stereo-inertial):

This paper suggests real-time performance with VINS-GPU by using the above mentioned params. What am I possibly doing wrong? Will running it on docker have an effect on its performance? Also to mention, I've my docker image on SD card since I didn't had enough on-board storage for the same and I've already enabled the power mode by using:

sudo nvpmodel -m0
Enabling jetson clocks

I've tried reducing the input camera data rate to 15Hz, which shows some improvement towards real-time performance but compromises the robustness(more usual failures/drifts).

ynma-hanvo commented 2 years ago

what frame rate do you expect, can try with max_cnt as around 200 and min_dist as 3, it may improve speed;

Pallav1299 commented 2 years ago

@ynma-hanvo, thanks for the suggestion. I've tried and seen improvement towards real-time performance. Since this mentioned the use of higher max_cnt and still achieve real-time performance, therefore I am still a bit sceptical.