Go to Post Throughout the "FIRST" experience we're all taught that if we try hard we'll achieve some level of success down the road; it hits everyone differently. - nlknauss [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 02-04-2011, 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
Controlling a Car with the cRio

Aha, I know this is an old video, but I just found this:

http://www.youtube.com/watch?v=_x5IziyOcAg
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.

Last edited by davidthefat : 03-04-2011 at 00:00. Reason: Sarcasm erased
  #2   Spotlight this post!  
Unread 02-04-2011, 23:56
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Controlling a Car with the cRio

A remote control car without a fail-safe braking system and igition kill switch? You're right, that's brilliant! What could possibly go wrong?

Oh right. You could end up with a one or more ton vehicle driving away from you, pedal to the floor, with nothing to stop it but the nearest tree, wall, car, or pedestrian. Well, not the last one, that'd barely slow the car down.

Honestly, pretending to tell people how to do this without explaining the numerous things you need to think about to avoid killing yourself is shockingly irresponsible. And I'm seriously doubting they're capable of telling anyone how to do that safely since they seem to have failed to "engineer" a brake control system that would safely halt the car if they ever lost communications with it. Unless they running a highly modified control system there, those window motors are going to sit there doing nothing once the cRIO loses comms. Or power.

So in summary, this is a horrible idea for the vast majority of teams to try unless they're supervised by an experienced engineer who's actually thought about all the many many ways this could end badly.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 02-04-2011, 23:59
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: Controlling a Car with the cRio

Quote:
Originally Posted by Kevin Sevcik View Post
A remote control car without a fail-safe braking system and igition kill switch? You're right, that's brilliant! What could possibly go wrong?

Oh right. You could end up with a one or more ton vehicle driving away from you, pedal to the floor, with nothing to stop it but the nearest tree, wall, car, or pedestrian. Well, not the last one, that'd barely slow the car down.

Honestly, pretending to tell people how to do this without explaining the numerous things you need to think about to avoid killing yourself is shockingly irresponsible. And I'm seriously doubting they're capable of telling anyone how to do that safely since they seem to have failed to "engineer" a brake control system that would safely halt the car if they ever lost communications with it. Unless they running a highly modified control system there, those window motors are going to sit there doing nothing once the cRIO loses comms. Or power.

So in summary, this is a horrible idea for the vast majority of teams to try unless they're supervised by an experienced engineer who's actually thought about all the many many ways this could end badly.
Now, did you think I was really serious about doing this in real life? I guess sarcasm does not transfer well over the internet.


Yes, listen to him.
__________________
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 03-04-2011, 00:05
Andrew Lawrence
 
Posts: n/a
Re: Controlling a Car with the cRio

Though I'd never do this with a car, I'd like to try it with a go-kart our team is making, or AN ACTUAL COMPETITION BOT!!!!! Just think how cool it would be to turn an iPhone, and have your robot turn!
  #5   Spotlight this post!  
Unread 03-04-2011, 01:12
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Controlling a Car with the cRio

You're right, it doesn't. At the very least, you needed a smiley.

Even so, the criticism of the idiots behind this remians. I looked through their "how we did it" links, and I didn't see a mention of any of the safety issues present in such a system. And the list of ways this could obviously go wrong is pretty impressive:

Lose comms and car keeps doing what it did till you get comms back.
Someone hits Disable and the above happens till you enable.
Someone hits the Stop button and the above till you power cycle the cRIO.
Power is lost and the above till you restore power. (On a moving car)
In fact you similarly lose some/all control of the car if you: trip a breaker, lose power to the radio, lose power to the side car, disconnect the side car, overcurrent the jaguar, kill the watchdog in your code, and anything else that would stop a motor on an FRC bot. Plus more exotic failure mechanisms they've introduced:
Lose a pot and that servo runs away in one direction (full/no gas or brake, or sharp turn).
Lose the analog bumper or power and get the above x3.

I'm sure I've managed to miss a lot of failure modes here, but those are enough to make me question the sanity and common sense of these "engineers". Yes, the car was mostly moving slowly, but it's still going to be a serious problem if it suddenly decides to make a hard left while you're oh so intelligently standing on top of it.

The FRC controller is not an industrial controller. The whole system is set up to operate a very specific kind of robot safely. It can do this because the GDC has written the rules to force you to use it safely. All motors and moving parts are nearly directly controlled by the cRIO. So when the cRIO or any subsystem is disabled, motion stops. Motion doesn't continue doing what it was doing. This is the fundamental error these people made. They used a motor to operate the controls of a much larger machine. So when your tiny machine breaks, the larger on just keeps on plowing through pedestrians.

If they put even the tiniest bit of thought into making this even a little safe, they'd have done the obvious and simple thing. Use a spike to switch on a normally closed relay, and run the car's igition and run signals through this relay. No cRIO, no spike, relay opens and car turns off. It's crude and means the car would then coast until it stopped, but that's still better than a cross-country escapade under full power.

In case it's not obvious, I'm seriously unimpressed with these people claiming to be engineers. And don't get me started on that ridiculous disclaimer. Whether it's legally sound or not, it'd be a pretty poor excuse if someone tried this and got hurt.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #6   Spotlight this post!  
Unread 03-04-2011, 01:24
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Controlling a Car with the cRio

Quote:
Originally Posted by SuperNerd256 View Post
Though I'd never do this with a car, I'd like to try it with a go-kart our team is making, or AN ACTUAL COMPETITION BOT!!!!! Just think how cool it would be to turn an iPhone, and have your robot turn!
To be clear, I don't have any problem with the iPhone control. It's certainly nifty and I considered doing similar with a Nintendo DS back when I had more free time.

My problem is using an FRC control system in a blatantly unsafe manner. When the cRIO dies, motors stop moving. If the motors are the dangerous things, then great. If the motors are controlling dangerous things, then you'd darn well better have physical backups in place that will forcibly and reliably override the motors to make the system safe. This might mean heavy springs to force the brake on and the gas off under loss of power. It might mean a normally open relay to kill the electrical system. But it's going to be something you'll need to think about and implement. At the very least, you need to see if there's some way you can set you motors that would result in the machine moving even without power to the motors or cRIO.

Yes, that goes for your go-kart too. Unless you think a go-kart running into you at full speed is a good idea.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 03-04-2011 at 01:26. Reason: Censoring, fiiiiine...
  #7   Spotlight this post!  
Unread 03-04-2011, 01:56
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Controlling a Car with the cRio

and people say sky-net could never happen, after watching this it makes me hope computers end up being smarter than people. i hope they did that on abandoned roads, with nobody else around.
  #8   Spotlight this post!  
Unread 03-04-2011, 02:52
LightWaves1636's Avatar
LightWaves1636 LightWaves1636 is offline
is all over it.
AKA: Sarah Le
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 603
LightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to beholdLightWaves1636 is a splendid one to behold
Send a message via AIM to LightWaves1636 Send a message via Yahoo to LightWaves1636
Re: Controlling a Car with the cRio

It was never driven on the road....EVER.

It was all done in NI's parking lot and then once they were done filming, they took it a part and put it on a demo board. It was even shown off at FIRST World Championships last year. In fact the car is still in the parking garage sitting there like a rock. (a beaten one, but still).

There were safety precautions in place(NI Legal would have flipped if they didn't), just cause it's not shown in the video doesn't mean it isn't there. The main objective was to inspire people to do creative projects and show what can be done with NI Hardware and LabVIEW; the reason they used the "FRC Control System"(and I use this loosely) was to motivate FRC teams to do more off-season projects, thus the NI Booth at FWC. It didn't have to be a car, it could be something else that NI wants to see teams think of on their own like a t-shirt cannon robot or a soda dispensing robot.

Also I'm pretty sure they used an actual cRIO, not the FIRST modified one. (Pay attention, did you see the FIRST Logo on the cRIO, no, the full powered cRIO is on there) But they did use the PDB, Digital Sidecar, and other parts that are familiar in FIRST so that students can go "Hey, we have those parts, it is possible to use them for other projects than just the FRC Robot". Remember, the FRC cRIO is not the real cRIO. cRIOs are quite wickedly awesome (the real ones, not the FRC ones.) - if it's awesome enough to be used on aircrafts, than cool, why not projects that are just pure fun

or even projects with a purpose. Check this out, FPGA and cRIO running vehicles that allows the blind to drive.
http://decibel.ni.com/content/docs/DOC-11443
http://www.romela.org/blinddriver/Bl...iver_Challenge

BEAR
http://labviewrobotics.wordpress.com...of-all-trades/

Also, FYI, FRC code was not used for this project. Just because you see a CIM Motor, the FRC PDB, and other familiar parts doesn't mean they solely used FRC stuff, this wasn't a project that revolved around FRC.

Also it's a fun video to show off a fun project. Although I'm more favored towards their use of NI DAQ to play video games with real guns (or rubber bands) or playing Super Mario with just your eyes.

Lastly, Mythbusters, even Adam & Jamie admit that all they do is slap things together, do what they can, do what they hope works, and see if it works plus Jaime cannibalized a RC Car to put theirs together. They didn't start using NI Hardware(Yes, Mythbusters uses NI Hardware now) until the Two Bullets Physics Problem project (which by the way, they used a cRIO) - they love their NI DAQ.
__________________
FLL Team - Hackberry Hill Elementary - Arvada, CO ('08 - '10 Coach)
FRC Team 1636 - Reds Robotics - Arvada High School - Arvada, CO ('05 - '07 Alumni)
FRC Team 1583 - Rambotics - Ridgeview Academy - Watkins, CO (Volunteer/Supporter)
FRC Team 2859 - Blasterbots - CSM Robotics Outreach - Golden, CO ('09 - '10 Coach)
FRC Team 3320 - Miracles & Machines - Eastside Memorial High School - Austin, TX ('10 - '12 Mentor)

Last edited by LightWaves1636 : 03-04-2011 at 04:53. Reason: grammar issues, more clarification
  #9   Spotlight this post!  
Unread 03-04-2011, 08:39
Matt Howard's Avatar
Matt Howard Matt Howard is offline
Submarine Sailor
FRC #1622 (Spyder)
Team Role: Coach
 
Join Date: Mar 2009
Rookie Year: 2005
Location: Poway, CA
Posts: 86
Matt Howard has a spectacular aura aboutMatt Howard has a spectacular aura aboutMatt Howard has a spectacular aura about
Re: Controlling a Car with the cRio

Quote:
Originally Posted by Kevin Sevcik View Post

The FRC controller is not an industrial controller.
Yes it is. It's just a nerfed down benchtop unit. We have a bunch of them on our Virginia boats.
__________________

-2010 Las Vegas Regional Judges Award
-2010 Las Vegas Regional Safety Award
-2010 San Diego Regional GM Industrial Design Award
-2010 San Diego Regional Excellence in Design Award
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


All times are GMT -5. The time now is 05:12.

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