How do I Post to the Game Q&A Forum?

Welcome to the FTC Game Q&A Forum! If this is your first time here, please refer to the Instructions for Forum Use section before posting.

Thank you!

Posts created to sell a product or service are not permitted and will be deleted!

Page 1 of 7 123 ... LastLast
Results 1 to 10 of 62

Thread: FTC SDK Beta Release 20150803_001 is now available on GitHub

  1. #1
    FTC Engineer
    Join Date
    Jan 2015
    Location
    NH
    Posts
    547

    FTC SDK Beta Release 20150803_001 is now available on GitHub

    Hi Folks,

    A new version of the FTC SDK is now available for download on Github:

    https://github.com/ftctechnh/ftc_app

    There are lots of changes with this new version of the SDK:

    • Updated UI's for both apps.
    • An init() method is added to the OpMode class.
    • A new LinearOpMode class is now available!!!
    • New example op modes are included (including examples on using the LinearOpMode class).
    • The Core Device Interface Module is now supported.
    • There is an additional user manual (in .pdf format in the "doc/tutorial" sub directory) that shows how to access and use the ZTE Speed channel change app.


    Enjoy the new SDK!

    Tom

  2. #2
    Junior Member
    Join Date
    Jul 2015
    Location
    Huntsville, AL
    Posts
    15
    Quote Originally Posted by Tom Eng View Post
    Hi Folks,

    • An init() method is added to the OpMode class.
    • A new LinearOpMode class is now available!!!
    • New example op modes are included (including examples on using the LinearOpMode class).
    • The Core Device Interface Module is now supported.
    Woohoo! Can't wait to check it out! Thank you all for all your hard work on this!

  3. #3
    Senior Member
    Join Date
    Oct 2011
    Posts
    127
    The manual says to import ftc_app with the android icon. In windows I have ftc_app-master with a similar looking icon that I selected.

    I get failed to sync gradle project ftc_app-master Failed to find target Google apis:19. Open sdk manager. I open the sdk manager and it still shows that the api 19 files that I had for the previous version are installed.

    Where to now?

  4. #4
    FTC Engineer
    Join Date
    Jan 2015
    Location
    NH
    Posts
    547
    Hi FTC3805 - can you post a picture/screen grab of the error you are getting?

    Also, are you importing the project (and not opening it as an existing Android Studio project)?

    Tom

  5. #5
    Senior Member
    Join Date
    Jul 2014
    Location
    Charlottesville, VA
    Posts
    385
    Hooray for the init() method and for the LinearOpMode class!! Thanks for being responsive to suggestions from the peanut gallery!!
    CHEER4FTC website and facebook online FTC resources.
    Providing support for FTC Teams in the Charlottesville, VA area and beyond.

  6. #6
    Senior Member
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    247
    Quote Originally Posted by FTC3805 View Post
    The manual says to import ftc_app with the android icon. In windows I have ftc_app-master with a similar looking icon that I selected.

    I get failed to sync gradle project ftc_app-master Failed to find target Google apis:19. Open sdk manager. I open the sdk manager and it still shows that the api 19 files that I had for the previous version are installed.

    Where to now?
    I think the previous version of the SDK targeted API 21. I had
    to download the API 19 files before I could use the new SDK.

    As Tom suggests, screen grabs of the errors, and perhaps the
    SDK manager are always helpful.

  7. #7
    Senior Member
    Join Date
    Mar 2015
    Location
    Oklahoma
    Posts
    945
    The old build.gradle (v15_05_15_v07):
    Code:
    compileSdkVersion = 'Google Inc.:Google APIs:21'
    The new build.gradle (Beta 20150803_001):
    Code:
    compileSdkVersion = 'Google Inc.:Google APIs:19'
    They changed the target API version (to me, I usually set the build target API 22 (makes no difference on the outside as far as I can see), and change the min SDK version to 19, since I have no need to run the controller on anything before KitKat, but I believe why the min's 16 is in the Game Manual)

    You should be fine changing that line in build.gradle back to the old version.

  8. #8
    Senior Member
    Join Date
    Oct 2011
    Posts
    127
    Quote Originally Posted by Tom Eng View Post
    Hi FTC3805 - can you post a picture/screen grab of the error you are getting?

    Also, are you importing the project (and not opening it as an existing Android Studio project)?

    Tom
    I have been compiling and running programs with the previous beta version. I downloaded and extracted the new version to a folder that I changed the name to ftc_app-master803. There was no ftc_app directory to remove when extracting. I selected ftc_app-master with the android icon to IMPORT.



    When it's done crunching I get this screen



    I have opened the sdk manager and the missing api is installed.



    When I go back to the old folder everything works.

    John Courter
    3805 Mentor

  9. #9
    Senior Member
    Join Date
    Mar 2015
    Location
    Oklahoma
    Posts
    945
    A few questions:
    I have to ask how is LinearOpMode accomplished vs. the OpMode?
    Is there anything that you did not get to in this release that is planned to be in by Kickoff?
    Where is the init phase in the execution flow (right after the constructor, after start, before start)?
    What is the difference between init and the constructor?
    Why are the files in FtcRobotController/lib prefixed with "NOTICE_*" vs "LICENSE_*" or "COPYRIGHT_*"?
    Is the release schedule changing to go to a more often release before the competition?
    Why exactly is the edges of the words cut off in the app icon?

  10. #10

Page 1 of 7 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •