Go to Post I'm about to brain myself on a wall in frustration! - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-04-2015, 19:00
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Five Second Delay at Beginning of TeleOp

Quote:
Originally Posted by CorruptedArk View Post
That could be it. Do they go to disabled before teleOp during a match? I thought it went straight to teleOp from autonomous.
Here are the mode transitions from the FMS Whitepaper:
Quote:
Autonomous Disable - state prior to match start
Autonomous Enable - Autonomous period
Autonomous Disable - end of Autonomous period
Teleop Disable - end of Autonomous period, prior to start of Teleop period
Teleop Enable - Teleop period
Teleop Disable - end of Teleop/match end
Reply With Quote
  #2   Spotlight this post!  
Unread 01-04-2015, 19:08
CorruptedArk's Avatar
CorruptedArk CorruptedArk is offline
Registered User
FRC #1528
 
Join Date: Apr 2015
Location: Monroe, Michigan
Posts: 4
CorruptedArk is an unknown quantity at this point
Re: Five Second Delay at Beginning of TeleOp

Quote:
Originally Posted by RufflesRidge View Post
Here are the mode transitions from the FMS Whitepaper:
Thanks, I didn't know about that. I think that's the source of our troubles.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-04-2015, 09:19
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Five Second Delay at Beginning of TeleOp

Quote:
Originally Posted by CorruptedArk View Post
Thanks, I didn't know about that. I think that's the source of our troubles.
The Timer.delays are something I've been combating for years now. I really believe the tutorials that utilize it do a disservice in the long term.

Yes, I can acknowledge that it helps teams get up and running quickly, but teaches bad practices, and has the potential to create really confusing scenarios when you start utilizing command based programming.

Here's a post I wrote on it last year...

http://www.chiefdelphi.com/forums/sh...27&postcount=2

I realize that it's late in the season to change how you handle this, but in future seasons please reconsider using Timer.delay for anything other than giving the brain a break.
__________________
"Never let your schooling interfere with your education" -Mark Twain
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 10:49.

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