Skip to content

Commit d44ffec

Browse files
First commit of the Java Library
1 parent 3dc72bb commit d44ffec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+14673
-0
lines changed

Software/Java/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Java Library
2+
### This repository contains the Java library for the GoPiGo
3+
#### Installation ####
4+
Before to proceed you should install the Pi4J libraries. The easiest way to install it is using the following command:
5+
6+
```curl -s get.pi4j.com | sudo bash```
7+
8+
If you need more details you can visit the official website: http://pi4j.com/install.html
9+
10+
#### Compile and Execute the test program ####
11+
Once your installation is complete and your local repository is ready then you can compile the GoPiGo libraries and run the test program.
12+
First, enter the Java directory:
13+
14+
```$ cd ./Java/```
15+
16+
The folder structure will be:
17+
18+
```$ config doc scripts src test```
19+
20+
* **bin** - it's the destination folder for the compiler and it will be created automatically, if not present, by the Bash script.
21+
* **config** - contains the default configuration.
22+
* **doc** - contains the GoPiGo library documentation.
23+
* **scripts** - contains some Bash scripts to compile the library and execute the basic test program.
24+
* **src** - contains the sources of the GoPiGo library.
25+
* **test** - contains some example code/programs.
26+
27+
To compile the library and run the test program you can use the following command:
28+
29+
```$ ./scripts/compile.sh && ./scripts/Test.sh```
30+
31+
By default you will find some logs inside the /var/log/gopigo folder.
32+
33+
In case of any trouble or if you need further information don't hesitate to leave a comment on the official forum: http://www.dexterindustries.com/forum/?forum=gopigo
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
debug=true
2+
logDir=/var/log/gopigo
3+
logFile=all.log
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!-- NewPage -->
3+
<html lang="en">
4+
<head>
5+
<!-- Generated by javadoc (1.8.0) on Tue Apr 07 23:02:56 UTC 2015 -->
6+
<title>All Classes</title>
7+
<meta name="date" content="2015-04-07">
8+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9+
<script type="text/javascript" src="script.js"></script>
10+
</head>
11+
<body>
12+
<h1 class="bar">All&nbsp;Classes</h1>
13+
<div class="indexContainer">
14+
<ul>
15+
<li><a href="com/dexterind/gopigo/components/Board.html" title="class in com.dexterind.gopigo.components" target="classFrame">Board</a></li>
16+
<li><a href="com/dexterind/gopigo/utils/Commands.html" title="class in com.dexterind.gopigo.utils" target="classFrame">Commands</a></li>
17+
<li><a href="com/dexterind/gopigo/utils/Debug.html" title="class in com.dexterind.gopigo.utils" target="classFrame">Debug</a></li>
18+
<li><a href="com/dexterind/gopigo/components/Encoders.html" title="class in com.dexterind.gopigo.components" target="classFrame">Encoders</a></li>
19+
<li><a href="com/dexterind/gopigo/Gopigo.html" title="class in com.dexterind.gopigo" target="classFrame">Gopigo</a></li>
20+
<li><a href="com/dexterind/gopigo/GopigoListener.html" title="interface in com.dexterind.gopigo" target="classFrame"><span class="interfaceName">GopigoListener</span></a></li>
21+
<li><a href="com/dexterind/gopigo/components/Led.html" title="class in com.dexterind.gopigo.components" target="classFrame">Led</a></li>
22+
<li><a href="com/dexterind/gopigo/behaviours/Motion.html" title="class in com.dexterind.gopigo.behaviours" target="classFrame">Motion</a></li>
23+
<li><a href="com/dexterind/gopigo/components/Motor.html" title="class in com.dexterind.gopigo.components" target="classFrame">Motor</a></li>
24+
<li><a href="com/dexterind/gopigo/components/Servo.html" title="class in com.dexterind.gopigo.components" target="classFrame">Servo</a></li>
25+
<li><a href="com/dexterind/gopigo/utils/Statuses.html" title="class in com.dexterind.gopigo.utils" target="classFrame">Statuses</a></li>
26+
<li><a href="com/dexterind/gopigo/events/StatusEvent.html" title="class in com.dexterind.gopigo.events" target="classFrame">StatusEvent</a></li>
27+
<li><a href="com/dexterind/gopigo/components/UltraSonicSensor.html" title="class in com.dexterind.gopigo.components" target="classFrame">UltraSonicSensor</a></li>
28+
<li><a href="com/dexterind/gopigo/events/VoltageEvent.html" title="class in com.dexterind.gopigo.events" target="classFrame">VoltageEvent</a></li>
29+
</ul>
30+
</div>
31+
</body>
32+
</html>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!-- NewPage -->
3+
<html lang="en">
4+
<head>
5+
<!-- Generated by javadoc (1.8.0) on Tue Apr 07 23:02:56 UTC 2015 -->
6+
<title>All Classes</title>
7+
<meta name="date" content="2015-04-07">
8+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9+
<script type="text/javascript" src="script.js"></script>
10+
</head>
11+
<body>
12+
<h1 class="bar">All&nbsp;Classes</h1>
13+
<div class="indexContainer">
14+
<ul>
15+
<li><a href="com/dexterind/gopigo/components/Board.html" title="class in com.dexterind.gopigo.components">Board</a></li>
16+
<li><a href="com/dexterind/gopigo/utils/Commands.html" title="class in com.dexterind.gopigo.utils">Commands</a></li>
17+
<li><a href="com/dexterind/gopigo/utils/Debug.html" title="class in com.dexterind.gopigo.utils">Debug</a></li>
18+
<li><a href="com/dexterind/gopigo/components/Encoders.html" title="class in com.dexterind.gopigo.components">Encoders</a></li>
19+
<li><a href="com/dexterind/gopigo/Gopigo.html" title="class in com.dexterind.gopigo">Gopigo</a></li>
20+
<li><a href="com/dexterind/gopigo/GopigoListener.html" title="interface in com.dexterind.gopigo"><span class="interfaceName">GopigoListener</span></a></li>
21+
<li><a href="com/dexterind/gopigo/components/Led.html" title="class in com.dexterind.gopigo.components">Led</a></li>
22+
<li><a href="com/dexterind/gopigo/behaviours/Motion.html" title="class in com.dexterind.gopigo.behaviours">Motion</a></li>
23+
<li><a href="com/dexterind/gopigo/components/Motor.html" title="class in com.dexterind.gopigo.components">Motor</a></li>
24+
<li><a href="com/dexterind/gopigo/components/Servo.html" title="class in com.dexterind.gopigo.components">Servo</a></li>
25+
<li><a href="com/dexterind/gopigo/utils/Statuses.html" title="class in com.dexterind.gopigo.utils">Statuses</a></li>
26+
<li><a href="com/dexterind/gopigo/events/StatusEvent.html" title="class in com.dexterind.gopigo.events">StatusEvent</a></li>
27+
<li><a href="com/dexterind/gopigo/components/UltraSonicSensor.html" title="class in com.dexterind.gopigo.components">UltraSonicSensor</a></li>
28+
<li><a href="com/dexterind/gopigo/events/VoltageEvent.html" title="class in com.dexterind.gopigo.events">VoltageEvent</a></li>
29+
</ul>
30+
</div>
31+
</body>
32+
</html>

0 commit comments

Comments
 (0)