Go to Post Own your words. - Joe Johnson [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 02-02-2005, 15:51
patTeam241 patTeam241 is offline
College Student
AKA: Pat Cleary
no team
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 54
patTeam241 will become famous soon enoughpatTeam241 will become famous soon enough
Send a message via AIM to patTeam241
Backup autonomous code if a Radio Dropout Occurs

I was wondering if I could program some kind of autonomous code to kick in if we have a radio signal dropout. Would this work?
  #2   Spotlight this post!  
Unread 02-02-2005, 15:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,586
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by patTeam241
I was wondering if I could program some kind of autonomous code to kick in if we have a radio signal dropout. Would this work?
No, because as a safety feature, the robot disables all the outputs when there isn't a radio signal.
  #3   Spotlight this post!  
Unread 02-02-2005, 18:02
tkwetzel's Avatar
tkwetzel tkwetzel is offline
Good Luck Teams!
AKA: Tyler Wetzel
FRC #0116 (Epsilon Delta)
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2003
Location: Charleston, WV
Posts: 1,241
tkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond repute
Send a message via AIM to tkwetzel
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by Joe Ross
No, because as a safety feature, the robot disables all the outputs when there isn't a radio signal.
Why don't r/c cars do this? I forgot to raise the antenna on my transmitter and then couldn't figure out why I lost control when my car when it got about 200 yards from me. It is a little disturbing when your r/c car hits a curb at 45-50 mph .

Well, thinking about it, when disabled, do servos return to their center location? If not, they could be disabled when the radio signal is lost, but there is one servo for throttle and one servo for steering, so it would keep going at it's current speed and angle/turning degree which is what it does.
__________________
See you in DC!

Last edited by tkwetzel : 02-02-2005 at 18:05.
  #4   Spotlight this post!  
Unread 02-02-2005, 18:08
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by tkwetzel
Why don't r/c cars do this? I forgot to raise the antenna on my transmitter and then couldn't figure out why I lost control when my car when it got about 200 yards from me. It is a little disturbing when your r/c car hits a curb at 45-50 mph .
I think your RC car was operating on static. I've seen cheaply made rc cars jerk around when the transmitter isn't working...

You shouldn't have any problems with reception at competition; the signal is very strong and if it isn't, everyone's robots would be jerking around. That would be FIRST's fault, not yours. What were you doing when it dropped out? I haven't seen the radio drop out at all when we were doing anything.
__________________
Aren't signatures a bit outdated?
  #5   Spotlight this post!  
Unread 02-02-2005, 18:26
tkwetzel's Avatar
tkwetzel tkwetzel is offline
Good Luck Teams!
AKA: Tyler Wetzel
FRC #0116 (Epsilon Delta)
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2003
Location: Charleston, WV
Posts: 1,241
tkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond reputetkwetzel has a reputation beyond repute
Send a message via AIM to tkwetzel
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by JBotAlan
I think your RC car was operating on static. I've seen cheaply made rc cars jerk around when the transmitter isn't working...

You shouldn't have any problems with reception at competition; the signal is very strong and if it isn't, everyone's robots would be jerking around. That would be FIRST's fault, not yours. What were you doing when it dropped out? I haven't seen the radio drop out at all when we were doing anything.
I know that the signal at competition should be good, but was wondering why they don't put a safety feature like that on some of the radios used by r/c cars. And my car was just definately out of range of the transmitter. Also...it wasn't cheap at all.
__________________
See you in DC!
  #6   Spotlight this post!  
Unread 02-02-2005, 18:55
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,554
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: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by tkwetzel
I know that the signal at competition should be good, but was wondering why they don't put a safety feature like that on some of the radios used by r/c cars. And my car was just definately out of range of the transmitter. Also...it wasn't cheap at all.
At the risk of continuing a threadjacking, they make fail-safes for nitro-powered R/C cars. I'm not too familiar with them, but they'll return a servo to neutral (or full brake, can't remember) if there's no signal.
__________________
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.
  #7   Spotlight this post!  
Unread 02-02-2005, 22:53
Muhnki's Avatar
Muhnki Muhnki is offline
Got a Bannana?
#1562 (Robo Hobos)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Denver Colorado
Posts: 8
Muhnki is an unknown quantity at this point
Re: Backup autonomous code if a Radio Dropout Occurs

You Can also program in a "heart beat" that shuts down the bot after radio connection is lost
__________________
Every one blames it on the programmer
  #8   Spotlight this post!  
Unread 02-02-2005, 23:10
Jeff K.'s Avatar
Jeff K. Jeff K. is offline
Hmm..now what?
FRC #1138 (Eagle Engineering)
Team Role: Alumni
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Chatsworth, California
Posts: 706
Jeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond reputeJeff K. has a reputation beyond repute
Send a message via AIM to Jeff K. Send a message via MSN to Jeff K.
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by tkwetzel
Why don't r/c cars do this? I forgot to raise the antenna on my transmitter and then couldn't figure out why I lost control when my car when it got about 200 yards from me. It is a little disturbing when your r/c car hits a curb at 45-50 mph .

Well, thinking about it, when disabled, do servos return to their center location? If not, they could be disabled when the radio signal is lost, but there is one servo for throttle and one servo for steering, so it would keep going at it's current speed and angle/turning degree which is what it does.

Nitro cars don't necessarily have a brake, they just sort of slow down...slowly until they're at a full stop, but probably the servo you had just left it at the position it was at before because I know that there is supposed to be a spring or something like that that releases the throttle and brings the servo back to neutral, so maybe the spring that was in your car had fallen out...I dunno...I may be totally wrong. But nitro cars are cool. What size is yours, 1/8, 1/10?
  #9   Spotlight this post!  
Unread 03-02-2005, 00:12
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Backup autonomous code if a Radio Dropout Occurs

Quote:
Originally Posted by tkwetzel
Well, thinking about it, when disabled, do servos return to their center location?
On their own? No. In RC cars? Dunno. On the FRC? Yes, because when there is no signal, all PWMs go to 127.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
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
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18
variable? manodrum Programming 11 01-04-2003 17:20
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


All times are GMT -5. The time now is 19:20.

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