Go to Post The FIRST community will always step up in times of need. - nikeairmancurry [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 20-01-2014, 16:06
John20 John20 is offline
Registered User
FRC #3543
 
Join Date: Jan 2014
Location: Arnprior
Posts: 1
John20 is an unknown quantity at this point
viewing sensor data

How do we send sensor data to the driver station so we can see it while driving instead of having to use the wind river console and a printf?

My team is relatively new to complex coding like this and could really use some help expert or otherwise.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2014, 16:10
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 431
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: viewing sensor data

You could use smart dashboard.
Details on setup and use are here: http://wpilib.screenstepslive.com/s/3120/m/7932

Sending values is as easy as calling the correct 'put' function:
http://wpilib.screenstepslive.com/s/...-robot-program
__________________
http://team2168.org
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2014, 10:28
m1tche11d m1tche11d is offline
m1tche11d
FRC #1997
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Kansas
Posts: 21
m1tche11d is an unknown quantity at this point
Re: viewing sensor data

Alternatively, you can do one of two things.

1) If you look in the given example codes, one of the selections should be labeled "Print to driver station" or something similar. (I don't have windriver with me so I can't be certain) If you open this it should give you example code to print values to the driver station.

2) Use a multimeter and read between the gnd and the sig pins of whatever sensor you happen to be using. This should help you determine if a sensor is working or not, but won't help you if you need to actually put values in the code.
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 14:01.

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