![]() |
[FTC]: FTC Software Requirements
Everyone,
You may have received a message that you need to upgrade software for the FTC Challenge. I want to reiterate that current FTC rules require that you have version 7 of the Master Code loaded on your robot controller. This is the final item on the FTC 2007 Inspection List. If you are competing in an upcoming event, please be sure to upgrade as soon as possible. This upgrade is not a trivial matter and requires some additional work on your part following the upgrade. At the Chicago Regional, over the weekend, most of the delay in inspecting was due to the need to upgrade the software. Don't be a team that misses a match because you needed to do a critical software upgrade. Good Luck and have fun! |
Re: [FTC]: FTC Software Requirements
Many teams experienced the same difficulty at the Missouri FTC Championship Tournament last week in St. Louis. The delays that this created were no fun for the teams involved, or for the event staff.
Having incorrect master code in your robot will not only cause it to fail the final inspection checklist item. It will prevent your robot from behaving correctly when its controller is connected to the FTC field control system. |
Re: [FTC]: FTC Software Requirements
If you're wondering "How do I find the master code?" in easyC, here's how:
If you are receiving connection errors, please refer to the help file (search for "COM Port"). If you have any other questions, please feel free to contact intelitek via phone, email (support@intelitek.com) or post on ChiefDelphi. Thanks! |
Re: [FTC]: FTC Software Requirements
For organizers, keep in mind that some teams may not even own the programming kit or EasyC, and therefore will have no way of upgrading their robots before arriving at the competition.
Also be aware that flashing new master code onto the robot will erase the user program. I think we had some trouble with this in Chicago, where teams had to get their master code upgraded but then did not have a copy of their code with them to re-download. Richard, did someone tell you that the older master code will prevent your robot from working with the field? That seems unlikely given the way the Vex robots work - I assumed the newer master code was more related to correct operation of autonomous mode. |
Re: [FTC]: FTC Software Requirements
Quote:
However, this disruption may have been caused by other factors such as incomplete electrical connections to the field control system, or incorrectly inserted crystals. We'll set up some tests under controlled conditions and report what we find, probably later this week. |
Re: [FTC]: FTC Software Requirements
Quote:
As I understand it, when the Vex robot is powered on, it waits until it sees a signal from the transmitter (any transmitter that is on the right frequency - the team number is not part of the signal like it is in FRC). Once it sees this signal it will begin autonomous mode, and I think it will continue until the 20 seconds is up (even if the transmitter signal goes away). Because of this, we've seen problems where the Vex robots will take off in autonomous mode even when the team's transmitter is disabled by the control system and the cause ends up being that someone else had a transmitter on the same frequency and that triggered the robot to start moving. Thus it is really important to make sure that teams are not operating wirelessly when they shouldn't be. |
Re: [FTC]: FTC Software Requirements
Quote:
Quote:
Quote:
We did have an issue where crystals may have been the reason for erratic behavior in another match; it was replayed. Interference from another team was unlikely, as the pits were in a different room across the hall. Is there any evidence of cell phone interference? |
Re: [FTC]: FTC Software Requirements
I was one of the software inspectors at the Chicago competition and have a few comments/thoughts.
This single biggest problem that we had were teams that hadn't done any programming whatsoever. These teams came to the competition with the thought that they weren't going to move in autonomous, and were going to use the default tank/arcade code to drive. This is all fine and dandy except for the fact that they didn't have the latest master code, nor did they have the latest template. Upgrading the master code wiped out the default code. As far as I could tell, there isn't "default" code available that follows the latest template. This required someone (read me) to quickly come up with simple drive code for them before they had to play in the first match. Another problem that we faced was upgrading teams from old to new templates. The issue was that EasyC doesn't allow copy/past from one project to another (as far as I could tell). I got a tip from a team to do the following. 1. In the old templated project, create a new function (i.e. MyAutonomous, MyOperator) 2. Copy/Paste all the code needed into that function 3. Save the project as a library 4. Open the new template 5. Load the recently created library. This will add the functions in the library (MyAutonomous, MyOperator) to the User Functions section 6. Drop the user function blocks into the Autonomous and Operator blocks. 7. Save the new template as a new project. The best advice I can pass on is to start the software inspection process early. This took way longer than expected and caused a few teams to miss a match. If you are on an FTC team and know about software, please talk to the teams around you in the pits and make sure that they understand what needs to be done to be compliant with the rules. |
Re: [FTC]: FTC Software Requirements
Quote:
An intermittent power connection could cause a FTC robot to reset. I've seen a lot of students swinging their batteries by the cables. Also, I have had issues with FRC backup batteries having intermittent connections at the Molex connector. I would check the suspect robot by gently pulling and shaking the power wires. Mike |
Re: [FTC]: FTC Software Requirements
Quote:
Copying and pasting between projects is not allowed, but you have the ability to copy your code as a user function and import it into the new project. To do this:
|
Re: [FTC]: FTC Software Requirements
Quote:
Quote:
|
Re: [FTC]: FTC Software Requirements
Quote:
|
Re: [FTC]: FTC Software Requirements
Quote:
A better version of it would be useful as a teaching aid (allow teams to use it but not distribute the source?); but let's not forget that the students are supposed to learn how to give their machines software instructions... Who has the right brilliant suggestion that stikes the correct balance between supporting learners and not rewarding sloth? Blake |
Re: [FTC]: FTC Software Requirements
This happened last season and will continue to be an issue especially with new teams constantly being introduced to the FTC. The scrimmage that was held at Georgia Tech on Nov. 18th had several similar issues. I spent about 2/3rds of the entire competition inspecting robots for the correct master code and template. Despite repeated announcements to teams that they NEEDED to have this done or else things may/will not run properly, many still fielded robots without the check being done. Since this was just a scrimmage, we did not have a hard and fast rule that teams MUST pass inspection prior to competing.
During the day, my role grew from just verifying correct code to:
Many teams that did write their own code did not bring a copy with them so their program was lost when the new master code was loaded. Now obviously for the purposes of a scrimmage and to benefit the majority of brand new teams that did not even know what a competition template was, I obviously went ABCD. (That’s short for above and beyond the call of duty for those wondering). But during a competition, I can pretty much vouch for most inspectors and say that their roles will be limited to purely pass/fail with regards to robot code. My take is that a pre-competition scrimmage is invaluable to teams if inspections are done comparable to that performed at the competition. When we have our pre-competition scrimmage in February, we plan to perform inspections just like those teams will encounter at the competition. They will get a copy of the inspection check list with things to correct. We did this last year and it worked very well, although there were still one or two teams that did not correct the deficiencies and were gigged by the inspectors at the competition. Finally, I agree that the default code in all 3 FTC acceptable programming languages would be a great benefit if available to embed in the competition template. Even an abbreviated version could prove to be a time saver to those teams that just want to plug and go. The EasyC version would probably be the most utilized. |
Re: [FTC]: FTC Software Requirements
Quote:
rswmay - My experiences definitely sound similar to yours. I have been saying that had my (and the other software inspector) not been involved in FRC/FTC and were just random people off the street that the day would have turned out very differently. |
Re: [FTC]: FTC Software Requirements
Quote:
|
Re: [FTC]: FTC Software Requirements
Regarding re-entry into autonomous mode - low battery voltage can cause th e robot to re-enter autonomous mode.
1) Motors pull enough current to reduce the voltage below that required to run the processor. 2) Processor stops running 3) Motors turn off 4) Voltage goes up and processor reboots (into autonomous as if match were starting again) 5) Cycle repeats |
Re: [FTC]: FTC Software Requirements
At the Virginia FTC Tournament our robots were initially failed at software inspection (we were ultimately allowed to compete, but only after a match was missed by one of our teams)
Our robots (teams 226 and 369) programmed with MPLAB were using the correct version of master code and software libraries for FTC competitions. The software had performed flawlessly on a regulation competition field at the Battlefield scrimmage two weeks earlier. After reviewing the documentation since returning home it is clear that our robots were being inspected according to the criteria specified on page 7 of “Appendix 2 – Programming Information” available from the FIRST web site. The information on page 7 applies only to robots programmed using EasyC. If you look at the table of contents; pages 3-7 apply to EasyC V 2, page 8 applies to EasyC Pro, and page 9 to MPLAB. The first repeat of the master code version, the message “Autonomous(20)”, the repeat of the master code version again, and the message “OperatorControl(254)” shown on page 7 are only displayed when running a robot programmed with EasyC. These were the messages which I was told were not correctly appearing when our robot was powered up. When using MPLAB these messages do not appear. In addition, Interrupt Jumper 6 must be INSTALLED to enable autonomous when using MPLAB. With EasyC installing Interrrupt Jumper 6 disables autonomous. The software inspection procedure needs to be fixed. |
| All times are GMT -5. The time now is 12:32. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi