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

Error no 121 IOError at ~$ rosrun jetbot_ros jetbot_motors.py #36

Open
Vernieface opened this issue Oct 15, 2020 · 1 comment
Open

Error no 121 IOError at ~$ rosrun jetbot_ros jetbot_motors.py #36

Vernieface opened this issue Oct 15, 2020 · 1 comment

Comments

@Vernieface
Copy link

Observation:

file string is: /home/vern/workspace...

Rather than: /home/nvidia/workspace...

Terminal Session text follows:
vern@JetBotAI:$ rosrun jetbot_ros jetbot_motors.py
Traceback (most recent call last):
File "/home/vern/workspace/catkin_ws/src/jetbot_ros/scripts/jetbot_motors.py", line 75, in
motor_driver = Adafruit_MotorHAT(i2c_bus=1)
File "/home/vern/.local/lib/python2.7/site-packages/Adafruit_MotorHAT/Adafruit_MotorHAT_Motors.py", line 231, in init
self._pwm = PWM(addr, debug=False, i2c=i2c, i2c_bus=i2c_bus)
File "/home/vern/.local/lib/python2.7/site-packages/Adafruit_MotorHAT/Adafruit_PWM_Servo_Driver.py", line 59, in init
self.setAllPWM(0, 0)
File "/home/vern/.local/lib/python2.7/site-packages/Adafruit_MotorHAT/Adafruit_PWM_Servo_Driver.py", line 95, in setAllPWM
self.i2c.write8(self.__ALL_LED_ON_L, on & 0xFF)
File "/home/vern/.local/lib/python2.7/site-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/home/vern/.local/lib/python2.7/site-packages/Adafruit_PureIO/smbus.py", line 268, in write_byte_data
self._device.write(data)
IOError: [Errno 121] Remote I/O error
vern@JetBotAI:
$

@santaimpersonator
Copy link

If you are using the SparkFun kit, refer to this response: #37 (comment)

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