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

Turns are too wide #38

Open
sriharis123 opened this issue Feb 18, 2018 · 4 comments
Open

Turns are too wide #38

sriharis123 opened this issue Feb 18, 2018 · 4 comments

Comments

@sriharis123
Copy link

When we test straight line profiles, the profiles go the correct distance. We are using Vannaka's motion profile generator, and have also tested using the example provided in your readme, and have determined that curved profiles are too wide with a wheelbase of 2.0 feet for some reason. Increasing this to 3.4 feet in vannaka's and testing it sort of fixed the problem, but we still had to tune the x- and y-coordinates, and sometimes the final angle, to reach a working path.
Here is our code: MoveOnPath
I understand that this is late in the season, but we would appreciate any kind of help you can offer.

@sriharis123 sriharis123 changed the title Turns do not complete Turns are too wide Feb 18, 2018
@vargoose84
Copy link

Just a heads up.. this is highly related to Issue (many would say enhancement) https://github.com/JacisNonsense/Pathfinder/issues/36

@JaciBrunning
Copy link
Owner

Sorry, this slipped under my radar. If the graph is looking reasonable, but your robot isn't following properly, it's usually because of poor parameter tuning. Reduce your max velocity during generation to lower than your theoretical maximum

@sriharis123
Copy link
Author

Could PID also be a problem? Would that make a significant change?

@JaciBrunning
Copy link
Owner

Tuning is also a very big part of it, yes. In this respect, the kP, kV and kA coefficients are the most important to pay attention to

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

3 participants