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

Unable to traverse all nodes #50

Open
lttt123 opened this issue Nov 22, 2023 · 10 comments
Open

Unable to traverse all nodes #50

lttt123 opened this issue Nov 22, 2023 · 10 comments

Comments

@lttt123
Copy link

lttt123 commented Nov 22, 2023

At the same time, I also want to ask why, after planning the global path as a plugin, the car does not follow the global path, but instead skips many nodes. My map has a total of more than 200 nodes, but it stops after walking more than 30 and says' goal reached '

@Timple
Copy link
Member

Timple commented Nov 22, 2023

That should not be the case. Can you provide a minimal reproducable example?

@rokusottervanger
Copy link
Contributor

I guess that depends on what kind of local planner you are using, and the end conditions. If the end of the plan is within limits, the local planner might exit with goal_reached.

@1234564lll
Copy link

I guess that depends on what kind of local planner you are using, and the end conditions. If the end of the plan is within limits, the local planner might exit with goal_reached.

I am using TEB and I am not quite sure what the ending conditions you mentioned are

@1234564lll
Copy link

That should not be the case. Can you provide a minimal reproducable example?

I can't quite explain it orally. The video has already been sent to your email

@rokusottervanger
Copy link
Contributor

Firstly, I'm getting the idea that your localization is not working correctly, because I see your robot move laterally across the map in Rviz. That does not help when trying to navigate along a path.

Secondly, I see that TEB tries to go to the end point of the path after following a number of nodes one by one nicely. I'm not sure why this is happening, but it might have to do with the local planner settings. Try the via_points in TEB and see if that helps, and let us know if it worked.

@1234564lll
Copy link

Firstly, I'm getting the idea that your localization is not working correctly, because I see your robot move laterally across the map in Rviz. That does not help when trying to navigate along a path.

Secondly, I see that TEB tries to go to the end point of the path after following a number of nodes one by one nicely. I'm not sure why this is happening, but it might have to do with the local planner settings. Try the via_points in TEB and see if that helps, and let us know if it worked.

I used the DWA algorithm, but the terminal will display DWA planner failed to product path, so it needs to re plan the global path, which is not what we want to see

@rokusottervanger
Copy link
Contributor

I believe the DWA local planner needs the next global plan point to be within the local costmap, otherwise it will fail to produce a path.

@1234564lll
Copy link

I believe the DWA local planner needs the next global plan point to be within the local costmap, otherwise it will fail to produce a path.

so what should i do to get the global point, i am confused of it.Can he be used as a plugin or not。If ok,what should i do

@rokusottervanger
Copy link
Contributor

Could you share your configuration? That would help pinpoint your problem.

@1234564lll
Copy link

Could you share your configuration? That would help pinpoint your problem.

thanks,i have solved the previous questions, but i meet a new probloms,[ERROR] [1701099466.329398963, 1160.995000000]: Could not retrieve grid from map_server,i don't know how to deal with it

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