File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,9 @@ This project tries to save time in this process.
1111
1212The installer will install the following libraries by default:
1313
14- + Java OpenJDK 10 (Java Runtime Image) for EV3 Brick
15- + Java JDK 8 (Only for BrickPi/PiStorms) (It is necessary to upgrade to OpenJDK 10)
14+ + Java OpenJDK 11 (Java Runtime Image) for all bricks
1615
17- If you like, you can install a utility to monitor the battery. (Recommended)
18-
19- + [ BatteryMonitor] ( https://github.com/ev3dev-lang-java/batteryMonitor ) (A Java utility to monitor the Battery)
20-
21- But it is possible to install the following libraries if your project requires them.
16+ It is possible to install the following libraries if your project requires them.
2217
2318+ [ OpenCV] ( http://docs.opencv.org/2.4/doc/tutorials/introduction/desktop_java/java_dev_intro.html )
2419+ [ RXTX] ( https://github.com/rxtx/rxtx ) (Serial port library used on [ RPLIDAR4J] ( https://github.com/ev3dev-lang-java/RPLidar4J ) )
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ elif [ "$1" == "copy-installer" ]; then
5858 CREDENTIAL=" $2 "
5959 run_module copy-installer
6060
61- elif [ " $1 " == " batteryMonitor" ]; then
62- run_module java
63- run_module battery-monitor
64-
6561elif [ " $1 " == " extended" ]; then
6662 run_module java
6763 run_module native-libraries
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33echo " Installer options:"
44echo " sudo ./installer.sh java [Execute modules: platform, java]"
5- echo " sudo ./installer.sh batteryMonitor [Install batteryMonitor]"
6- echo " sudo ./installer.sh extended [Execute modules: platform, java, batteryMonitor & native-libraries]"
5+ echo " sudo ./installer.sh extended [Execute modules: platform, java & native-libraries]"
76echo " sudo ./installer.sh copy-installer robot@192.168.1.206 [Copy the installer to a remote brick]"
87echo
98exit
Original file line number Diff line number Diff line change @@ -8,17 +8,10 @@ if [ "$PLATFORM" == "ev3" ] ||
88 [ " $PLATFORM " == " pistorms" ]; then
99
1010 apt-get update
11-
12- if [ " $( isInstalled libopencv2.4-java) " == " no" ]; then
13- apt-get install --yes --no-install-recommends libopencv2.4-java
14- fi
15-
16- if [ " $( isInstalled librxtx-java) " == " no" ]; then
17- apt-get install --yes --no-install-recommends librxtx-java
18- fi
11+ apt-get install --yes --no-install-recommends libopencv2.4-java librxtx-java
1912
2013else
21- echo " This platform: $PLATFORM is not suitable for Battery Monitor ."
14+ echo " This platform: $PLATFORM is not suitable for native libraries ."
2215 echo
2316fi
2417
Original file line number Diff line number Diff line change @@ -37,9 +37,3 @@ BATT_PISTORMS="/sys/class/power_supply/pistorms-battery"
3737# installer copy
3838INSTALLER_DIR=" /home/robot/installer"
3939INSTALLER_EXE=" /home/robot/installer/installer.sh"
40-
41- # battery monitor
42- BATTMON_URL=" https://github.com/ev3dev-lang-java/batteryMonitor/raw/release/v0.2.0-RELEASE/releases/batteryMonitor-0.2.0-RELEASE.zip"
43- BATTMON_FILE=" /home/robot/batterymonitor.zip"
44- BATTMON_ZIPBASE=" /home/robot/batteryMonitor-0.2.0-RELEASE"
45- BATTMON_BASE=" /home/robot/batteryMonitor"
You can’t perform that action at this time.
0 commit comments