Added scripts for launching binaries with external libraries.
This commit is contained in:
parent
8e3a1dbacf
commit
ecb44abd7a
8
AndroidExplorerbotServer/.classpath
Normal file
8
AndroidExplorerbotServer/.classpath
Normal 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>
|
33
AndroidExplorerbotServer/.project
Normal file
33
AndroidExplorerbotServer/.project
Normal 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>
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
/it
|
/it
|
||||||
|
/.gitignore
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
AndroidExplorerbotServer/gen/.gitignore
vendored
1
AndroidExplorerbotServer/gen/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/it
|
/it
|
||||||
|
/.gitignore
|
||||||
|
12
ExplorerBot/.classpath
Normal file
12
ExplorerBot/.classpath
Normal 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
17
ExplorerBot/.project
Normal 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
1
ExplorerBot/bin/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/it
|
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.
Binary file not shown.
Binary file not shown.
BIN
bin/AndroidExplorerbotServer.apk
Normal file
BIN
bin/AndroidExplorerbotServer.apk
Normal file
Binary file not shown.
9
bin/README.txt
Normal file
9
bin/README.txt
Normal 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
BIN
bin/explorerbot.jar
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput-dx8.dll
Normal file
BIN
bin/explorerbot_lib/jinput-dx8.dll
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput-dx8_64.dll
Normal file
BIN
bin/explorerbot_lib/jinput-dx8_64.dll
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput-raw.dll
Normal file
BIN
bin/explorerbot_lib/jinput-raw.dll
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput-raw_64.dll
Normal file
BIN
bin/explorerbot_lib/jinput-raw_64.dll
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput-wintab.dll
Normal file
BIN
bin/explorerbot_lib/jinput-wintab.dll
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jinput.jar
Normal file
BIN
bin/explorerbot_lib/jinput.jar
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/jssc.jar
Normal file
BIN
bin/explorerbot_lib/jssc.jar
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/libjinput-linux.so
Normal file
BIN
bin/explorerbot_lib/libjinput-linux.so
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/libjinput-linux64.so
Normal file
BIN
bin/explorerbot_lib/libjinput-linux64.so
Normal file
Binary file not shown.
BIN
bin/explorerbot_lib/libjinput-osx.jnilib
Normal file
BIN
bin/explorerbot_lib/libjinput-osx.jnilib
Normal file
Binary file not shown.
6
bin/start_client.sh
Normal file
6
bin/start_client.sh
Normal 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
4
bin/start_server.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user