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

Recalculating trajectory on the fly #67

Open
laghai opened this issue Mar 6, 2019 · 1 comment
Open

Recalculating trajectory on the fly #67

laghai opened this issue Mar 6, 2019 · 1 comment

Comments

@laghai
Copy link

laghai commented Mar 6, 2019

We are attempting to recalculate the trajectory on the RoboRio on every robot cycle, for guiding the robot towards the goal using vision. Calculating a new trajectory takes about 2 seconds even for 10 points, and about 5 seconds for 1000 points. How can we possibly reduce the initial overhead and get the trajectory calculation to fit in the 50 ms robot cycle (we can probably do with as few as 5-10 points)?

@JaciBrunning
Copy link
Owner

The way Pathfinder v1 is designed requires the full path to be generated at once. You can't do any 'on the fly' calculations

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