-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
59 lines (45 loc) · 1.79 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
initio_lib:
===========
Purpose: C library to externalise all initio specific hardware
of the 4tronix initio robot car with Raspberry PI.
author: Raimund Kirner, University of Hertfordshire
initial version: Jun.2016 (support only for PiRoCon 2.0 board)
updated version: Aug.2016 (added support for RoboHAT 1.0 board)
license: GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
(for details see LICENSE file)
Dependencies of this library:
o wiringPi
http://wiringpi.com
(needs to be downloaded and installed locally)
o ServoBlaster
https://github.com/richardghirst/PiBits/tree/master/ServoBlaster
(instead of compiling it from source, a binary for
RaspberryPI is included.)
Download:
$> git clone https://github.com/rkirner/initio_lib
$> cd initio_lib
Installation:
Simply type:
$> make install
This compiles the library and copies the files into
/usr/local/include
/usr/local/lib
Please check whether your system has /usr/local/lib in the dynamic
library path. If not, adding the line
/usr/local/lib
into the file '/etc/ld.so.conf' might help, with running afterwards
$> sudo ldconfig
Put the ServoBlaster binary in search path:
$> sudo cp ./resources/servod /usr/local/bin/
(make sure that "/usr/local/bin/" is listed in your PATH environment variable)
Optional: Some examples use the ncurses library.
If you don't have it installed, you might want to install it
(might need to update version in future):
$> sudo apt-get install libncurses5
$> sudo apt-get install libncurses5-dev
Development notes:
This library has been heavily inspired by the original Python version
provided by Gareth Davies, Sep 2013. While care has been taken to
keep the interface similar, one should check the differences when
porting sample programs to C.