forked from beagleboard/librobotcontrol
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
71 lines (42 loc) · 2.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Robotics Cape Library Installer
For BeagleBone Black and BeagleBone Blue
This is for Debian Jessie ONLY.
See the wheezy_archive branch for Wheezy-compatible code.
Installation Instructions for Black or Blue
1) Flash your BBB to the latest stable Debian Jessie version.
Images and instructions avialabe here:
http://beagleboard.org/latest-images
For working encoder counting you will also need to install a 'bone' kernel
root@beaglebone:~# apt-get install linux-image-4.4.23-bone14
2) SSH into your Beaglebone as the root user through USB or LAN.
If you have difficulty connecting consult BeagleBoard.org
http://beagleboard.org/Getting%20Started/
3) Download the Robotics_Cape_Installer folder to /root/
Option 1: If you don't have an ethernet/wifi internet connection configured
on your BeagleBone Black or Blue then you must download the librobotics-cape
source package to your host computer and then transfer to your beaglebone
over USB, usually to its address at 192.168.7.2 through SFTP.
Download from here:
https://github.com/StrawsonDesign/Robotics_Cape_Installer/archive/master.zip
Option 2: If your BeagleBone Black or Blue does have an internet connection
configured then you can clone the source directly:
root@beaglebone:~#git clone https://github.com/StrawsonDesign/Robotics_Cape_Installer.git
4) If you are installing on a BeagleBone Black, you may plug the cape in now.
5) Log in as root and execute the install.sh script. You will be prompted with
further instructions during installation. Reboot when complete.
root@beaglebone:~# cd Robotics_Cape_Installer
root@beaglebone:~/Robotics_Cape_Installer# bash install.sh
root@beaglebone:~/Robotics_Cape_Installer# reboot
6) If all went well, restarting will result in the selected example
program loading on boot. If the blink example was selected, both red and
green LEDs should be responsive to button presses.
Package Installation for Black or Blue
If you are using a BeagleBone Blue with a working internet connection then you
may elect to pull the librobotics-cape package from a repository with apt.
This will also allow updates to the package for BeagleBone Black users with a
wifi dongle or ethernet connection. Note that BeagleBone Black users must first
run the install.sh script as described above to configure the cape overlay.
After that all updates to the library binary itself may be pulled using apt-get.
echo "deb http://strawsondesign.com debian/" > /etc/apt/sources.list
apt-get update
apt-get install librobotics-cape