View Single Post
  #4   Spotlight this post!  
Unread 15-03-2014, 17:47
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Dashboard display

Finally had a chance to respond and apparently hooking up the sonic range finder isn't as easy as I thought and I am not getting the compressor indicator to work.

I ran the analog range finder program from my computer after changing the ip address of the crio and I get values from the range finder, not accurate since someone ordered a metric range finder... but atleast i know the port and range finder are functional.

With regards to the compressor indicator I think I have the code correct but somehow not getting it to send to the dashboard and say true. I am just looking at the variables tab within the dashboard on the driverstation.

The compressor just says false (the compressor works properly otherwise)
The range finder just shows 0.000

What am I missing? There are not any errors that pop up int he diagnostic tab and the controller otherwise seems to function normally. The is on a test board mounted from the ceiling.
Attached Thumbnails
Click image for larger version

Name:	compressorbegin.png
Views:	35
Size:	14.0 KB
ID:	16560  Click image for larger version

Name:	compressorperiodic.png
Views:	36
Size:	29.7 KB
ID:	16561  Click image for larger version

Name:	rangebegin.png
Views:	31
Size:	13.0 KB
ID:	16562  Click image for larger version

Name:	rangeperiodic.png
Views:	27
Size:	27.2 KB
ID:	16563  
Reply With Quote