Thread
:
Battery Voltage
View Single Post
#
2
01-13-2013, 10:37 AM
Sam Crow
Registered User
FRC #0751 (Barn 2 Robotics)
Team Role: Alumni
Join Date: May 2010
Rookie Year: 2010
Location: California
Posts: 169
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();
Sam Crow
View Public Profile
Visit Sam Crow's homepage!
Find all posts by Sam Crow
Find CD-Media Photos by Sam Crow
Find CD-Media Papers by Sam Crow