|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||||
|
|||||
|
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. |
|
#3
|
|||||
|
|||||
|
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. |
|
#4
|
|||
|
|||
|
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.
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 Last edited by j.cole : 18-01-2011 at 13:08. Reason: adding more |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||||
|
||||||
|
Re: FMS triggered Minibot launch?
Quote:
|
|
#7
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|