Skip to content
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

OSError: [Errno 121] Remote I/O error whilst running "python manage.py drive" #788

Closed
Zayr0 opened this issue Feb 15, 2021 · 4 comments
Closed

Comments

@Zayr0
Copy link

Zayr0 commented Feb 15, 2021

Hello, I'm stuck on this issue. I always get a remote I/O error whilst running "python manage.py drive".
I have activated i2c in the raspi-config and I also checked the wires from my pi going to the PiRacer board (i2c wires).
I can see the PCA9685 address using i2cdetect -y 1 and I also am part of the i2c group. See below:
a1d41651191e44fe81e208b3ac3d88a0493e5992_2_1035x508
However, I still get this error. Any ideas/solutions? Thanks in advance!

@Zayr0 Zayr0 closed this as completed Feb 19, 2021
@WaterBottleEvian
Copy link

Hi Zayr0, I am having now the exact same problem. What was your solution?

@Zayr0
Copy link
Author

Zayr0 commented Feb 26, 2021

Hi BossZweifel, for me it was that the i2c address of the PCA9685 was wrong (mycar/config.py), it was 60 which didn't exist in my i2c detect. However, I still can't properly steer and give throttle at the same time, as the program does not like it when you give it address 40 twice for both (even with different channels of the PCA board). But maybe you'll figure it out, good luck!

@WaterBottleEvian
Copy link

WaterBottleEvian commented Feb 27, 2021

I put both on 0x40 now, specified the bus and calibrated it properly. While calibrating, the servo was steering and the motor was turning as specified.
The python manage.py drive starts without an error. The webinterface is there and shows the slow camera feed.

But nothing happens when I give any inputs. I was really hoping to getting it to at least drive a bit today ...

@Zayr0
Copy link
Author

Zayr0 commented Feb 27, 2021

Yeah same. If you put one of them to a different address then 0x40 (but one that is detected by i2c detect) the other one does work. Maybe open it up as a separate issue on the issue page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants