-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
unable to use Smac planner based Nav2 params #3717
Comments
Please get a backtrace to debug: https://navigation.ros.org/tutorials/docs/get_backtrace.html I don’t see that on my side, so need some additional info from you 🙂. Please also post your global costmap & smac planner parameters. |
Here the full nav2 params I am using.
|
This is my launch file.
|
Please also grab that traceback |
Off the top of my head, this resolution |
Apologies for out of topic question. |
This I know. However, there nothing in the terminal. Its the xtrem which is open and I cannot copy the content |
Send a screen shot I guess |
Did you compile with debug flags? It should give you a line somewhere which I don't see in those screen shots. Basically #14 in that traceback that is |
I tried to add (-g) in the cmkaelists.txt as mentioned in the guide
|
You have to do that for the smac planner package, not your highest level package. |
I have done this for the navigation package only which contains nav2 params file |
Exactly. You have to add |
In the params file? |
Could you give a simple demo of it |
Look at your cmake above, add the -g in the Smac Planner version. This is straight forward stuff, check out the tutorial & your own code blob above. Compile it with debug flags. |
Thanks a lot. I will do and will post the output |
One more thing, if we look at the screenshots, it is mentioning fastdds but I downloaded the cycloneDDS using sudo apt-get install ros-humble-cycloneDDS And then changed it using export It returned CycloneDDS Is it strange |
That's not really relevant to this issue (probably). |
Ok. Just want to give the possibe information which I have. Using Gazebo garden's Ackermann plugin for twist messages and ground truth odometry from Gazebo using ros_gz_bridge. |
Did you get a traceback? And/or did you try reducing the resolution to something more reasonable like 2.5-10cm? |
I tried changing the resolution, planner server error is not showing now, I am getting the topics related to planner and it seems other error this time. But this is coming, I am attaching the backtrace as well. Also, i don't have any specific package of nav2_smac_planner in my workspace. The package contains launch files, config for nav2 and slam-toolbox. |
sounds like the fix. Without you providing the traceback, that’s the best we can do. Closing. |
What this other message means? I have provided the bt-navgator params I tried the get the backtrace but as described earlier I have added -g to my navigation package. |
I tried to look at this error previously but still couldn't figure out the root. I have provided the backtrace for this as well in the above screenshots. |
Hey man, getting the same error here! Did you manage to fix it? Thanks |
I believe just go through the parameters again, set with defaults and also copy the default one from humble branch not from the ros2 website. See if that works.@lourencorcc |
Where on github? |
On this nav2 github page ->select the branch name as per your ROS2 version and go to nav2_smac_planner. Find the params there and try it out.@lourencorcc |
Required Info:
-Ubuntu 22.04
Expected behavior
I want to run NAV2 with Slam_toolbox for creating map while navigating. Slam toolbox is detecting the LiDAR data from Gazebo simulation.
Should run NAV2
Actual behavior
When running NAV2, it is showing some errors. I am using Smac Planner Hybrid. When I launch default nav2_bringup it launches but with Nav2fn planner. When providing other plugin as mentioned above it doesn't work.
The text was updated successfully, but these errors were encountered: