我正在使用donkeycar库,我刚刚在运行donkey calibrate命令时收到IO错误,下面是完整的错误
using donkey v2.2.1 ...
Traceback (most recent call last):
File "/home/pi/.virtualenvs/dk/bin/donkey", line 11, in <module>
load_entry_point('donkeycar', 'console_scripts', 'donkey')()
File "/home/pi/donkeycar/donkeycar/management/base.py", line 426, in execute_from_command_line
c.run(args[2:])
File "/home/pi/donkeycar/donkeycar/management/base.py", line 152, in run
c = PCA9685(channel)
File "/home/pi/donkeycar/donkeycar/parts/actuator.py", line 20, in __init__
self.pwm = Adafruit_PCA9685.PCA9685()
File "/home/pi/.virtualenvs/dk/lib/python3.4/site-packages/Adafruit_PCA9685/PCA9685.py", line 75, in __init__
self.set_all_pwm(0, 0)
File "/home/pi/.virtualenvs/dk/lib/python3.4/site-packages/Adafruit_PCA9685/PCA9685.py", line 111, in set_all_pwm
self._device.write8(ALL_LED_ON_L, on & 0xFF)
File "/home/pi/.virtualenvs/dk/lib/python3.4/site-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/home/pi/.virtualenvs/dk/lib/python3.4/site-packages/Adafruit_PureIO/smbus.py", line 236, in write_byte_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
我不知道如何解决这个问题我已经启用了RP3上的I2C引脚,包括远程GPIO