Added scripts for launching binaries with external libraries.

This commit is contained in:
Daniele Verducci 2014-03-09 19:31:38 +01:00
parent 8e3a1dbacf
commit ecb44abd7a
40 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AndroidExplorerbotServer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1 +1,2 @@
/it /it
/.gitignore

View File

@ -1 +1,2 @@
/it /it
/.gitignore

12
ExplorerBot/.classpath Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry exported="true" kind="lib" path="libs/JInput/jinput.jar">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="ExplorerBot/libs/JInput"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="lib" path="libs/jssc.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

17
ExplorerBot/.project Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ExplorerBot</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

1
ExplorerBot/bin/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/it

Binary file not shown.

9
bin/README.txt Normal file
View File

@ -0,0 +1,9 @@
Usage (under linux):
SERVER (connected to Arduino)
sh start_server.sh
CLIENT (connected to joypad)
sh start_client.sh [serveripaddress]
Example: sh start_client.sh 192.168.0.32

BIN
bin/explorerbot.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

6
bin/start_client.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Starts the explorerbot's client.
# Usage: start_server [ipaddress]
# Example: start_server 192.168.0.35
java -Djava.library.path="./explorerbot_lib/" -jar explorerbot.jar client $1

4
bin/start_server.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Starts the explorerbot as server (the one connected to the Arduino and receiving commands from the network
java -jar explorerbot.jar server