View Full Version : Get Battery Voltage
tuXguy15
17-04-2013, 13:07
Hello. Is there a way to get feedback of battery voltage to our smart dashboard?
Joe Ross
17-04-2013, 13:18
In the robot code, you can get the battery voltage with DriverStation.getInstance().getBatteryVoltage() and put that value to the SmartDashboard.
tuXguy15
17-04-2013, 16:17
Ok thanks!
joelg236
17-04-2013, 16:51
Wait, why would you want to do that? The battery voltage is always visible on the Driverstation in the top left corner.
http://i.imgur.com/sf5EGnp.png
tuXguy15
17-04-2013, 17:20
We want to do it so that when our battery voltage gets to a certain level it will alert us in the smart dashboard and also signal our red leds that we use as something is wrong.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.