Log in

View Full Version : Return DS Rev #


3DWolf
20-03-2009, 10:07
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
20-03-2009, 10:13
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
20-03-2009, 10:21
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
20-03-2009, 14:42
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
20-03-2009, 14:47
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
22-03-2009, 21:01
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
23-03-2009, 19:40
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 (http://www.chiefdelphi.com/forums/showthread.php?t=75811) -- should work, the LCD screen is quite functional for it. :)

byteit101
23-03-2009, 21:31
You should test it with my test harness (http://www.chiefdelphi.com/forums/showthread.php?t=75811) -- 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)