Go to Post Every robot is a key element to each victory, no matter how much or how little they help. - JosephC [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2014, 20:12
tgross35 tgross35 is offline
Registered User
FRC #4810 (I Am Robot)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Michigan
Posts: 23
tgross35 is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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