Go to Post You have no idea how happy I am that so many are taking an interest into accomadating their off season competitions for pre-rookies. - Keith Chester [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 13-12-2011, 09:24
levydev levydev is offline
Registered User
FRC #0116
 
Join Date: Oct 2011
Location: northern va
Posts: 13
levydev is an unknown quantity at this point
Driven Station options?

Hello,
I'm a first year mentor and would like to gain some insight as to the options the team has in configuring their Operator Interface. From what I understand, the OI's LabView Driver Station is locked down for safety reasons. That makes sense from the perspective of how and when the Driver Station makes communication out to the robot control system. But what are the options for the Driver Station's inputs. From what I can see Labview has the ability to recognize USB joystick inputs as well as inputs from a Cypress board.

Is it possible to configure the LabView Driver station to receive other inputs - i.e. from a usb connection to an Arduino board , or a labview vi that receives inputs from a socket, or possibly via a java api?

I know there are options for configuring the OI Dashboard but have heard that can only be used for outputs from the Driver Station.

Unfortunately , I can't launch my expired eval of LabView until the team receives its license, and thus an unable to poke around. )

Thanks,
-David
Reply With Quote
  #2   Spotlight this post!  
Unread 13-12-2011, 09:46
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Driven Station options?

-In the past, the Driver Station has allowed 4 USB joysticks and the Cypress board. It is compiled, and no user code can run from it directly.

-With the new Kinect beta, there is a separate KinectServer (written in C#) which talks over UDP to the Driver Station (Which bundles it with the driver data packet). While I can't say a ton, you can modify this as much as you want, and could use some of the extra data fields for your own purposes (it has a few extra fields which are fairly easy to use). Assuming you still want to use Kinect, unfortunately you are stuck with C#.

-There are a few TCP/UDP ports which are open to the robot, and the Dashboard can use those to communicate with the robot, but you're on your own with that.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #3   Spotlight this post!  
Unread 13-12-2011, 10:03
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,062
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Driven Station options?

Quote:
Originally Posted by apalrd View Post
Assuming you still want to use Kinect, unfortunately you are stuck with C#.
What? I don't have as much info on this as you do (not a Beta team and don't have access to a CRIO at the moment) but it seems to me that if you are communicating via UDP packets you could write this in any language you could run on the laptop.
__________________




.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-12-2011, 11:26
levydev levydev is offline
Registered User
FRC #0116
 
Join Date: Oct 2011
Location: northern va
Posts: 13
levydev is an unknown quantity at this point
Re: Driven Station options?

Quote:
Originally Posted by apalrd View Post
- you can modify this as much as you want, and could use some of the extra data fields for your own purposes (it has a few extra fields which are fairly easy to use). Assuming you still want to use Kinect, unfortunately you are stuck with C#.
Anyone using OpenKinect?

Quote:
Originally Posted by apalrd View Post
-
-There are a few TCP/UDP ports which are open to the robot, and the Dashboard can use those to communicate with the robot, but you're on your own with that.
Another process sending instructions to the robot? Would that be FRC legal since the untouched Driver Station would still be able to shutdown the robot?
Reply With Quote
  #5   Spotlight this post!  
Unread 13-12-2011, 11:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,566
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Driven Station options?

Quote:
Originally Posted by apalrd View Post
-With the new Kinect beta, there is a separate KinectServer (written in C#) which talks over UDP to the Driver Station (Which bundles it with the driver data packet). While I can't say a ton, you can modify this as much as you want, and could use some of the extra data fields for your own purposes (it has a few extra fields which are fairly easy to use). Assuming you still want to use Kinect, unfortunately you are stuck with C#.
It's not true that to use the Kinect you need to use C#. You can use the built-in gestures without anything special (it looks like a normal joystick). You can also process the kinect skeleton on the robot. I suspect more teams will do this then modify the kinect server, since they can do the processing in a language they're more familar with (LabVIEW, C++, Java, etc).
Reply With Quote
  #6   Spotlight this post!  
Unread 13-12-2011, 11:50
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Driven Station options?

Adding extra data to the Kinect packet that goes to the DS (in Kinect Server) is a possible method of getting more data to the robot, which would require you to edit the existing C# code or re-implement it.


I don't see any safety reason to disallow more data over TCP/UDP sockets, as the actual disabling of the robot is done in the FPGA by FRC Network Communications (based on the Driver Station packet).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #7   Spotlight this post!  
Unread 13-12-2011, 12:14
levydev levydev is offline
Registered User
FRC #0116
 
Join Date: Oct 2011
Location: northern va
Posts: 13
levydev is an unknown quantity at this point
Re: Driven Station options?

Wonderful! I guess I've been making the wrong assumption in that the solution would only be FRC legal if the driver station is used as the sole conduit for sending instructions to the robot.
My impression now is that as long as the driver station is running, the team should be good to go.

Thanks for the quick responses!

David
Reply With Quote
  #8   Spotlight this post!  
Unread 13-12-2011, 13:08
EricH's Avatar
Happy Birthday! EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,784
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Driven Station options?

Quote:
Originally Posted by levydev View Post
Wonderful! I guess I've been making the wrong assumption in that the solution would only be FRC legal if the driver station is used as the sole conduit for sending instructions to the robot.
My impression now is that as long as the driver station is running, the team should be good to go.

Thanks for the quick responses!

David
I think your impression would not pass muster on a 2011 field. There is a collection of rules that would prohibit that. For 2012, this may change... but for 2011, the applicable rules were:
<R52> (All signals to the router on the robot had to originate with the field or the Operator Console, and no other router was legal.)
<R79> (No communication to, from, or within the Operator Console except for the field comm system.)
<R75> (The only thing allowed to communicate operating mode and state was a particular version of Driver Station software--device running it was up to the team.)
<R76> (Any device hosting the Driver Station software had to only connect via the provided Ethernet cable to the field communication system.)

So, if these rules don't change from last year, IMO, your impression is incorrect. If they do change, it may be correct or incorrect.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

Reply With Quote
  #9   Spotlight this post!  
Unread 13-12-2011, 14:10
levydev levydev is offline
Registered User
FRC #0116
 
Join Date: Oct 2011
Location: northern va
Posts: 13
levydev is an unknown quantity at this point
Re: Driven Station options?

Thanks EricH. Are you saying that some of the suggestions made on this thread are not applicable to years past?
- "There are a few TCP/UDP ports which are open to the robot, and the Dashboard can use those to communicate with the robot"
- "Your program(s) to do with as you will. It (or they) doesn't have to even be a dashboard, but there are various default apps available to choose from..... Inputs from any accessible source can be sent to the robot"


I know this is the first year for the Kinect and I'll certainly wait to here more one that....

thanks
David
Reply With Quote
  #10   Spotlight this post!  
Unread 13-12-2011, 14:34
EricH's Avatar
Happy Birthday! EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,784
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Driven Station options?

The basic framework is:

control devices-->device running Driver's Station (hardwire)-->Field communication (via Ethernet)-->Robot Router (wireless)-->cRIO (hardwire)

Not knowing what the port types are that are mentioned, if they don't bypass the above framework, they should be OK. However, if they do bypass the framework, then there just might be a problem.

Considering that some of the responders are on Beta Test teams, they may know a little bit more about what's being considered than I do. However, I think we'll all find out 1/7/12 what is and isn't legal.

Edit for clarity: To be clear, I was responding to the assumption that "as long as the driver station is running, the team should be good to go". The previous assumption (driver's station as sole conduit) is perfectly valid; the assumption in question is questionable and depends on implementation.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk


Last edited by EricH : 13-12-2011 at 14:44.
Reply With Quote
  #11   Spotlight this post!  
Unread 13-12-2011, 15:30
levydev levydev is offline
Registered User
FRC #0116
 
Join Date: Oct 2011
Location: northern va
Posts: 13
levydev is an unknown quantity at this point
Re: Driven Station options?

Quote:
Originally Posted by EricH View Post
the assumption in question is questionable and depends on implementation.
Good point. You know what they say about assumptions

Lets say the team has the appropriate version of the driver station installed on the OI PC and is using it to pass joystick inputs to the robot. All standard stuff and legal so far...

In addition, the OI PC has a custom app running that is receiving usb input from a button sensor on an arduino board.
Is that alone legal for 2011?

Furthermore - the custom app, upon receiving input over usb, sends a tcp packet to the robot to perform an action.
still legal for 2011?"
Reply With Quote
  #12   Spotlight this post!  
Unread 13-12-2011, 16:05
EricH's Avatar
Happy Birthday! EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,784
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Driven Station options?

Quote:
Originally Posted by levydev View Post
Lets say the team has the appropriate version of the driver station installed on the OI PC and is using it to pass joystick inputs to the robot. All standard stuff and legal so far...

In addition, the OI PC has a custom app running that is receiving usb input from a button sensor on an arduino board.
Is that alone legal for 2011?
I don't see anything that would make it illegal.

Quote:
Furthermore - the custom app, upon receiving input over usb, sends a tcp packet to the robot to perform an action.
still legal for 2011?"
As long as it sends it over the competition network, I see no reason it wouldn't be.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

Reply With Quote
  #13   Spotlight this post!  
Unread 13-12-2011, 14:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,566
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Driven Station options?

Quote:
Originally Posted by levydev View Post
Thanks EricH. Are you saying that some of the suggestions made on this thread are not applicable to years past?
- "There are a few TCP/UDP ports which are open to the robot, and the Dashboard can use those to communicate with the robot"
- "Your program(s) to do with as you will. It (or they) doesn't have to even be a dashboard, but there are various default apps available to choose from..... Inputs from any accessible source can be sent to the robot"
All of the methods posted in this thread were legal in 2011, except for the Kinect. Other methods that you think of would need to be evaluated against the rules that Eric posted.
Reply With Quote
  #14   Spotlight this post!  
Unread 13-12-2011, 09:46
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,797
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: Driven Station options?

I may be forgetting something...

Driver Station application:
  • 4 USB standard game controllers/joysticks (can also be custom controls wired in as a standard game controller)
  • Cypress FirstTouch inputs/outputs
  • I/O tab controls, as an alternative to the Cypress
  • Text message output display
  • For 2012: F1 (Enable), Enter (disable), space bar (emergency stop)
No additional inputs can be incorporated.
Dashboard or other custom apps:
  • Your program(s) to do with as you will. It (or they) doesn't have to even be a dashboard, but there are various default apps available to choose from.
  • Kinect server is one instance of a custom user default program. Check the Beta teams forum on advance word
  • Outputs whatever you want
  • Inputs from any accessible source can be sent to the robot
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-12-2011 at 20:42.
Reply With Quote
  #15   Spotlight this post!  
Unread 13-12-2011, 14:48
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Driven Station options?

Quote:
Originally Posted by levydev View Post
Unfortunately , I can't launch my expired eval of LabView until the team receives its license, and thus an unable to poke around. )

Thanks,
-David
Do you have access to the LabVIEW 8.6 DVD from last year. The LabVIEW is good untill late January 2012 (past the date you will have the new 2012 kit of parts)

You can install that and "poke around" with the robot stuff from last year.
You can install it on more than one computer (up to about 20 PCs used for FIRST)
For FRC 2012 we will be using LabVIEW 2011.
__________________
Omar
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 16:35.

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