Go to Post The sign applause was definately one of the best moments I had ever witnessed at a FIRST event. Who knew silence could be so loud? - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-04-2010, 22:50
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Regarding The cRio

http://sine.ni.com/nips/cds/view/p/lang/en/nid/203964

I am assuming that is the cRio that we get... Is it legal to used a 2nd crio on your robot? Its a PowerPC based controller... Thats interesting isnt it? My mentor said that he was willing to buy another cRio for me to practice on, so why not use 2 on the robot?
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #2   Spotlight this post!  
Unread 04-04-2010, 22:53
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Regarding The cRio

Umm, i dont know. i do have a quick question for you though. Are you prepared to have two robots to program for? They cannot have any communication with either eachother or the world, and there is only one gaming adapter. At most, i'd use an arduino, but a whole other cRIO, i wouldn't.
  #3   Spotlight this post!  
Unread 04-04-2010, 23:00
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by Robototes2412 View Post
Umm, i dont know. i do have a quick question for you though. Are you prepared to have two robots to program for? They cannot have any communication with either eachother or the world, and there is only one gaming adapter. At most, i'd use an arduino, but a whole other cRIO, i wouldn't.
My mentor thinks its most wise to work on the processor the final robot would have... I want to use 2 cRios on one robot because I think a ATmegaa284p won't have enough juice to run the image processing from multiple sensors very efficiently...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #4   Spotlight this post!  
Unread 04-04-2010, 23:00
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Re: Regarding The cRio

Hmmmm...

Quote:
<R56> ROBOTS must be controlled via the programmable National Instruments cRIO-FRC (National Instruments part number 780406-01). Other controllers shall not be used.

Custom circuits and additional electronics are allowed to utilize the Port 2 Ethernet bus and/or the CAN-bus to communicate between devices. Note however, that the ROBOT must be controlled by the cRIO-FRC (see Rule <R56>). Thus, any additional devices on the Ethernet or CAN-bus must not provide command signals that do not originate from the cRIO-FRC It is our intent to incrementally open access to the full control system technologies in a controlled manner that reduces the risk of “unanticipated surprises” as we gain experience with the system.
That's what the competition manual says; I'm not sure how to interpret it or how you plan to use the other cRIO.

Edit: And also <R22> as mentioned above.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
  #5   Spotlight this post!  
Unread 04-04-2010, 23:03
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by Al3+ View Post
Hmmmm...

<R56> ROBOTS must be controlled via the programmable National Instruments cRIO-FRC (National Instruments part number 780406-01). Other controllers shall not be used.

Custom circuits and additional electronics are allowed to utilize the Port 2 Ethernet bus and/or the CAN-bus to communicate between devices. Note however, that the ROBOT must be controlled by the cRIO-FRC (see Rule <R56>). Thus, any additional devices on the Ethernet or CAN-bus must not provide command signals that do not originate from the cRIO-FRC It is our intent to incrementally open access to the full control system technologies in a controlled manner that reduces the risk of “unanticipated surprises” as we gain experience with the system.

That's what the competition manual says; I'm not sure how to interpret it or how you plan to use the other cRIO.
I have a theory that you can use the port 2 ethernet port and connect the crio from the port one. Some one end of the enternet goes to the # 1 port then into the #2 port of the other and the camera goes on the 2nd post of #1
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #6   Spotlight this post!  
Unread 04-04-2010, 23:05
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Regarding The cRio

As far as communications go, the second ethernet port on the cRio (one that communicates to FMS) can be used to talk to the second cRio.

Quote:
<R68> All outputs from sensors, custom circuits and additional electronics shall connect to only
A. other custom circuits, or the following:
B. additional COTS electronics, or
C. input ports on the Digital Sidecar, or
D. input ports on the Analog Breakout, or
E. the RS-232 DB-9 serial port on the cRIO-FRC, or
F. the Ethernet bus connected to Port 2 of the cRIO-FRC,
Emphasis mine.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #7   Spotlight this post!  
Unread 04-04-2010, 23:07
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by biojae View Post
As far as communications go, the second ethernet port on the cRio (one that communicates to FMS) can be used to talk to the second cRio.



Emphasis mine.
Its also probably possible to hook up another microcontroller as a Digital I/O
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #8   Spotlight this post!  
Unread 04-04-2010, 23:14
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Regarding The cRio

Quote:
Originally Posted by davidthefat View Post
Its also probably possible to hook up another microcontroller as a Digital I/O
Which is correct, but if you have an ethernet port on your microcontroller (or 2nd cRio) why wouldn't you want to get 1 or more megabytes per second throughput?

Going through GPIO is going to be slower then ethernet.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #9   Spotlight this post!  
Unread 04-04-2010, 23:21
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by biojae View Post
Which is correct, but if you have an ethernet port on your microcontroller (or 2nd cRio) why wouldn't you want to get 1 or more megabytes per second throughput?

Going through GPIO is going to be slower then ethernet.
If I have an ethernet port on the microcontroller (not a 2nd cRio) where would the camera plug in if the 2nd port is used up? Not using it on the microcontroller, its too much for it
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #10   Spotlight this post!  
Unread 04-04-2010, 23:28
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Regarding The cRio

Quote:
Originally Posted by davidthefat View Post
If I have an ethernet port on the microcontroller (not a 2nd cRio) where would the camera plug in if the 2nd port is used up? Not using it on the microcontroller, its too much for it
According to this Q&A post : http://forums.usfirst.org/showthread.php?t=14423

Quote:

"<R68> Says the Ethernet bus connected to Port 2 of the cRIO-FRC may be used.

Does this mean that a network switch may be used to communicate between devices on the bus as long as the command signals originate from the cRIO-FRC?"

Yes.
Now keep in mind that rules change from year to year, these are only this year's.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #11   Spotlight this post!  
Unread 04-04-2010, 23:29
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by biojae View Post
According to this Q&A post : http://forums.usfirst.org/showthread.php?t=14423



Now keep in mind that rules change from year to year, these are only this year's.
A network switch! Never thought of that
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #12   Spotlight this post!  
Unread 04-04-2010, 23:40
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,058
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Regarding The cRio

If I recall correctly theres a rule somewhere restricting the amount you can spend on a single electronic components. I think it was $400, so that excludes the cRio (which you can get one at a discount from NI for something like $1500 I think).
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #13   Spotlight this post!  
Unread 04-04-2010, 23:41
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: Regarding The cRio

I don't think you can count an extra cRIO as KOP component. Also, would the cost be considered 750 or 1400 dollars (the offseason rate vs full)
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #14   Spotlight this post!  
Unread 04-04-2010, 23:41
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

http://zone.ni.com/wv/app/doc/p/id/wv-1291/nextonly/y
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #15   Spotlight this post!  
Unread 04-04-2010, 23:52
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

http://www.robotshop.com/roboard-rb-...omputer-2.html

this sounds like a better investment: its cheaper (way cheaper) and its C++
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Closed Thread


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
Reimaging the cRio Issues there are no cRio devices on the subnet Stuart FRC Control System 2 25-02-2009 23:41
Question about Rules regarding the cRIO tbd FRC Control System 1 08-02-2009 12:52
What are the rules regarding joysticks, etc. for the Operator Interface? itay_ms Rules/Strategy 1 17-01-2007 12:16
An excellent discussion on #firstrobotics regarding Vex and the future of the US sanddrag General Forum 18 25-03-2006 17:56
Regarding <G13> - placement of the tetra by the human player. Leav Rules/Strategy 7 02-02-2005 10:26


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

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