thien94 / orb_slam3_ros

A ROS implementation of ORB_SLAM3
GNU General Public License v3.0
261 stars 81 forks source link

Orb slam 3 + orb slam wrapper on an RGBD ros bag shows no cloud points #7

Closed zarathacia closed 1 year ago

zarathacia commented 1 year ago

There are no errors in the run just the absence of the cloud points in RVIZ as shown in this screenshot https://imgur.com/a/ORlmEzf I built orb slam with opencv 4.4 with installation option cuda off and no GTK anyone had this issue before?

thien94 commented 1 year ago

Hope this helps.

zarathacia commented 1 year ago

@thien94 Sorry for the delay. The node is indeed publishing data. i checked the name of the frames too. all looks good but the result is still like this https://imgur.com/OqiYCzK

kinda-raffy commented 1 year ago

@zarathacia If you are using the rosbag, make sure to change RGB.DepthMapFactor to 1.0 in TUM<version>.yaml. Although the points are shown correctly after this change, they seem to be all inverted on the XZ axis. @thien94 can you take a look at the following pictures?

Normal view in rviz: image

Inverted view in rviz: image

In the normal view, the camera frame is pointed up, with all the points being projected upwards. The camera and the points seem to be in the correct orientation if you invert the view in rviz (the inverted picture shows the camera frame pointed down).


I used roslaunch orb_slam3_ros tum_rgbd.launch and rosbag play rgbd_dataset_freiburg1_xyz.bag.

Here is my tum_rgbd.launch: tum_rgbd.launch.txt

and my terminal output that was running roslaunch: orb_slam3_output.txt

zarathacia commented 1 year ago

@kinda-raffy Thank you very much for the response it worked like a charm

shyam-botsync commented 8 months ago

@zarathacia hi ! for me its crashing after I start to play the bag file. Did you make any changes apart from the yaml file ?

zarathacia commented 8 months ago

@shyam-botsync I didn't make other changes apart from changing values in the yaml file. i based my installation on this guide https://github.com/Mauhing/ORB_SLAM3/blob/master/README.md and this one too https://github.com/egdw/ORB_SLAM3_Ubuntu20.04