Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Return DS Rev # (http://www.chiefdelphi.com/forums/showthread.php?t=76014)

3DWolf 03-20-2009 10:07 AM

Return DS Rev #
 
Is there a variable or something with the DriversStation class to return the Rev number?
I'm trying to get a custom display working just for fun, but I can't find anything in the WPI Libraries for this.

Shadow503 03-20-2009 10:13 AM

Re: Return DS Rev #
 
I'm not sure how to go about doing this, but I don't think it should be necessary. The DS rev number can already be viewed in the default view and should only be needed for inspection.

3DWolf 03-20-2009 10:21 AM

Re: Return DS Rev #
 
Oh no, it's in no way necessary - I just felt like doing it because I'm sitting at Lansing and our bot is working fine, just wanted to have a bit of fun with the DS - but I figured I might as well make it function normally or whatever while having fun too.
There's a custom class and everything that you have to use to get it to work, I have that, I just can't figure out how to return the rev num

Shadow503 03-20-2009 02:42 PM

Re: Return DS Rev #
 
Boredom is quite fun: I've been working on a pong mode for our DS using the joysticks. It's not finished yet, but I'll post code once it's done.

3DWolf 03-20-2009 02:47 PM

Re: Return DS Rev #
 
Quote:

Originally Posted by Shadow503 (Post 838530)
Boredom is quite fun: I've been working on a pong mode for our DS using the joysticks. It's not finished yet, but I'll post code once it's done.

Bahahaha that sounds awesome, I cant wait to play it.

byteit101 03-22-2009 09:01 PM

Re: Return DS Rev #
 
I was bored (that is my line that gets the other programmers knowing i wrote something interesting and complex) at the boilermaker, and so i wrote a simple pong, not very long, I have not had a chance to test it, but the other programmers thought that it works. it loops through evry .05 seconds and moves according to the joysticsk, and the ball bounces around negating the direction when it hits bounds.

virtuald 03-23-2009 07:40 PM

Re: Return DS Rev #
 
Quote:

Originally Posted by byteit101 (Post 839450)
I was bored (that is my line that gets the other programmers knowing i wrote something interesting and complex) at the boilermaker, and so i wrote a simple pong, not very long, I have not had a chance to test it, but the other programmers thought that it works. it loops through evry .05 seconds and moves according to the joysticsk, and the ball bounces around negating the direction when it hits bounds.

You should test it with my test harness -- should work, the LCD screen is quite functional for it. :)

byteit101 03-23-2009 09:31 PM

Re: Return DS Rev #
 
Quote:

Originally Posted by virtuald (Post 840091)
You should test it with my test harness -- should work, the LCD screen is quite functional for it. :)

hmm, plug in 2 joystics, download the test harness, play pong. hmmm... sounds like fun:) (and a way to not be bored)


All times are GMT -5. The time now is 10:30 AM.

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