Closed adam-mcdaniel closed 6 years ago
Well... it works for me? Do you have all of your robotpy pieces up to date? What does the output of py -3 -m pip list
output for you?
It appears to work fine on OSX/Linux, but I was able to reproduce the error you experienced on Windows. The wheel that we pushed to pypi does not seem to work as expected (perhaps a pybind11 bug?), and the segment variable doesn't seem to get initialized in Windows for some reason. Adding the following code right after the configurePIDVA statement fixes it:
leftFollower.segment = 0
rightFollower.segment = 0
I'll push a fix to pathfinder at some point, but for now that should get you going.
Fixed in robotpy-pathfinder 0.2.4
Actually, 0.2.5
Ive been trying to get pathfinder working on my robot for about an hour. When I ran the physics-pathfinder example, I got this error: