uzh-rpg / rpg_svo_pro_open

GNU General Public License v3.0
1.35k stars 381 forks source link

svo node not publishing any results using stereo+imu camera #45

Open david-delmoral opened 1 year ago

david-delmoral commented 1 year ago

I am attempting svo with a realsense t265, but when I launch the node with a launch file similar to the fla_stere_imu.launch, Rviz opens up but nothing is displayed, there is no error message, although the svo node in not publishing data in any of the topics.

The step I've followed are:

zauberflote1 commented 8 months ago

@david-delmoral Did you find a solution?

david-delmoral commented 8 months ago

@david-delmoral Did you find a solution?

No. I ended up using other algorithms for my proyect bc I couldn't get svo working

MauUnterKarottenbaum commented 7 months ago

same... waiting for further tips

aatb-ch commented 3 months ago

i also stumbled upon the same issue, running fine in mono but no results in stereo, the stereoCallback in svo_interface expects exact timestamps for both camera streams, if you switch the sync policy from ExactTime to ApproximateTime it works fine. My camera (oak-d pro w) outputs slightly different timestamps for both streams so no result was published, as soon as I switched to ApproximateTime and recompiled it started working fine.

https://github.com/uzh-rpg/rpg_svo_pro_open/blob/ca371f304637e7fb355cf4624d0a02da4e3da220/svo_ros/src/svo_interface.cpp#L504