![]() |
Battery Voltage
Hello Everyone,
This year our team switched to java so I am still getting the hang of things. One thing I would like to know is if there is any method that will get me the Voltage directly from the battery. I want the same number that shows in the driver station. Thanks in advance for the help. |
Re: Battery Voltage
The DriverStation class has a method getBatteryVoltage() that provides the voltage of the battery.
The code statement to get the voltage would be Code:
DriverStation.getInstance().getBatteryVoltage(); |
Re: Battery Voltage
|
| All times are GMT -5. The time now is 07:52 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi