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

Ackermann drive plugin gets stuck when in place turns are introduced. #53

Closed
luca-della-vedova opened this issue Sep 16, 2021 · 1 comment · Fixed by #71
Closed

Ackermann drive plugin gets stuck when in place turns are introduced. #53

luca-della-vedova opened this issue Sep 16, 2021 · 1 comment · Fixed by #71
Labels
bug Something isn't working

Comments

@luca-della-vedova
Copy link
Member

Bug report

Required information:

Build from source of RMF on Ubuntu 20.04 and ROS Galactic

Description of the bug

When an ackermann drive vehicle is required to turn in place for any reason the plugin stops working altogether and the vehicle gets stuck in place.
This means that every time a vehicle ends a trajectory in a corner waypoint, it will likely be stuck there indefinitely if the corner is sharp enough.
I'm not too familiar with the ackermann code but my guess is that this is an edge case where the vehicle is in an area inside the arc between the waypoints that are being interpolated to make a smooth bend.

Steps to reproduce the bug

Create a navgraph with sharp turns (i.e. a square), make the vehicle execute two consecutive trajectories, where the first one ends in a corner and the second one starts from the same corner.

Expected behavior

The vehicle would execute a somewhat sharp turn to proceed to its first waypoint.

Actual behavior

The vehicle turns a bit, gets stuck and never actually executes its trajectory.

@luca-della-vedova luca-della-vedova added the bug Something isn't working label Sep 16, 2021
@luca-della-vedova
Copy link
Member Author

A temporary fix is available in #54, a full implementation will be done as part of open-rmf/rmf_traffic#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants