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
AttributeError: 'Motor' object has no attribute '_motor' #231
Comments
Hi VegardIversen, Thanks for reaching out! Are you using one of the JetBot SD card images, or perhaps a third party JetBot with a different set of instructions? If you're using a third party bot, do you mind sharing the instructions you followed? Best, |
Hi |
Hmm, strange. Did you update or modify the software at all? If not, I would suspect it is a hardware issue. Perhaps the motor driver connection came loose, and is not discoverable. You can use the i2cdetect tool to see if the motor driver is discoverable. Do you mind sharing the output of the following terminal command sudo i2cdetect -y 1 Best, |
I have just updated opencv. Motors seems to work driving forward, but gets an error when using robot.stop() and they dont drive the correct duration. This is the output from the command: |
Hey there, you seem to be having an issue similar to another user on the SparkFun forum. I just tested this out on our newer v01-10 image and with a Jeston Nano (with the one camera connector carrier board), but I wasn't able to duplicate the issue. Did you happen to modify the files at all? Here is a link to our fork of this repo for a reference. If you accidentally modified the files, you can follow these instructions for building a card from scratch: https://github.com/NVIDIA-AI-IOT/jetbot/wiki/Create-SD-Card-Image-From-Scratch
|
Hey, that is also my post. The error are just showing up after a program has run, and not during so its not breaking the system anymore. I will try with new hardware on another unit soon, and can see if that fixes the problem. |
As you mentioned that the code worked previously, it definitely leads me to believe that something has changed in either the |
both custom and example notebook gets the error |
I recently updated SparkFun's fork; there was an incorrect class name in that method: |
@VegardIversen Are you still getting the error message? |
Have you pulled the fork or modified the file directly as mentioned in the commit (sparkfun@1453860)? It should resolve the issue. |
No, but I dont have access to the robot anymore, but i guess that would fix it. I have no way of testing it now.. |
Fair enough. In that case, would you mind closing this issue for now. If you ever get a hold of the robot again and run into the issue, you can reopen this issue. I'd be happy to assist you at that time. |
Hi @santaimpersonator - I had the same error message, and I can confirm that changing line 60's Thanks for the help! |
@seeeheng Thanks for the feedback. |
Hi
Im suddenly getting this error when running robot.stop():
Any suggestions on how to fix?
The text was updated successfully, but these errors were encountered: