-
Notifications
You must be signed in to change notification settings - Fork 136
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
Cannot edit path #1013
Comments
We just found that editing the gearing on the robot causes the issue. Initially it was 5.143 and I was able to edit the path. However, when I changed it to 4.5 it began causing problems. We have isolated the issue to being only causes by changing that one value. |
This is probably because you a creating a robot configuration that is not capable of actually accelerating the robot. If any of the calculated values under the robot preview in the settings are red then your config is probably bad. |
I can prevent this crash from happening, but the underlying issue of the path not generating will remain which would be due to the config or control point placements. |
I feel there should be some more useful way to indicate that the config is invalid rather than just throwing you a stack trace? To note however, we started changing values around and then when eventually we changed it to the value that initially didn't work, it worked. We checked the git diff for our project and everything and it just appeared to magically work. This could be some super strange bug with something other than pathplanner but I doubt the underlying problem will be found since this seems extremely difficult to reproduce. Thank you for the quick response! |
That is what the calculated values in the settings are for. I'm more inclined to think this is a weird flutter bug, since that is where the exception occurred, and the stuff there to catch failed trajectory generation didn't catch anything wrong. The linked PR will at least keep this from crashing the app if it happens again. |
Describe the bug
I am unable to edit any path or add a path to my auto. When I attempt to do so, the GUI crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The pathplanner path editor
Versions: (please complete the following information):
Additional context
Stack Trace:
The text was updated successfully, but these errors were encountered: