Go to Post Wait hold the phone. Do you mean its physically possible to not spend time on robotics during the season?!!! Too much.......for brain......to compute!...goes against.....beliefs........aaaaarrrrrrghhhhhh!!! [syntax error] - BuddyB309 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 18-01-2011, 12:10
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
FMS triggered Minibot launch?

Does any one know if the FMS signal that triggers the tower bases to switch the lights to the team colors at the 10 seconds remaining point will be available to the Robot Control Systems?

If so, automating the launch of the Minibot would be possible, thus removing the human response time delay.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2011, 12:31
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: FMS triggered Minibot launch?

Actualy it is possible. In teleoperated you can get the match data from the little pink TypeDef Cluster Named "Match Info" (off to the left of where the Open "Left and Right Motor" VI is) It should have an unbundle by name coming off of it. you take that data and wire it to a case that says if "TeleOp Elapsed" is >= 45 (45 comes from 60 sec. - the 15 seconds that you want to be left) then set relay to 1. I can't do it right now because im not on a computer with LabView right now but if you'd like i can do it later.

not 60 seconds (feels like 10 while on the field) the match is 2 minutes (120 sec.) minus 15 sec. (endgame)
so If "TeleOp Elapsed" >= 105 Then Set Relay to 1.
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.

Last edited by j.cole : 18-01-2011 at 12:36. Reason: 120 sec teleop not 60 sec
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2011, 12:39
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: FMS triggered Minibot launch?

Except there has been a flaw in FMS match timing for a few years that actually makes the Teleop portion of the matches a few seconds longer than they should be.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2011, 12:43
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,632
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: FMS triggered Minibot launch?

We're trying to put this into our system. Instead of a simple "DEPLOY MINIBOT" button, it will be a "ARM/DEPLOY" button. If the timer is at the endgame point, then hitting the button deploys immediately; else it sits in place 'armed' to deploy at the right time.

Of course, there will be an override as well.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2011, 12:57
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,609
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: FMS triggered Minibot launch?

In answer to the original question, the only info coming from the FMS is Auton/Teleop Mode and Enabled/Disabled. There isn't anything in the data structure concerning additional match timing events. So, as everyone here is suggesting, your only option for doing this is to start a timer at the beginning of teleop + enabled, and then wait an appropriate amount of time before deploying.

And as yet others have noted, the timing of FMS match events may not be in perfect agreement with your timing on the robot.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2011, 13:05
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: FMS triggered Minibot launch?

The other point I'd like to throw in is that no matter how accurate to the millisecond our deployment is, we will all be dealing with human ref speeds.
If human psychology thinks we're deploying too soon, then we'll get a penality.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 18-01-2011, 13:05
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: FMS triggered Minibot launch?

True there may be a delay. For all those that want to implement this I would recommend you not do it because a penalty outweighs just teaching your co-pilot to press a button when a sound goes off. In the end its your call.


Quote:
Originally Posted by billbo911 View Post
This is exactly why I asked the question the way I did.


I just feel that triggering off the FMS signal that generates the visual indication will be the most accurate and reliable trigger.
Yes you could have the camera sense when the base of the tower changes color but it would waste your camera and it might be inaccurate
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.

Last edited by j.cole : 18-01-2011 at 13:08. Reason: adding more
Reply With Quote
  #8   Spotlight this post!  
Unread 18-01-2011, 13:11
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,748
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: FMS triggered Minibot launch?

Just to pile on, the elapsed time value in the framework is a local cRIO timer because there are no official timestamps or time values in the protocol.

For a short duration like an FRC match, the independent clocks are obviously close enough, but if the FMS does something like start the timer after the sound finishes, that may explain the difference. Does the match time issues exist in the FMS Lite? Can you use that to determine if the time is consistent, but long by x seconds?

Greg McKaskle
Reply With Quote
  #9   Spotlight this post!  
Unread 18-01-2011, 13:27
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,560
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: FMS triggered Minibot launch?

Quote:
Originally Posted by Greg McKaskle View Post
For a short duration like an FRC match, the independent clocks are obviously close enough, but if the FMS does something like start the timer after the sound finishes, that may explain the difference. Does the match time issues exist in the FMS Lite? Can you use that to determine if the time is consistent, but long by x seconds?
Here is the original thread about the issue: http://www.chiefdelphi.com/forums/sh...ad.php?t=84584
Reply With Quote
  #10   Spotlight this post!  
Unread 18-01-2011, 13:08
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,112
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: FMS triggered Minibot launch?

Trigger deployment when the base changes back to the alliance color.

[edit]I mean use the camera to see the actual visual indication. You don't need to tap into the FMS signal that generates that indication.[/edit]

Last edited by Alan Anderson : 18-01-2011 at 13:17.
Reply With Quote
  #11   Spotlight this post!  
Unread 18-01-2011, 12:52
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: FMS triggered Minibot launch?

Quote:
Originally Posted by Mark McLeod View Post
Except there has been a flaw in FMS match timing for a few years that actually makes the Teleop portion of the matches a few seconds longer than they should be.
This is exactly why I asked the question the way I did.

According to <G02>:
Quote:
<G02> The AUTONOMOUS PERIOD ends when the ARENA timer displays zero seconds. The MATCH ends if all TOWERS are TRIGGERED or when the ARENA timer displays zero seconds, whichever comes first.

During the AUTONOMOUS PERIOD, the BASES will be illuminated in yellow. During the TELEOPERATED PERIOD, BASES will be illuminated with their ALLiANCE color. At 15 seconds before the end of the MATCH, BASES will flash yellow, while TARGET lights will flash green. At 10 seconds before the end of the MATCH, when HOSTBOTS may DEPLOY their MINIBOT without penalty, BASES will illuminate with the appropriate ALLIANCE color, while......
I just feel that triggering off the FMS signal that generates the visual indication will be the most accurate and reliable trigger.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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 04:45.

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