Migrating from old StarLib to a library with only Java dependencies. In order to support new CyphyHouse project on various of platforms.
Original repo can be found here: StarLib
in StarL1.5 - yixiao.
- Please be sure to install
maven
andjava
. Currently building underjava1.8
- In the folder after clone:
- Type in terminal:
mvn clean install
then./run.sh
- Type in terminal:
- You may want to toggle the libraries used when running the compiled target, especially for the
log4j
package. To do so please edit therun.sh
. Default is using themaven
download libraries, which is under~/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
(note thatjava
may not support~
as$HOME_DIR
).
send.py
sends UDP packages to a designated address. Currently used for fake position info.simul_recv.c
receives UDP packages under port 5556. Currently used for fake ARDrone instance.- trying to use more
python
for simplicity
##Scripts:
- write your application code in AppCode/
- simulate.sh appCode/.krd will run the parser and generate java code, then run the file.
- simulate-app.sh will just recompile and run. Use this to change up main files and draw files in the simulator.
- run.sh will just run the files.