Skip to content

Instantly share code, notes, and snippets.

@dmalawey
Created September 19, 2019 22:59
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/54802bcd0e81c34ad7e78f48e3d0ed4e to your computer and use it in GitHub Desktop.
Save dmalawey/54802bcd0e81c34ad7e78f48e3d0ed4e to your computer and use it in GitHub Desktop.
installer check followed by motors failure
check_installed.sh 100%[=================================================================>] 2.75K --.-KB/s in 0.001s
2019-09-19 22:26:09 (3.72 MB/s) - ‘check_installed.sh’ saved [2815/2815]
debian@scuttle:~$ sudo bash check_installed.sh
[sudo] password for debian:
Checking for internet connection.
Success
Running apt update. -
Done.
Checking Installed Programs...
git installed!
ftp installed!
zsh installed!
curl installed!
wget installed!
flac installed!
libx11-6 installed!
pure-ftpd installed!
python-pip installed!
python-dev installed!
libx11-dev installed!
python3-pip installed!
python3-dev installed!
python-numpy installed!
python3-serial installed!
python3-numpy installed!
python3-opengl installed!
libsdl-ttf2.0-dev installed!
libsmpeg-dev installed!
libsdl1.2-dev installed!
libportmidi-dev installed!
libswscale-dev installed!
libavformat-dev installed!
libavcodec-dev installed!
libtiff5-dev installed!
fluid-soundfont-gm installed!
timgm6mb-soundfont installed!
xfonts-base installed!
xfonts-100dpi installed!
xfonts-75dpi installed!
xfonts-cyrillic installed!
fontconfig installed!
fonts-freefont-ttf installed!
python3-setuptools installed!
libfreetype6-dev installed!
build-essential installed!
python-smbus installed!
python3-pyaudio installed!
libsdl-image1.2-dev installed!
libsdl-mixer1.2-dev installed!
python3-opencv installed!
libopencv-dev installed!
mjpg-streamer-opencv-python installed!
Checking Installed Python Libraries...
SpeechRecognition not installed!
Installing SpeechRecognition. -
SpeechRecognition installed!
cayenne-mqtt not installed!
Installing cayenne-mqtt. -
cayenne-mqtt installed!
bmp280 installed!
pygame installed!
debian@scuttle:~$ ls|
basics bmp.py Desktop self_installer_part2.sh setup_wpa_enterprise.py
bin check_installed.sh self_installer_part1.sh self_installer.sh
debian@scuttle:~$ ^C
debian@scuttle:~$ ^C
debian@scuttle:~$ cd basics/|
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$ |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment