You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
Markdown
52 lines
1.3 KiB
Markdown
# Euglena control applet
|
|
|
|
This is intended for use with euglena projector + microscope systems as developed by the [Riedel-Kruse lab](https://web.stanford.edu/group/riedel-kruse/).
|
|
|
|
Written in Java and using the Processing 3 library
|
|
|
|
Jan Peykiewicz (anewusername at gmail) wrote this version in mid-2016, but doesn't *really* work on this project...
|
|
|
|
I (Jan) haven't tested the below commands on windows, but they should be direct translations of the linux commands.
|
|
|
|
## Compiling
|
|
|
|
You'll need a recent JDK (eg. 1.8).
|
|
|
|
On linux,
|
|
```
|
|
cd src/
|
|
javac -cp .:../lib/*:../lib/video/library/*:../lib/serial/library/*:../lib/opencv_processing/library/* EuglenaApplet.java
|
|
```
|
|
|
|
On windows,
|
|
```
|
|
cd src\
|
|
javac -cp .;..\lib\*;..\lib\video\library\*;..\lib\serial\library\*;..\lib\opencv_processing\library\* EuglenaApplet.java
|
|
```
|
|
|
|
## Running
|
|
|
|
On linux,
|
|
```
|
|
cd src/
|
|
java -cp .:../lib/*:../lib/video/library/*:../lib/serial/library/*:../lib/opencv_processing/library/* EuglenaApplet
|
|
```
|
|
|
|
On windows,
|
|
```
|
|
cd src\
|
|
java -cp .;..\lib\*;..\lib\video\library\*;..\lib\serial\library\*;..\lib\opencv_processing\library\* EuglenaApplet
|
|
```
|
|
|
|
## Cleanup
|
|
|
|
On linux,
|
|
```rm src/*.class```
|
|
|
|
On windows,
|
|
```del src\*.class```
|
|
|
|
## Troubleshooting
|
|
|
|
If everything goes dark when you start the program, try alt-tab to switch between windows, it probably just fullscreened a black window.
|