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

AMRNAV-6916 Goal checker: Check for x and y separately #89

Open
wants to merge 2 commits into
base: iron
Choose a base branch
from

Conversation

VladyslavHrynchak200204

Basic Info

Info Please fill out this column
Platform tested on Gazebo
Related documentation
Ticket https://lvserv01.logivations.com/browse/AMRNAV-6916

Description of contribution

Reason for change:
There is often a tradeoff while reaching goals: We want the AMR to drive as close as it can to the goal, without oscillating close to it. The AMR can easily adjust its x-coordinate compared to the goal by driving forward or backwards.
However, it cannot drive sideways, so it cannot correct sideways error easily. Instead, then it has to drive forward, turn, and drive backwards again.
Thus: We want to split the checker to check directions individually in the goal frame. Currently one can already pass "yaw". Please add options to pass "x" and "y" as well. Then

if "x" or "y" is defined, also check these values
if "xy" is not defined in the BT node, use "infinite" by default.

Changes in this PR:

Result:
x and y are checked separately

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

Successfully merging this pull request may close these issues.

1 participant