|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|