xdspacelab / openvslam

OpenVSLAM: A Versatile Visual SLAM Framework
https://openvslam.readthedocs.io/
2.97k stars 868 forks source link

Pangolin veiwer follow camera #500

Open ryleymcc opened 3 years ago

ryleymcc commented 3 years ago

When running camera slam with pangolin viewer, the map doesn't start until I toggle "follow camera" a few times and then it won't follow the camera properly. If i move the camera forward, pangolin moves backward, if i go left it goes right, but up and down works and so does rotation.

dimaxano commented 3 years ago

Hi! I also met this problem As I understand Pangolin Viewer displays camera to world pose, that is why all movements are inverse

Can you please specify in what demo you see no inverse movement on tha map according to real movement?

ryleymcc commented 3 years ago

Sorry about that i guess i was thinking about a video i was watching. The demos DO NOT follow the camera pose.

Do you know how to change it so it follows correctly?

dimaxano commented 3 years ago

I do not have a working solution for now, unfortunately. I am just using workaround you described above