Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   RobotOpen control system issues (http://www.chiefdelphi.com/forums/showthread.php?t=125249)

tgross35 25-01-2014 20:12

RobotOpen control system issues
 
Hello everyone,

We recently purchased a RobotOpen control unit to do some off-robot testing, and have run into some issues in programming it. I am attempting to print the battery voltage to the dashboard using the following:
Code:

void timedtasks() {
  RODashboard.publish("Analog 0", analogRead(ANALOG0));
  RODashboard.publish("Uptime Seconds", ROStatus.uptimeSeconds());
  RODashboard.publish("Battery Power", ROStatus.batteryReading());
}

Everything else using RODashboard.publish works but the battery reading doesn't. Has anyone encountered this error or does anyone have working code to fix it? Thanks for any help.


All times are GMT -5. The time now is 02:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi