Go to Post Thanks and don't stay up all night waiting for Lavery Claus! - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC 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 11-01-2011, 07:51
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Is the FIRST Touch PsoC Board the only option??

Our team wants to use another board for Driver Station I/O this year after so many negative reactions last year. A preliminary reading of the manual does not prohibit this, did we miss something??

TIA
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2011, 08:01
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Is the FIRST Touch PsoC Board the only option??

Definitely not the only option (I can't find any rules prohibiting a different I/O device, can you?)

Check out:
http://www.estoprobotics.com/estore/...d&productId=33
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2011, 08:36
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: Is the FIRST Touch PsoC Board the only option??

It looked like we coud do this, but I've seen FRC do wierd things light this before so I just thought I would confirm before investing money, time, energy, etc

Thanks for your help
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2011, 10:30
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: Is the FIRST Touch PsoC Board the only option??

The Driver Station program is not customizable. Any control device you use will have to be recognized either as a USB joystick/gamepad or as the FRC-programmed Cypress board.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2011, 12:08
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Is the FIRST Touch PsoC Board the only option??

The PSOC board and drivers seem to be better behaved under Win7, especially with DS reboots and sleep/awake cycles. I'm not sure what your negative reactions were, but if that was part of it, you may want to give it another try.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2011, 01:37
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Is the FIRST Touch PsoC Board the only option??

If you want to use a different I/O board, you will have to write all of your own code to send the data to the robot and to access it on the robot, in addition to probably needing to write code for the board itself. It is not against the rules in general, though... you just have to follow any applicable rules.

-Joe
Reply With Quote
  #7   Spotlight this post!  
Unread 12-01-2011, 01:56
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Is the FIRST Touch PsoC Board the only option??

Quote:
Originally Posted by jhersh View Post
If you want to use a different I/O board, you will have to write all of your own code to send the data to the robot and to access it on the robot, in addition to probably needing to write code for the board itself. It is not against the rules in general, though... you just have to follow any applicable rules.

-Joe
I was under the impression that the FMS would prevent communication to the robot that doesn't originate in the Driver Station program. Has this changed this year?
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #8   Spotlight this post!  
Unread 12-01-2011, 02:14
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Is the FIRST Touch PsoC Board the only option??

Quote:
Originally Posted by Radical Pi View Post
I was under the impression that the FMS would prevent communication to the robot that doesn't originate in the Driver Station program. Has this changed this year?
You can see that in R50 they added that you may use UDP ports 1130 and 1140. This is in addition to the TCP port that was available last year (the "camera" port).

R52 states that all signals must come from the OPERATOR CONSOLE, not the Driver Station software.

If I recall UDP 1130 may be used for traffic from the Dashboard (Driver Station Ethernet network cable) to the Robot and UDP 1140 may used for traffic from the Robot to the Dashboard.

-Joe
Reply With Quote
  #9   Spotlight this post!  
Unread 12-01-2011, 02:31
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Is the FIRST Touch PsoC Board the only option??

Quote:
Originally Posted by jhersh View Post
You can see that in R50 they added that you may use UDP ports 1130 and 1140. This is in addition to the TCP port that was available last year (the "camera" port).
Ah, I thought those were only allowed within the robot itself.

On a slightly related note, it is possible to connect two PSoC boards to the DS laptop and prevent one from being seen by the DS app via custom firmware, then use a custom driver to supplement the I/O ports we usually get?
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #10   Spotlight this post!  
Unread 12-01-2011, 02:47
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Is the FIRST Touch PsoC Board the only option??

Quote:
Originally Posted by Radical Pi View Post
On a slightly related note, it is possible to connect two PSoC boards to the DS laptop and prevent one from being seen by the DS app via custom firmware, then use a custom driver to supplement the I/O ports we usually get?
I can't say I've ever tried that. I can't think of an easy way to do it. The DS may only read from the first one, but which one is the first one will probably not be something you have control over aside from unplugging the extra one every time you start the DS.
Reply With Quote
  #11   Spotlight this post!  
Unread 19-01-2011, 13:34
jtechau jtechau is offline
Registered User
AKA: Jeff Techau
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Arroyo Grande, CA
Posts: 21
jtechau is just really nicejtechau is just really nicejtechau is just really nicejtechau is just really nice
Re: Is the FIRST Touch PsoC Board the only option??

Quote:
Originally Posted by Greg McKaskle View Post
The PSOC board and drivers seem to be better behaved under Win7, especially with DS reboots and sleep/awake cycles. I'm not sure what your negative reactions were, but if that was part of it, you may want to give it another try.
For us, that was part of it. We haven't tried it this year, and are hoping to avoid it altogether. Personally, the occasional 1-2 hour uninstall/re-install of the PSoC drivers on the Classmate is not something I'm willing to risk.

On the other hand, the eStop CCI board (cited above by Jared) is not programmable nor does it require Windows drivers. As advertised, it's completely plug and play, and shows up as a "joystick" in the DS software. Ours recently came in, and we haven't tried it yet. But if it works as advertised, it should be a much cleaner and more reliable solution than the Cypress board.
Reply With Quote
  #12   Spotlight this post!  
Unread 20-01-2011, 07:22
John Heden John Heden is offline
Registered User
FRC #1073
 
Join Date: Jan 2011
Location: Hollis, NH
Posts: 29
John Heden is an unknown quantity at this point
Re: Is the FIRST Touch PsoC Board the only option??

This is an interesting thread with references to R50 and the possibility of using UDP port 1140 to communicate from a custom dashboard directly TO the Robot rather than being strictly limited to a handful of joystick & I/O calls. This R50 UDP 1140 reference, however, is under the cRIO-FRC Ethernet Port and perhaps does not apply broadly. R52 states that all communications must originate from the Operator Console and/or Field management system. If 1140 is not blocked, can we transfer small quantities of data TO the robot from our console on this port ? I can’t find any rule that explicitly prohibits this but can’t be sure the FRC system would enable this either. This would open the dashboard for a number of great driver options where they could interact through dashboard virtual screen objects rather than purely physical USB devices…

“If I recall UDP 1130 may be used for traffic from the Dashboard (Driver Station Ethernet network cable) to the Robot and UDP 1140 may used for traffic from the Robot to the Dashboard”
Reply With Quote
  #13   Spotlight this post!  
Unread 21-01-2011, 02:08
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: Is the FIRST Touch PsoC Board the only option??

Rule 75 prohibits anything but the dashboard from sending driver/operator input to the robot.

Personally, I think this rule should be waived assuming you demonstrate that control is turned off during the disabled period (you could do this and not tell them by having the cRIO try to connect back to the PC, or vice versa, and sending it commands that way. You won't have a nice wrapper, though, but joystick drivers will give you the values you already expect from, say, the Joystick class).

There is, however, virtual joystick software, so you can wire up a numpad or keyboard to something: http://headsoft.com.au/index.php?category=vjoy
Reply With Quote
  #14   Spotlight this post!  
Unread 24-01-2011, 15:44
eStop Robotics's Avatar
eStop Robotics eStop Robotics is offline
Partner, eStop Robotics LLC
AKA: Joe Troy
no team
 
Join Date: Jan 2010
Rookie Year: 2000
Location: Aldan, PA
Posts: 16
eStop Robotics has a spectacular aura abouteStop Robotics has a spectacular aura abouteStop Robotics has a spectacular aura about
Re: Is the FIRST Touch PsoC Board the only option??

Greetings from eStop Robotics!

Many thanks to Jared for suggesting our new product the CCI (Custom Controls Interface)!!! The CCI can be used as an input device for the Drivers Station in addition to joysticks, gamepads, and the Cypress PsoC Board.

The CCI has 12 digital inputs and 4 analog inputs. No special SW or drivers to install. It works with your Driver Station PC out of the box. Your cRio programming is also no different than using a joystick, the same functions are used for the CCI as a regular usb joystick.

http://www.estoprobotics.com/estore/...d&productId=33


Good Luck to all the teams!!!
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:51.

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