|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Small FMS timer bug
It appears the FMS does not properly measure time during the matches. It seems to add about 5 seconds to each 2-minute match. I noticed this while watching a webcast of the Milwaukee Regional and doing some timing measurements for something unrelated on my computer, and confirmed it while I was at the Midwest Regional this past weekend (to make sure it wasn't somehow related to the webcast).
I don't really think this is a big deal or anything; it's more of an interesting curiosity. However, I wonder how many matches teams have lost due to something that occurred in the last 5 seconds when the match should have been over? I'm pretty sure this has happened to us more than once. It's a little irritating to think that we may have won some of those matches if FIRST had followed their own rules... (I know, we've probably won some in those last 5 seconds too so it probably evens out...)Last edited by Dave Flowerday : 23-03-2010 at 17:37. |
|
#2
|
||||||
|
||||||
|
Re: Small FMS timer bug
Quote:
The reason I asked is that I have just asked our coders to implement an automatic brake feature that puts the brake on our winch with 3 seconds left - I don't like depending on our drivers to remember in the heat of battle if it is easily fixed. From what our coders have been able to discover, there is no "what is the match time" function available on the cRio -- on the Classmate, yes, but not the cRio. So... no problem. We can watch for the first enable after Auton Mode and start counting seconds. When we get to 117, time to throw the brake with 3 seconds to spare... ...except now do we have to wait until 122? Hmmm... Anyone have a more elegant solution? Joe J. Last edited by Joe Johnson : 23-03-2010 at 18:19. |
|
#3
|
||||
|
||||
|
Re: Small FMS timer bug
Make your driver do 100 pushups every time he forgets.
-John |
|
#4
|
|||
|
|||
|
Re: Small FMS timer bug
You've been spending too much time around Paul...
Anyways, this is an interesting issue... never considered that time would be off... Its curious how (supposedly) this bug was introduced in 2009, and not detected until now. As has already been stated, maybe the best route at this point is to let this bug live its life for the remainder of this year, and kill it next year. |
|
#5
|
||||
|
||||
|
Re: Small FMS timer bug
This is very interesting. I know that a problem similar to this existed in 2004 as I personally timed matches at the CT regional in Hartford that year.
The 2004 peoblem seems to have been a bit worse as each match was an unperdictable length (some longer and some shorter than 2 minutes, with some off by as many as 12 seconds!) I would say that if the timing is off in a consistent manner this is less of a problem that is matches have inconsistent length. I wonder how the FMS calculates time...(not a programmer so that may be a rhetorical question...) Rob |
|
#6
|
|||
|
|||
|
Re: Small FMS timer bug
Incorrectly.
|
|
#7
|
|||||
|
|||||
|
Re: Small FMS timer bug
If it's always a consistent extra 5 seconds, I have no problem with it. It gives the students 5 more seconds of play each match and maybe win.
|
|
#8
|
||||
|
||||
|
Re: Small FMS timer bug
I don't know if this is unrelated or not, but when you start a practice match on the Classmate, about 5 seconds (just remembering here) is elapsed before it enables the robot for autonomous.
|
|
#9
|
|||
|
|||
|
Re: Small FMS timer bug
They are probably not related because the DS practice mode was written without knowledge of or access to the code of the FMS. The practice mode defaults to having a five second countdown -- the DS ticks down the seconds, before it starts the sound effect and the auto period.
Is that the five seconds you are commenting on? If so, you can change it in the setup tab. Greg McKaskle |
|
#10
|
||||
|
||||
|
Re: Small FMS timer bug
Yes it is, thanks Greg.
|
|
#11
|
||||
|
||||
|
Re: Small FMS timer bug
Quote:
Quote:
Last edited by Joe Johnson : 23-03-2010 at 18:20. |
|
#12
|
|||||
|
|||||
|
Re: Small FMS timer bug
Quote:
|
|
#13
|
|||
|
|||
|
Re: Small FMS timer bug
Definitely let someone at FIRST know about this one -- post it to the official forums.
Greg McKaskle |
|
#14
|
||||
|
||||
|
Re: Small FMS timer bug
Quote:
I know if you are using labview you can return an elapsed teleoperated time as a variable (which may be more "official") you can reference in your code. I don't know if it is the same for C++ and Java but you should look into it. |
|
#15
|
|||
|
|||
|
Re: Small FMS timer bug
The LV framework computes the time the same way as mentioned. It counts from the first Tele packet received.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FMS Light 2010? | alectronic | General Forum | 1 | 04-02-2010 09:28 |
| Finding FMS Lite | Jon236 | Off-Season Events | 5 | 29-09-2009 13:44 |
| [FTC]: FMS | saaby | FIRST Tech Challenge | 4 | 02-02-2009 17:12 |
| [FTC]: Field Timer (similer but not the FMS) | team2845 | FIRST Tech Challenge | 0 | 19-12-2008 17:52 |
| Small bug | Jay Lundy | CD Forum Support | 1 | 18-06-2001 17:03 |