Go to Post Why is it considered shameful to do the smart thing? As the saying goes, "I don't make the rules, I just live by them." - Chris Hibner [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: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,695
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
  #2   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,708
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
  #3   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,833
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
  #4   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
  #5   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,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: 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
  #6   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,579
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
  #7   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,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: 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
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 21:13.

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