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

Robot Code Crashing When Single Path Following Code is Deployed #444

Closed
SecretGenius22 opened this issue Nov 1, 2023 · 3 comments
Closed

Comments

@SecretGenius22
Copy link

As it says in the title every time I try to push my robot code to the robot the code on the rio crashes and I have to power cycle the rio for it to start working again. I am using the Pathplanner 2024 Beta version 4. Using auto builder to run an auto path works, but trying to run a single path as it says in the wiki is what breaks it. A screenshot with the code causing the problem is below, and the github repository is here: https://github.com/team223/223-Robot-Project-Pre-Season-2024
Screenshot 2023-11-01 085341

@mjansen4857
Copy link
Owner

Haven't really looked at it yet but I'm going to assume it is because you're trying to "turn in place". PathPlanner is not meant for doing this. Use a separate command for turning in place and only use PathPlanner for following paths.

@SecretGenius22
Copy link
Author

Thanks for the response, I fixed the name, this path follows a straight line, and uses holonomic movement to turn 90 degrees as it drives.
Screenshot 2023-11-01 085341

@SecretGenius22
Copy link
Author

I don't think I changed anything besides the name of the path, but the code is able to deploy now without crashing and the path runs.

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