-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use with Nav2 #1
Comments
Hi, I never used Nav2. If you can make sure what topic is needed, we can look at publishing the required information from the various nodes. |
In the Nav2 documentation, I found this: Link: Being able to incorporate 2fast2lamaa with Nav2 would be awesome! While the nav_msgs/Odometry is required, another nice feature for use in Nav2 is a 2D occupancy grid for global path planning. However, other packages, such as octomap-server, can be used to generate the 2D occupancy grid. |
Cool. I'll try to add the odometry messages by the end of the week. |
@clegenti Thank you!!!! I'll definitely keep a look out for the odom topic update!! |
I have added the publication of an odometry topic. The visualisation seems to make sense for the pose but I don't have a quick way to check if the twist is OK. Let me know if that's good enough. Additionally, the nature of 2Fast2Lamaa combines a local and global registration that are somewhat "independent", thus the odometry might be a bit "jumpy". If that's an issue we can think about addressing it :) |
Great! Glad you find that framework useful :D Thanks for the colcon output. Let me know how it goes, and don't hesitate to bring up any issues or new features to consider :) |
I had to time today to try to integrate 2fast2lamaa with Nav2. I used However, if you see the tfs for the robot they are off the map and titled. Here is an image taken with the frame set to odom. It seems to me the orientation of the odom frame doesn't get aligned to a base frame, specifically base_footprint or base_link. I think I am stuck. I did poke around the DLIO code to see how they did it and found this: |
Hmmm, does your lidar start aligned with gravity (like z-axis up)? I'll look at providing that alignment over the weekend :) PS: |
I actually only worked with handheld devices but yeah I had the UAV scenarios in mind when mentioning downstream planning applications in the paper. As I never integrated myself with mobile platforms, I might have messed up the standard names of topics. |
Thank you for you explanation. I made some headway today. The clue for me was 2fast2lamma's my tf tree now looks like this: However, this falls apart when I move since I have a static transform between the I think the fix is to add something like DLIO did but do it for 2fast2lamaa's |
I believe you should feed
|
Good to hear it works :) I had a quick look at the gravity alignment but I don't have time now to do something clean. But looks like you don't need it so all good. Closing the issue. Don't hesitate to re-open if required. |
What is the best way to use this package with Nav2? I believe that bt_navigator requires an odom topic, but did not see one generated from 2fast2lamaa. Any guidance or suggestions would be greatly appreciated.
The text was updated successfully, but these errors were encountered: