Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   New Driver Station information (http://www.chiefdelphi.com/forums/showthread.php?t=78955)

Joe Ross 13-11-2009 14:23

New Driver Station information
 
I put together a presentation about the new classmate Drivers Station hardware and software. It's posted on the FIRST forums: http://forums.usfirst.org/showthread.php?t=13368

Hopefully this answers a lot of people's questions about the new Drivers Station.

Mark McLeod 13-11-2009 16:04

Re: New Driver Station information
 
Thanks Joe!

I'm glad to see the cRIO Image version display and Phil Malone's Pinger status as part of it.

The built-in practice match is nice too.

I hope the space bar disable is itself disabled during a real field match.
I'd hate to be one of the drivers who lean on that accidentally...

I can hear the lead queuer's new warning call:
"Start your Driver Stations now!"

EricVanWyk 14-11-2009 08:58

Re: New Driver Station information
 
Thanks Joe, Looks Great!

Billfred 14-11-2009 09:23

Re: New Driver Station information
 
Looks like it has potential.

Can someone confirm that this should be the spare battery? (I imagine some teams will opt to have a spare on the cart for fear that they'll get paired with That Team That Didn't Get The Memo About Battery Life. You know that team.)

Greg McKaskle 14-11-2009 16:49

Re: New Driver Station information
 
When connected to the FMS, enable and disable buttons are hidden along with team station selector. The field is in charge of robot state, and the keys do nothing.

There is one exception to this that is pending approval and relates to joysticks.

As for the shout out. I'd like to join in and thank the beta testers from this year and last. Many of the DS improvements are directly swiped from utilities they had written, and of the best features are there because they asked/insisted they be put in. Now that the info is getting a wider audience, I'd encourage others to offer their suggestions and feedback on the FIRST forums.

Greg McKaskle

Joe Ross 15-11-2009 10:15

Re: New Driver Station information
 
Quote:

Originally Posted by Billfred (Post 882500)
Looks like it has potential.

Can someone confirm that this should be the spare battery? (I imagine some teams will opt to have a spare on the cart for fear that they'll get paired with That Team That Didn't Get The Memo About Battery Life. You know that team.)

That's a 6 cell battery, while the classmate normally comes with a 4 cell. I believe that is the replacement, but you know how the GDC is with replacement/spare/upgrade parts and not modifying the control system and all that. I certainly wouldn't buy anything until well after kickoff.

Clinton Bolinger 18-11-2009 14:01

Re: New Driver Station information
 
Is there a way to attach an actual disable switch instead of the usb Easy button?

Our team actually uses a 3-position dead man's switch to enable the robot, when testing our robot off the field and would like to continue to use it.

-Oris-

Alan Anderson 18-11-2009 14:39

Re: New Driver Station information
 
Quote:

Originally Posted by Oris (Post 883161)
Is there a way to attach an actual disable switch instead of the usb Easy button?

It's not hard to connect whatever switches you want to the Driver Station. You can program your own "dead man" function to turn off all potentially dangerous actuators based on that input.

Greg McKaskle 18-11-2009 22:24

Re: New Driver Station information
 
Glad to hear that you are using additional safety precautions. If you have any issues actually connecting it, please ask, as I certainly don't want to see you drop a safety convention due to the new stuff.

As mentioned, I'd suggest wiring the switch to the I/O module. In your code where you feed the user watchdog, AND in the state of the switch. You could go further and actively kill the watchdog if you like. Note that I don't actually have the WPILib stuff in front of me, so I think it is kill that you'd call, but I can't be sure.

Greg McKaskle

byteit101 19-11-2009 20:43

Re: New Driver Station information
 
Quote:

Originally Posted by Greg McKaskle (Post 883268)
Note that I don't actually have the WPILib stuff in front of me, so I think it is kill that you'd call, but I can't be sure.

yes,
GetWatchdog().Kill();

I don't know how you would AND in the state for feed (or any other function), it has no arguments. You would have to use an if.
Code:

From: Watchdog.h
        bool Feed();
        void Kill();
        double GetTimer();
        double GetExpiration();
        void SetExpiration(double expiration);
        bool GetEnabled();
        void SetEnabled(bool enabled);
        bool IsAlive();
        bool IsSystemActive();


Greg McKaskle 20-11-2009 07:30

Re: New Driver Station information
 
Sorry about that. I was just using AND as shorthand for performing the Feed only if current conditions AND the safety switch indicate it is True.

If this doesn't make sense, ask again. I'll leave the actual implementation to the experts such as yourself.

Greg McKaskle

EricVanWyk 20-11-2009 08:47

Re: New Driver Station information
 
Quote:

Originally Posted by Greg McKaskle
When I'm asked the question, "What is the most important computer language to learn to prepare me for a programming career?"; my answer is, "Your second one."

I think this confusion comes directly from thi type of thinking. When several language agnostics are speaking generally, they communicate in a pseudo language that then gets translated to reality. Understanding the pseudo language also makes programming on ones own much easier.

gokul 11-01-2010 08:50

Re: New Driver Station information
 
The presentation is very nice and useful, thanks!

It refers to (page 4) the DS application version that works on any PC (but only for beta teams). Is this available somewhere now ?

I would like to install this on a standard laptop if possible.

Ideas, suggestions ?

Many thanks

Greg McKaskle 11-01-2010 09:15

Re: New Driver Station information
 
The update for the DS should work on any Windows computer, not just a Classmate laptop.

Greg McKaksle

gokul 11-01-2010 10:22

Re: New Driver Station information
 
Thanks Greg!

That worked.

Now if someone can upload the unprotected control sys documentation so that we can print, that would be nice.

Gopal


All times are GMT -5. The time now is 22:59.

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