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

Tune controller for moving to artifact origin #2

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

Conversation

iche033
Copy link

@iche033 iche033 commented Apr 15, 2020

It was observed that the robot could spin in place in the starting area and not move to the entrance. This is mainly caused by slow pose responses from rosservice calls to the pose_from_artifact_origin service, which occurs when the system is under heavy load. Because the cmd vel persists on the simulation end, the slow pose updates cause the robot rotation to overshoot . When that happens, the current behavior is to to just keep turning in the same direction until it's within the the desired yaw angle threshold.

The main change in this PR is that the vel commands are now proportional. If the robot overshoots when turning, it'll correct itself by rotating the other direction.

Also fixed Dockerfile

@iche033 iche033 requested a review from nkoenig April 15, 2020 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants