Go to Post A problematic dynamic and culture becomes apparent when failure persists for such a duration and reoccurs so frequently that students begin to accept it as the norm, and never learn the proper way to do things. - sanddrag [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 17-10-2011, 20:57
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
[DFTF] Control System Limbo...

This is part of a series of posts called Drinking From The Firehose on getting Dr Joe back up to speed on All Things FIRST.

Today's topic:
Control System Limbo...

Okay, I hate whiny posts but I guess I don't hate them enough not to do it myself (everyone should follow the golden rule... ...except me). I will try to keep the whine factor as low as I can.

As you all have gathered, I am a rookie again. I finally got the school administration to cut loose enough money to allow me to have our team build a practice chassis (it is going to be a swerver -- yeah, I know I should go for something less aggressive, but sometimes you've got to go big or go home ... and the design has baked in fall back positions so I am not betting the farm on the chassis doing the crab walk... ...but I digress).

BUT... ...as ya'll know from reading Bill's Blog, you (we) can no longer order cRIO FRC1s. Fine. You can order cRIO FRC2s. Okay so far. But... ...they are simply expensive paperweights until kickoff when FIRST publishes the firmware.

Bottom line. There is no way for a rookie team to obtain a new cRIO that they can use to program a practice robot prior to the FIRST season.

Without putting too fine a point on it. This stinks and is yet another reason FIRST needs to have more people with team experience calling the shots.

So... ...here is the point of this post.

What should I do? Should i buy a Vex controller? Should I try to buy or borrow a cRIO FRC1? Should I just roll my own controller?

Advice is welcome.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #2   Spotlight this post!  
Unread 17-10-2011, 21:22
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: [DFTF] Control System Limbo...

Borrow the FRC cRIO1 if you can. The difference is big enough from the IFI systems that you will want to get used to the modern FRC system.
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-10-2011, 21:25
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,548
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: [DFTF] Control System Limbo...

Funny you should mention Vex...

Currently, 2815's cRIO is being serviced by NI. 1293's, for whatever reason, won't accept code.

We plugged in a Vex Cortex controller (going to Victors) into our robot for a demo, and had it running in a couple hours. Upon hearing of our friends' plight (and knowing they were coming to the same demo), we programmed up a second Cortex and brought it with us. In the span of about 90 minutes, we had wired up two Victors (because we weren't 100% certain about the Jaguars that 1293 used) and gotten the Cortex driving their robot with an extra half-hour to spare.

Did I mention that neither team has ever used a Vex controller in this application before?

Put simply, I think you'd do well to use a Vex controller for the signal stuff; if it helps, tape a picture of a cRIO (and the sidecar, and anything else that's missing) in place to help your rookies get an understanding for what'll be on the competition robot. While it's not the same as the new control system, there's clearly value in a system you can get running fast before Thanksgiving and winter breaks and continue to use at your leisure.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-10-2011, 22:22
Aren_Hill's Avatar
Aren_Hill Aren_Hill is offline
Build Nifty Things
no team
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Menlo Park CA
Posts: 1,218
Aren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond reputeAren_Hill has a reputation beyond repute
Re: [DFTF] Control System Limbo...

We got around this by purchasing one of 1625's extra cRio's for the price of one of the new ones, this lets them flip the money and purchase a new one to take advantage of the smaller form factor. You may be able to strike this deal with an area team.

As a rookie it works as we'll get a small one in the kit and use the giant one on the practice robot/kitbot


Quote:
Originally Posted by Joe Johnson View Post
This is part of a series of posts called Drinking From The Firehose on getting Dr Joe back up to speed on All Things FIRST.

Today's topic:
Control System Limbo...

Okay, I hate whiny posts but I guess I don't hate them enough not to do it myself (everyone should follow the golden rule... ...except me). I will try to keep the whine factor as low as I can.

As you all have gathered, I am a rookie again. I finally got the school administration to cut loose enough money to allow me to have our team build a practice chassis (it is going to be a swerver -- yeah, I know I should go for something less aggressive, but sometimes you've got to go big or go home ... and the design has baked in fall back positions so I am not betting the farm on the chassis doing the crab walk... ...but I digress).

BUT... ...as ya'll know from reading Bill's Blog, you (we) can no longer order cRIO FRC1s. Fine. You can order cRIO FRC2s. Okay so far. But... ...they are simply expensive paperweights until kickoff when FIRST publishes the firmware.

Bottom line. There is no way for a rookie team to obtain a new cRIO that they can use to program a practice robot prior to the FIRST season.

Without putting too fine a point on it. This stinks and is yet another reason FIRST needs to have more people with team experience calling the shots.

So... ...here is the point of this post.

What should I do? Should i buy a Vex controller? Should I try to buy or borrow a cRIO FRC1? Should I just roll my own controller?

Advice is welcome.

Joe J.
__________________
A guy who likes robots.
1625->3928->148->1296->971 oh dear
Reply With Quote
  #5   Spotlight this post!  
Unread 17-10-2011, 22:49
Phyrxes's Avatar
Phyrxes Phyrxes is offline
Has done the math, have you?
AKA: Dave Button
no team (No Team, Changed Schools)
Team Role: Teacher
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Gainesville VA
Posts: 489
Phyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant futurePhyrxes has a brilliant future
Re: [DFTF] Control System Limbo...

If you can't find a way to get your hands on a Crio between now and January the idea of an old VEX pic controller or Cortex, if you have them laying around, isn't a bad one. The issue is a new cortex is about the same as the discounted crio without modules.

Is it more important to get this prototype chassis moving or to make it more like a practice bot?
__________________
Dave Button
Physics and Mathematics Teacher
Wakefield School
The Plains, VA

“Simplify and add lightness.”
― Colin Chapman, Team Lotus
Reply With Quote
  #6   Spotlight this post!  
Unread 17-10-2011, 23:32
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: [DFTF] Control System Limbo...

With very little work you could implement a low cost open-source controller using Arduino.

Swerve Bot with low-cost Arduino controller

Everything you need to get this system up and running is available off the shelf...and we have the code to get you going with wifi if you don't want to write it up yourself.

One obvious drawback to this approach is that it doesn't give you any practice with the actual comp hardware. Still cool and cheap.

See here for documentation on the previous iterations of this project...

IPGamePad open-source code
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)

Last edited by ajlapp : 17-10-2011 at 23:36. Reason: added link to google code repository
Reply With Quote
  #7   Spotlight this post!  
Unread 18-10-2011, 06:14
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: [DFTF] Control System Limbo...

Alternatively, although this doesn't give you any real physical experience, using VIRSYS will allow you to teach/learn programming with any of the 3 main languages.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
Reply With Quote
  #8   Spotlight this post!  
Unread 18-10-2011, 13:20
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: [DFTF] Control System Limbo...

Quote:
Originally Posted by Joe Johnson View Post
Bottom line. There is no way for a rookie team to obtain a new cRIO that they can use to program a practice robot prior to the FIRST season.
You've got plenty of nearby teams to talk to. I would be very surprised if none of them had an 8-slot cRIO they could let you borrow.

Quote:
What should I do? Should i buy a Vex controller? Should I try to buy or borrow a cRIO FRC1? Should I just roll my own controller?
Thinking just slightly outside the box, how about partnering with a Beta Test team? That way you could buy a new 4-slot cRIO and use it. If my understanding of geography is not faulty, the Killer Bees aren't far from you at all.
Reply With Quote
  #9   Spotlight this post!  
Unread 18-10-2011, 14:25
EricH's Avatar
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,814
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: [DFTF] Control System Limbo...

Quote:
Originally Posted by Alan Anderson View Post
Thinking just slightly outside the box, how about partnering with a Beta Test team? That way you could buy a new 4-slot cRIO and use it. If my understanding of geography is not faulty, the Killer Bees aren't far from you at all.
Your understanding of geography isn't faulty, but Dr. Joe hasn't updated his location in his profile to reflect that he is in the Boston area (as posted here).

But yes, that would be very helpful on all counts. Not only do you get practice, but the Beta team gets feedback on "rookies are going to need a lot of help on X, Y, and Z, but on A and B, they'll sail right through it".
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

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

Reply With Quote
  #10   Spotlight this post!  
Unread 18-10-2011, 22:43
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: [DFTF] Control System Limbo...

Not that National Instruments will like this, but...
All you need is the DVD. The FRC labview dvd has all of the firmware(they called utilities, but it is firmware plus an imaging tool). the latest images for the CRIO are on the FIRST website(here. For the new system you need image on the CRIO and install the WPI VI for labview(especially if your coding in that)

The instructions on installing the dvd are here. The Labview license allows install as many computers as a team needs, so if another team needs it on your computer I think your fine.
Reply With Quote
  #11   Spotlight this post!  
Unread 19-10-2011, 08:26
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: [DFTF] Control System Limbo...

NI is fine with you using the software on the DVD. The issue is that the 4 slot doesn't have the same enet or FPGA chip. It needs a new image and is only supported by the latest LV edition, not the edition shipped last year, but the one which will ship and is currently being integrated and tested in the Beta program.

This changeover doesn't happen each year -- thank goodness -- but when it does, it causes a synchronization bubble that is working its way through the system during this offseason. I believe that FIRST doesn't expect most rookies to be purchasing controllers, building robots, etc. months and months before kickoff. If you are that rookie team, you seem to be caught on the wrong side of the bubble. The eight slots were still available until a few months ago, and as mentioned, there are thousands in the community. You may even be able to borrow one from a local NI rep.

Greg McKaskle
Reply With Quote
  #12   Spotlight this post!  
Unread 19-10-2011, 18:17
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: [DFTF] Control System Limbo...

A swerve is ambitious enough as it is, don't obfuscate the process any more by developing your software on a different platform.

I echo the sentiments that you should contact a nearby team for an 8-slot cRIO. I would find it hard to believe that there isn't a nearby veteran team who couldn't outright lend one to you.

Heck, anyone who has ever used a DeWalt on an FRC robot should feel downright obligated.

But I digress.

There are little details involving the development tools for the cRIO for which there is no replacement for experience. The toolchain is powerful, but there are tiny details which we experienced folk take for granted...

Believe me, I just stepped through the entire process of:
-configuring the radio/router/ap
-installing NetBeans, JDK
-adding the NetBeans Plugins
-learning/assigning IP addresses for all devices
-creating firewall exceptions for required applications
-installing the NI Tools
-flashing the cRIO
-creating, compiling, uploading a sample program
-installing the driver station software
etc...

Not hard once you figure it all out for the first time, but still a considerable head-end investment that's worth doing now, and having you and a few students do multiple times so they know it back and forwards.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #13   Spotlight this post!  
Unread 19-10-2011, 20:37
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: [DFTF] Control System Limbo...

Thanks all.

As I type, I am in Taiwan, ROC. There is an offer in my inbox for an 8 slot loaner. I will deal with it when I get back to Boston.

Speaking of which, I have updated my profile to reflect my new location.

Thanks to everyone for the help.

Cheers,
Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #14   Spotlight this post!  
Unread 20-10-2011, 09:13
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: [DFTF] Control System Limbo...

Joe,
As a reminder, the Crio needs a 24 volt power supply (19-30 is the published spec, I believe). The Power Distribution Panel (PD in First Speak) provides a boost regulator output at 24 volts for this purpose. The regulator will continue to run down to about 4.5 volts at robot battery input. With the required voltage jumper on the slot 1 analog module, the Crio input sense will disable all output when the robot battery falls to about 5.5 volts so that the Crio will not reboot during a brownout.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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 02:47.

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