|
Re: [FTC]: FTC Software Requirements
Quote:
Originally Posted by Dave Scheck
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.
|
Dave,
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: - Right click on "Autonomous", select "Copy"
- Give it a unique name, just as you stated above. Do the same for Operator Control. Save the project.
- Open a new template and right click on "User Functions". Select "Add Existing Function".
- Select your file and click on the Expand icon to see your created user functions. Select one and hit "Add". Do the same for both functions.
- Copy your code from your created functions into "Autonomous" and "Operator Control". You do not need to delete your imported functions afterwards.
__________________
jessicaboucher.com
FRC Alum, Mentor, Volunteer, lots of things.
Championship Volunteer of the Year, 2016
Advisor, NE FIRST
|