-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
slam_toolbox with IntelRealsense publishing empty /map topic #2992
Comments
Hi @lujan002 slam_toolbox and depthimage_to_laserscan are difficult to get working together in ROS2, unfortunately. If possible to do so then I would recommend instead using ORB-SLAM with ROS2 and running it in Stereo mode with your D455 stereo depth camera. |
Hi @lujan002 Do you require further assistance with this case, please? Thanks! |
Hi Marty, I am having some issues setting up orb_slam_3. After following the instructions in the link you sent, I get this error when trying to build: CMake Error at CMakeLists.txt:23 (find_package): Could not find a package configuration file provided by "Sophus" with any
Add the installation prefix of "Sophus" to CMAKE_PREFIX_PATH or set Not sure if this is your area of expertise, but any guidance would be helpful. |
Hi @lujan002 I carefully researched your problem with Sophus but there was very little available information about it unfortunately. If Sophus could not be found after following the installation guide's troubleshooting advice: https://github.com/zang09/ORB_SLAM3_ROS2/tree/humble?tab=readme-ov-file#troubleshootings One user took the approach of installing Sophus by performing a git clone of its GitHub repository. |
Hi @lujan002 Do you require further assistance with this case, please? Thanks! |
Hi Marty, tbh I haven't touched this issue for some time, I will let you know if I need assistance in the future. |
Okay, thanks for the update. I will close the issue for now as you are not currently working on it. Please feel free to re-open the issue at a future date if you need to or create a new issue. Thanks again! |
Issue Description
Hello,
I will preface that I am fairly new to ROS. I have been trying to use slam_toolbox using my IntelRealsense D455 depth camera in Ros2 Humble, but /map topic output is empty, which I beleive stems from the fact that either my camera or /tf topic is failing to publish an /odom topic, which slam_toolbox expects.
My situation is similar to this user's: https://support.intelrealsense.com/hc/en-us/community/posts/19599334779283--D455-SLAM-using-Ros2 and issue #2387.
I am using depthimage_to_laserscan to convert the camera's depth map to a /scan topic. My understanding is that slam_toolbox expects a /scan, /odom, and /tf topic, and since my /scan and /tf topics appear to be working below, I reason that the issue is to do with the lack of an /odom topic.
I can confirm that the /camera/imu topic is being published. How can I "convert" this /imu topic to an /odom topic? (Is this even the right approach?).
My end goal is to incorporate the camera with a Clearpath Jackal Rover, which I imagine might be able to provide an /odom topic, but I imagine that there should be a way to get the realsense to publish it's own /odom topic for SLAM independet of a robot.
If there is a SLAM package which works better with realsense and Ros2, I would love to know.
ros2 topic list returns:
Rviz says "no map received"
![image](https://private-user-images.githubusercontent.com/129324615/302070684-695043b1-322e-47e8-9163-71dd57a5954c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MTA5NjQsIm5iZiI6MTcxOTcxMDY2NCwicGF0aCI6Ii8xMjkzMjQ2MTUvMzAyMDcwNjg0LTY5NTA0M2IxLTMyMmUtNDdlOC05MTYzLTcxZGQ1N2E1OTU0Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYzMFQwMTI0MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMWYzMWM2MDBlMGVlM2QyMWUyZGUxMjcxYmU4ZTgzMTU4MjQ0NGQzNWZkNDcwN2M3NDQyMTZkZmJkYTdiMWQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.anJUgEaqwA12rlacs-gaOdw4DDuTz8kSN17V6y2e7Oc)
rqt graph
![image](https://private-user-images.githubusercontent.com/129324615/302070710-dca0fd48-2db3-431e-9146-8a6314624964.png?jwt=eyJhbGciOiJIUzI1NiIsIn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1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYzMFQwMTI0MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xY2MzYmE3YzYxNTRhMmE3OWI0NTU2ZmYyNjQyZjNkNDMyYTBjYjYzMjFmMDJjNjUxNDUxMzE3MWUxYWEwY2M0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9BYznPRUx5vW0JIFO1Bzuz5jq8NWL8hnkl3u0JNl_4w)
The text was updated successfully, but these errors were encountered: