Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zarathacia opened this issue Mar 17, 2023 · 6 comments
Closed

Comments

@zarathacia
Copy link

zarathacia commented Mar 17, 2023

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
Copy link
Owner

thien94 commented Mar 18, 2023

  • First, you can enable the pangolin window to check if point cloud data is available.
  • If it is, you can run rostopic hz /<name of pointcloud topic> to verify the node is publishing data
  • If the topic is being published, check that the name of the frames are correct (world_frame_id etc.)

Hope this helps.

@zarathacia
Copy link
Author

zarathacia commented Mar 20, 2023

@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
Copy link

@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
Copy link
Author

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

@shyam-botsync
Copy link

@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
Copy link
Author

zarathacia commented Dec 17, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants