Skip to content

Commit 6935727

Browse files
committed
Remove BatteryMonitor
1 parent 8f8ac48 commit 6935727

File tree

5 files changed

+2
-53
lines changed

5 files changed

+2
-53
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ The installer will install the following libraries by default:
1414
+ Java OpenJDK 10 (Java Runtime Image) for EV3 Brick
1515
+ Java JDK 8 (Only for BrickPi/PiStorms) (It is necessary to upgrade to OpenJDK 10)
1616

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.
17+
It is possible to install the following libraries if your project requires them.
2218

2319
+ [OpenCV](http://docs.opencv.org/2.4/doc/tutorials/introduction/desktop_java/java_dev_intro.html)
2420
+ [RXTX](https://github.com/rxtx/rxtx) (Serial port library used on [RPLIDAR4J](https://github.com/ev3dev-lang-java/RPLidar4J))

installer.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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-
6561
elif [ "$1" == "extended" ]; then
6662
run_module java
6763
run_module native-libraries

modules/battery-monitor.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

modules/help.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
echo "Installer options:"
44
echo "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]"
76
echo "sudo ./installer.sh copy-installer [email protected] [Copy the installer to a remote brick]"
87
echo
98
exit

modules/vars.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,3 @@ BATT_PISTORMS="/sys/class/power_supply/pistorms-battery"
3737
# installer copy
3838
INSTALLER_DIR="/home/robot/installer"
3939
INSTALLER_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"

0 commit comments

Comments
 (0)