We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938bd42 commit 7b4483fCopy full SHA for 7b4483f
examples/maxswerve/tests/test_swerveutils.py
@@ -5,4 +5,4 @@ def test_stepTowardsCircular1():
5
stepsize = 0.3455804605358387
6
target = 0.0 # stepping towards zero direction
7
result = swerveutils.stepTowardsCircular(current=current, stepsize=stepsize, target=target)
8
- assert abs(result) < abs(current), f"swerveutils: why stepping from {current} to {target} results in {result}?"
+ assert abs(result) < abs(current) # stepping towards zero angle should result in smaller absolute value
0 commit comments