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

Vehicle unable to move normally #49

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

Vehicle unable to move normally #49

lttt123 opened this issue Nov 22, 2023 · 4 comments

Comments

@lttt123
Copy link

lttt123 commented Nov 22, 2023

Hello, I have now integrated the plugin into Movebase and lowered the frequency to enable global full coverage path planning. However, after 3 to 4 rounds, the car will have two goals, which means it has a goal. When the car advances towards this goal, the car will have the next goal, and then on the way to the next goal, it will go back to the previous goal, This leads to two targets within a certain area, and the car will move back and forth, ultimately causing it to be unable to travel. The relevant video has been sent to your email, please take a look

@rokusottervanger
Copy link
Contributor

Pro tip: you can add GIFs in your comments to show what's happening.

I think what is happening here is that your local planner sees two poses in the path, and does not "know" which one to pick first. You might want to interpolate the global plan first, before you follow it with a local planner, or configure your local planner such that it prioritizes points further along the path (if possible).

@rokusottervanger rokusottervanger mentioned this issue Nov 23, 2023
Closed
@1234564lll
Copy link

Pro tip: you can add GIFs in your comments to show what's happening.

I think what is happening here is that your local planner sees two poses in the path, and does not "know" which one to pick first. You might want to interpolate the global plan first, before you follow it with a local planner, or configure your local planner such that it prioritizes points further along the path (if possible).

So should I give up the TEB planner and choose another planner

@rokusottervanger
Copy link
Contributor

I think the TEB planner is overkill in this context, as it is designed to a lot of the global planning for you too. I would use something like a DWA planner, or something even simpler to follow a path like this.

If you do want to use the TEB planner, I think it allows you to sample the global plan with "via points": global_plan_viapoint_sep, and add a weight to the optimization such that its plan is pulled towards the via points. That should help with getting the TEB planner to work.

Disclaimer: I have never tried this combination myself. I'd love to hear if and how this works for you.

@1234564lll
Copy link

I think the TEB planner is overkill in this context, as it is designed to a lot of the global planning for you too. I would use something like a DWA planner, or something even simpler to follow a path like this.

If you do want to use the TEB planner, I think it allows you to sample the global plan with "via points": global_plan_viapoint_sep, and add a weight to the optimization such that its plan is pulled towards the via points. That should help with getting the TEB planner to work.

Disclaimer: I have never tried this combination myself. I'd love to hear if and how this works for you.

I tried to increase or decrease the proportion coefficient, via points, etc., but it still doesn't work, and I have a question. I will give it a target point, will this code eventually stop near the target point

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

3 participants