Skip to content

Instantly share code, notes, and snippets.

@dmalawey
Created September 20, 2019 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmalawey/f3b5156535139cd8d5c4c77ec1d39ee2 to your computer and use it in GitHub Desktop.
Save dmalawey/f3b5156535139cd8d5c4c77ec1d39ee2 to your computer and use it in GitHub Desktop.
blue_motor_drivers_installation_problem
debian@scuttle:~/basics$ sudo python3 L1_motors.py
[sudo] password for debian:
/usr/local/lib/python3.5/dist-packages/rcpy/__init__.py:116: UserWarning: > Robotics cape initialized
warnings.warn('> Robotics cape initialized')
/usr/local/lib/python3.5/dist-packages/rcpy/__init__.py:127: UserWarning: > Installing signal handlers
warnings.warn('> Installing signal handlers')
ERROR in rc_pwm_init, can't open pwm export file for writing: No such file or directory
Probably kernel or BeagleBone image is too old
ERROR in rc_motor_init, failed to initialize pwm subsystem 1
Traceback (most recent call last):
File "L1_motors.py", line 6, in <module>
import rcpy.motor as motor
File "/usr/local/lib/python3.5/dist-packages/rcpy/motor.py", line 2, in <module>
from rcpy._motor import *
SystemError: initialization of _motor failed without raising an exception
Initiating cleanup...
Done with cleanup
debian@scuttle:~/basics$ sudo apt upgrade librobotcontrol
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
librobotcontrol : Conflicts: roboticscape
E: Broken packages
debian@scuttle:~/basics$ rc_test_drivers
Kernel: 4.14.71-ti-r80
BeagleBoard.org Debian Image 2018-10-07
Debian: 9.11
PASSED: gpio 0
PASSED: gpio 1
PASSED: gpio 2
PASSED: gpio 3
ERROR: ti-pwm driver not loaded for hrpwm1
PASSED: pwm2
PASSED: eqep0
PASSED: eqep1
PASSED: eqep2
PASSED: pru-rproc
PASSED: uart1
PASSED: uart2
PASSED: uart4
PASSED: uart5
PASSED: i2c1
PASSED: i2c2
PASSED: spi
PASSED: LED
PASSED: ADC iio
debian@scuttle:~/basics$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment