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

autodock failed when robot turned #12

Open
wowowolala opened this issue Dec 6, 2022 · 1 comment
Open

autodock failed when robot turned #12

wowowolala opened this issue Dec 6, 2022 · 1 comment

Comments

@wowowolala
Copy link

when I run autodock , I have this problem like below picture.
I found that when the robot turned, the tf wouldn't be detected.
How could I fix this?
autodock_fail_about_tf

And the second problem is the robot have a large turn and result in aruco marker didn't appear in screen.
Which param could improve this situation?

@codebot
Copy link
Member

codebot commented Dec 7, 2022

When does the marker detection fail to work? Before or after that dead-reckoning motion?

Ideally, the robot should drive towards the markers, and then as it gets closer, it will turn 90 degrees, drive until it is directly in front of the markers, and then turn back to the markers to complete the docking. Those two 90-degree turns and the short straight driving must be done using dead reckoning, because the markers will not be in view. If the robot's odometry and heading estimation is very noisy, it is possible this motion will be unreliable and additional "search" may be required.

Alternatively, you could modify the starting point of the entire docking sequence to be closer to the markers, or print larger markers (say, 2x the size shown above). Those markers look pretty small in the camera feed, if the screenshot is showing full resolution.

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

2 participants