Closed dkantereivin closed 4 years ago
Hmmm... I am not aware of this being encountered or fixed in the past. I don't expect it to fix the problem, but it's worth trying to upgrade; we have instructions here: https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/faq.html
If that doesn't resolve it I'll try to look into it more thoroughly.
Hmmm... I am not aware of this being encountered or fixed in the past. I don't expect it to fix the problem, but it's worth trying to upgrade; we have instructions here: https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/faq.html
If that doesn't resolve it I'll try to look into it more thoroughly.
Holy crap I'm like Christopher Columbus!! In all seriousness, I'll get the update done and test it out within the next hour and a half and update you (just need to enable WiFi sharing through USB on school network). Thanks for your quick reply.
Newest version fixed it, as expected! Thank you for your help.
Hi All, I'm running into issues using ev3dev2 (Python) when it comes to the
MoveDifferential
class, and of course I'm also worried that my team will get coding and then will encounter other, more serious issues. In this case, using MoveDifferential consistently errors atmdiff.odometry_start()
sayingAttributeError: 'MoveDifferential' object has no attribute 'turn_to_angle'
.Initially I used my own code but it does not work using the code in the documentation either. When I remove odometer, the same error is presented for on_for_distance.
Here is the full code I copied:
I suspect that this is because the version in the docs and around is a newer beta version. This is the version of ev3dev I got from the main site - will updating to a newer version solve my problem, and where is it available? I figured other people might be liable to have a similar issue, so hopefully this will help anyone else in my place. I take it there is a way to update the python without completely updating the kernel?
Thanks for your help!