Go to Post there is no such thing as too many offseason competitions. - Berserker [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 28-10-2010, 23:51
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
Control Board

Has anyone tried using a different type of microcontroller for the control board other than the Cypress? My team and I are going to write our own dashboard program and I would like to use an interface that is more familiar to me like an Arduino. Does anyone know if this is even acceptable in the rules?
Reply With Quote
  #2   Spotlight this post!  
Unread 28-10-2010, 23:54
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: Control Board

I in no way have a definitive answer for this, but I believe the DS is coded to only work with the cypress as an I/O board. If you were feeling fancy though, if you managed to make your board look like a HID joystick it should be recognized as such by the DS app and be able to be accessed like a standard joystick
__________________

"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
  #3   Spotlight this post!  
Unread 29-10-2010, 00:10
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: Control Board

One possibility is the use of something like Happ's USB Game Control Interface (http://www.happcontrols.com/joysticks/950800xx.htm). Basically, it breaks out a slew of raw I/O pins from the USB port, and it is HID compliant. It also fits under past years' cost allowances. There are a variety of buttons, switches, joysticks, and levers sold by Happ that are designed to work with it, but I would imagine that just about anything could be hooked up as long as the levels match up.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-10-2010, 01:08
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
Re: Control Board

Thanks for the replies. I didn't even think of something that sophisticated. However we are going to make our own DS and a networking library to read the data from the DS. So I was thinking like a microcontroller with serial communication? (the Happs interface definitely looks interesting and I will look at it more but I'm not entirely sure how I would implement it. Have you used it before?) Also, does anyone have suggestions for a networking framework for our custom dashboard? I was looking at OSC (http://www.opensoundcontrol.org) or just straight TCP. Any recommendations? Things you've used in the past?

Last edited by vinnie : 29-10-2010 at 01:26.
Reply With Quote
  #5   Spotlight this post!  
Unread 29-10-2010, 09:33
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: Control Board

Quote:
Originally Posted by vinnie View Post
Has anyone tried using a different type of microcontroller for the control board other than the Cypress? My team and I are going to write our own dashboard program and I would like to use an interface that is more familiar to me like an Arduino. Does anyone know if this is even acceptable in the rules?
For a dashboard program, anything goes.

It sounds like you're talking about the driver station program, though. I expect that next year's rules will let you use whatever hardware you want as a controller, so long as it connects to the Driver Station using only USB. I also expect that the required DS software will work only with the provided breakout board (i.e. Cypress) and with controllers which implement the USB HID protocol (e.g. joysticks). So if things don't end up significantly more restrictive than I believe they will be, USB HID is basically your only constraint.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-11-2010, 00:24
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Control Board

Quote:
Originally Posted by vinnie View Post
Thanks for the replies. I didn't even think of something that sophisticated. However we are going to make our own DS and a networking library to read the data from the DS. So I was thinking like a microcontroller with serial communication? (the Happs interface definitely looks interesting and I will look at it more but I'm not entirely sure how I would implement it. Have you used it before?) Also, does anyone have suggestions for a networking framework for our custom dashboard? I was looking at OSC (http://www.opensoundcontrol.org) or just straight TCP. Any recommendations? Things you've used in the past?
As Alan stated, everything has to go through the provided DS app in competition.

That being said, if you are still interested in hacking up a custom control protocol, I would say go for it. FRC doesn't really expose students to network programming, so this could be a cool little project.

OSC would work fine for this (it's just a fancy layer on top of UDP). I would not reccomend using a TCP stream to drive the robot. Basically, it turns out TCP is pretty good at delivering data reliably, with the cost of reduced speed. UDP is quicker, with the cost of possible data loss. I'll leave it up to you to figure out why both of these things are bad, but one is worse than the other in terms of driving something real time.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-11-2010, 22:23
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
Re: Control Board

Ya I thought it would be a fun learning experience also. In some of the earlier posts, it seems that I was glossing over the distinctions between the DS and Dashboard. Sorry about that. What I wanted to do was somewhat hacky but it would transmit data from buttons and such from the PC to the robot as well as receive and display data from the robot. The FIRST Driver Station would be left unmodified of course. A semi-related question: do you know what ports are open on the field?

Last edited by vinnie : 01-11-2010 at 22:31.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-11-2010, 23:18
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: Control Board

Quote:
Originally Posted by vinnie View Post
A semi-related question: do you know what ports are open on the field?
The official answer is only the ones in use by the control system.

The actual answer is whatever the FTA actually set it up to be
__________________

"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
  #9   Spotlight this post!  
Unread 11-09-2011, 22:33
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: Control Board

Hey. I know how to use OSC and OSCulator. But, how would you connect this to the DS. What is all this UDP and TCP stuff??? Please help me!!
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
New control Board Goodesta General Forum 4 08-10-2009 02:02
Folding Control Board? ENavy07 Control System 10 20-01-2007 22:21
Lights in Joystick board or control board rcubes85 Control System 15 26-02-2005 23:40
frying control board Denman Technical Discussion 7 07-07-2004 19:11
Control Board Mr. Ivey Programming 17 04-02-2003 22:29


All times are GMT -5. The time now is 03:25.

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