NVIDIA-AI-IOT / jetbot

An educational AI robot based on NVIDIA Jetson Nano.
MIT License
3k stars 1.03k forks source link

'Robot' object has no attribute 'left' #557

Open federista opened 2 years ago

federista commented 2 years ago

i am working on jetbot by Yahboom. Have gone through the instruction to set up my jetbot.https://github.com/nvidia-ai-iot/jetbot/wiki/software-setup.

Going through the basic_motion.ipynb I encountered the following error: 'Robot' object has no attribute 'left' It happens when I run
"robot.left(speed=0.3)"

The solution mentioned in https://github.com/sparkfun/jetbot/commit/1453860b99149a89b6150567e75fd656748eb548#diff-e497c529fb992fd1cbf4fcd5a7b0a33d91f45910277556e41b4c3fcc5f5574f8R57 has also been tried but no satisfactory result.

I have also been through this solution but no help to my error https://github.com/NVIDIA-AI-IOT/jetbot/issues/231

Sudo i2cdetect -y -r 1 output:

0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- 1b -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: 70 -- -- -- -- -- -- --

Looking forward to some response. Thank you and good day
@jaybdub @santaimpersonator Looking for your help brothers

santaimpersonator commented 2 years ago

The wiki/instructions you are following only includes the original set of instructions, from when the Jetson Nano/Jetbot was first released. Try using this updated guide for using the images running on docker containers: https://jetbot.org/master/