Go to Post We would expect our bot to be done by Week 5, but usually its about a day or two before shipping and then the ever-famous "all nite programmin' n driva trainin'" is done. - Bharat Nain [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2011, 19:49
Us3rNam3's Avatar
Us3rNam3 Us3rNam3 is offline
Is LabVIEW code lighter than C++?
AKA: Tristan
FRC #1625 (Winnovation)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Winnebago, IL
Posts: 17
Us3rNam3 is an unknown quantity at this point
Numpad on Driver Station?

would it be possible to use a usb numpad as controller input? If not what would be a suitable substitute for the maximum amount of buttons?

Please and Thank you
__________________
DFTBA. NERDFIGHTERIA FOREVER!

J'adore les robo.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2011, 23:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Numpad on Driver Station?

The Driver station software will not recognize anything other than an HID joystick/game controller and the Cypress I/O board.
A numpad will not work.

The Cypress board gives you a lot of input choices, or you can purchase http://www.estoprobotics.com/estore/...d&productId=33
which behaves like a standard joystick.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2011, 00:54
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Numpad on Driver Station?

You can set up a custom input scheme if you don't mind doing some programming. In fact, this way you could use practically any USB peripheral -- easiest, however, would be a keyboard or numpad which requires no libraries.

All the rules seem to have to say about this is that all communications must pass through the driver station. And, intuitively, you should only be able to use your custom controls when the robot is active, in teleoperated mode.

EDIT:

I stand corrected, as per rule 75.

Quote:
The Driver Station software provided on the FRC website (www.usfirst.org/frc/kitofparts) is
the only tool permitted to collate driver/operator inputs and communicate them to the
ROBOT. The Driver Station software must be revision 01.05.11.00 or newer.
This seems to imply you could send automated information to the cRIO bypassing the driver station. You could even lawyer it, and provide a layer of abstraction and cause a program to send automated information to the cRIO based on operator input! I somehow don't think they'll go for that, though.

Either way, this seems like a pretty stupid misinformed rule to me. Sure, you want everything to shut down when you tell it to, but assuming the driving code is within the predefined functions (except the disabled[...] ones), nothing bad would happen. Even with Murphy's Law, I doubt anyone is that unobservant.

You could perhaps demonstrate safety to an inspector (or just not tell them about it), but I wouldn't rely on it. Alternatively, http://headsoft.com.au/index.php?category=vjoy. That's probably the best option.

Last edited by sjspry : 21-01-2011 at 01:05.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2011, 08:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Numpad on Driver Station?

What terrible suggestions
Cheating and ignoring the rules to your own benefit or because you just don't feel like it, is not recommended.
It builds the wrong kind of character...

In these forums please work on making valuable contributions I'm sure you're capable of, that benefit impressionable readers (not just the posters) who don't realize your bad advice could get their robot disqualified, their reputation sullied, and their season ruined.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-01-2011 at 09:50.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2011, 08:53
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Numpad on Driver Station?

Quote:
Originally Posted by sjspry View Post
This seems to imply you could send automated information to the cRIO bypassing the driver station.
In addition to flaunting the rules, what purpose would be served by sending automated information from an operator console laptop to the cRIO. Why not just store the information on the cRIO in the first place?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2011, 09:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Numpad on Driver Station?

Quote:
Originally Posted by Vikesrock View Post
In addition to flaunting the rules, what purpose would be served by sending automated information from an operator console laptop to the cRIO. Why not just store the information on the cRIO in the first place?
Here's a serious answer: it's a lot more convenient to modify a file on the laptop. You wouldn't have to power up the robot and have it online in order to make changes.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2011, 10:23
Lightfoot26's Avatar
Lightfoot26 Lightfoot26 is offline
Just Out For A Rip, Bud...
AKA: Seth Lightfoot
FRC #1625 (Winnovation)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Winnebago, IL
Posts: 120
Lightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really nice
Re: Numpad on Driver Station?

Quote:
Originally Posted by Mark McLeod View Post
or you can purchase http://www.estoprobotics.com/estore/...d&productId=33
which behaves like a standard joystick.
I just stumbled upon this as well, and think it will be our best option, thanks!
__________________
Winnovation Team 1625 (2010-??)
  • Electrical/Programming Captain (2011-2013)
  • Auxiliary Driver (2012-2013)
  • Team Captain (2013)
  • Alumni (Graduated May 2013)
  • Electrical and Programming Mentor (2014-??)
Reply With Quote
  #8   Spotlight this post!  
Unread 22-01-2011, 18:01
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Numpad on Driver Station?

Quote:
Originally Posted by Vikesrock View Post
In addition to flaunting the rules, what purpose would be served by sending automated information from an operator console laptop to the cRIO. Why not just store the information on the cRIO in the first place?
... That was a serious suggestion (also, I wasn't flaunting the rules) ...

It's been said before about how hard it is to convey tone through text. And yeah, it's still hard. Regardless of the tone of my post, however, there is no reason which says I must respect the rules, only I must follow them: If I've read them and considered their purpose, I believe I have a valid claim to calling them ridiculous.

I would still suggest trying the virtual joystick software. In my opinion, it beats having to buy new hardware. Another thing I have a problem with is having to use the input devices they tell me to. I can understand them wishing all driver input to go through the station (though, as I said, it doesn't necessarily need to to remain safe), but restricting it to one type of input is absurd and restrictive.
Reply With Quote
  #9   Spotlight this post!  
Unread 22-01-2011, 18:19
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Numpad on Driver Station?

Quote:
Originally Posted by sjspry View Post
... That was a serious suggestion (also, I wasn't flaunting the rules) ...

It's been said before about how hard it is to convey tone through text. And yeah, it's still hard. Regardless of the tone of my post, however, there is no reason which says I must respect the rules, only I must follow them: If I've read them and considered their purpose, I believe I have a valid claim to calling them ridiculous.

I would still suggest trying the virtual joystick software. In my opinion, it beats having to buy new hardware. Another thing I have a problem with is having to use the input devices they tell me to. I can understand them wishing all driver input to go through the station (though, as I said, it doesn't necessarily need to to remain safe), but restricting it to one type of input is absurd and restrictive.
And I was asking a serious question in response. Alan provided a perfectly valid answer that makes sense.

You can use any USB input device you want. You just have to write the custom USB driver to make it look like a HID joystick or gamepad to the Driver Station software.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #10   Spotlight this post!  
Unread 22-01-2011, 18:31
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Numpad on Driver Station?

Quote:
Originally Posted by Vikesrock View Post
And I was asking a serious question in response. Alan provided a perfectly valid answer that makes sense.

You can use any USB input device you want. You just have to write the custom USB driver to make it look like a HID joystick or gamepad to the Driver Station software.
And I was saying there's no reason why that should need to be done.
Reply With Quote
  #11   Spotlight this post!  
Unread 22-01-2011, 18:35
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Numpad on Driver Station?

Quote:
Originally Posted by sjspry View Post
And I was saying there's no reason why that should need to be done.
So who should be writing the code to support arbitrary input devices if not the teams? How would you propose supporting arbitrary input devices while keeping the DS software closed source?

Note: This is a serious question, not sarcastic.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 22-01-2011 at 18:54.
Reply With Quote
  #12   Spotlight this post!  
Unread 22-01-2011, 18:53
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Numpad on Driver Station?

Quote:
Originally Posted by Vikesrock View Post
So who should be writing the code to support arbitrary input devices if not the teams?
This has nothing to do with code-writing. If I want some new input device, I have to buy something to use it, and probably some new hardware. If they'd remove rule 75, there'd be no problem (in relation to this post, he'd be able to use his numpad). Just have an inspector verify that nothing has a chance to move during the disabled stage (and no one would probably set it up this way, due to obvious reasons...)
Reply With Quote
  #13   Spotlight this post!  
Unread 22-01-2011, 18:56
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Numpad on Driver Station?

Quote:
Originally Posted by sjspry View Post
That's my point. If I want some new input device, I have to buy something to use it, and probably some new hardware.
A device driver is software that you write. You don't have to buy anything as far as I am aware.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #14   Spotlight this post!  
Unread 22-01-2011, 18:58
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Numpad on Driver Station?

Quote:
Originally Posted by Vikesrock View Post
A device driver is software that you write. You don't have to buy anything as far as I am aware.
If he wanted to use a numpad/keyboard, he'd have to buy a USB encoder and interface it to the encoder. And perhaps I wish to pre-interpret my USB device's data? There's no provisions for sending it to the robot after that.
Reply With Quote
  #15   Spotlight this post!  
Unread 22-01-2011, 19:18
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Numpad on Driver Station?

Quote:
Originally Posted by sjspry View Post
Just have an inspector verify that nothing has a chance to move during the disabled stage (and no one would probably set it up this way, due to obvious reasons...)
Even if you could find an inspector with the time, you would need a field to show him/her that. Pretty much every regional I've ever been to, the practice and competition fields are booked quite solid.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:04.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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