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

VSLAM Map & SLAM Tool box box #131

Open
sandeepdutta opened this issue Nov 6, 2023 · 4 comments
Open

VSLAM Map & SLAM Tool box box #131

sandeepdutta opened this issue Nov 6, 2023 · 4 comments
Assignees
Labels
coming soon! Targeted for next release documentation Improvements or additions to documentation

Comments

@sandeepdutta
Copy link

I have the visual SLAM working with a ZED camera, it can localizes very well.
Is there a way to match the coordinates of the VSLAM generated map to the map generated by
SLAM toolbox ? I would like to use the map->odom transform generated by VSLAM
and use the rest of the NAV2 stack ..

Thank you
Sandeep

@hemalshahNV hemalshahNV self-assigned this Nov 6, 2023
@hemalshahNV hemalshahNV added documentation Improvements or additions to documentation coming soon! Targeted for next release labels Nov 6, 2023
@hemalshahNV
Copy link
Contributor

You can use VSLAM as an odometry source with Nav2 (odom->base_link), but using the vslam poses (which can be used to update map->odom) can be a bit problematic. The VSLAM map origin needs to be registered with you obstacle map (occupancy grid map created by SLAM toolbox) (i.e., need to find the transform between vslam_map and og_map). This can be done by adding in physical features to align with in the OGM (like two boards covered in Apriltags at right angles in a V that you can see in both the OGM and the visual frames) or by some other method.

@robotx10
Copy link

@hemalshahNV Hi Hemal, when can we expect the release of the document?
@sandeepdutta were you able to implement the 3D to 2D tf2 projection as mentioned by hemal? Is there any other efficient solution that we adapt to?

@sandeepdutta
Copy link
Author

Yes I was able to create a transform between the maps, it wasn't very stable. We are planning to use two camera's.
Currently it looks like the package doesn't support two cameras . You can only merge the Visual odometry using EKF.
Sandeep

@robotx10
Copy link

@sandeepdutta may I know whats the reason behind fusing two cameras (Maybe you might different use case). Since the visual Inertial odometry from isaac_ros_vlsam work pretty well for me. I am using odom->base_link for nav2. I am having concerns about map->odom link. I was using slam_toolbox localization mode for map->odom (which i would like to skip and go with map->odom from vslam)

have you checked this? for fusing both cameras?
https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/blob/main/isaac_ros_visual_slam/params/ekf_dual_nvslam.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coming soon! Targeted for next release documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants