We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Divide by zero error in Python lib using AutoBuilder.pathFindThenFollowPath
Expected behavior Calculations for chassis speeds catch and handle division by zero potental
Versions: (please complete the following information):
Additional context File "/usr/local/lib/python3.13/site-packages/pathplannerlib/path.py", line 815, in generateTrajectory return PathPlannerTrajectory(self, starting_speeds, starting_rotation, config) File "/usr/local/lib/python3.13/site-packages/pathplannerlib/trajectory.py", line 256, in init chassisAccelX = (robotSpeeds.vx - prevRobotSpeeds.vx) / dt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Divide by zero error in Python lib using AutoBuilder.pathFindThenFollowPath
Expected behavior
Calculations for chassis speeds catch and handle division by zero potental
Versions: (please complete the following information):
Additional context
File "/usr/local/lib/python3.13/site-packages/pathplannerlib/path.py", line 815, in generateTrajectory
return PathPlannerTrajectory(self, starting_speeds, starting_rotation, config)
File "/usr/local/lib/python3.13/site-packages/pathplannerlib/trajectory.py", line 256, in init
chassisAccelX = (robotSpeeds.vx - prevRobotSpeeds.vx) / dt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: