Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for 2017 WPILib for Java #88

Merged
merged 11 commits into from Jan 7, 2017
Merged

Commits on Jan 3, 2017

  1. Prepare for 2017.1.0 release and removed use of deprecated APIs

    Prepared for the next major release that will be named `2017.1.0` to better signify the FRC season and WPILib version that Strongback works with.
    
    Also, several APIs were deprecated in Strongback 1.2, and this commit removes most of those deprecated APIs and any use of them.
    rhauch committed Jan 3, 2017
    Copy the full SHA
    357d9c7 View commit details
    Browse the repository at this point in the history
  2. Issue 83 - Upgrade to 2017 WPILib

    Upgrade to the 2017 version of WPILib for Java, which is currently only available to those in the Beta program but will be generally available on January 7, 2017. This version removes the `CANTalon` class and instead replaces it with a 3rd party library from Cross The Road Electronics (CTRE), who is now going to be responsible for that class.
    
    The CTRE library is also currently accessible only to those teams in the Beta program, so the build installs it from a local file during the `deps` Ant build target. This is specified in the `build.properties` file and will be changed once we have a public URL for the download.
    rhauch committed Jan 3, 2017
    Copy the full SHA
    bec7c21 View commit details
    Browse the repository at this point in the history
  3. Issue 80 - Added library support for the navX-MXP

    Added the navX-MXP library as a 3rd party library automatically installed during the `ant deps` build target.
    rhauch committed Jan 3, 2017
    Copy the full SHA
    bbb11da View commit details
    Browse the repository at this point in the history
  4. Included in archives the 3rd party libraries needed for robot

    The CTRE and navX-MXP libraries are needed on the robot at runtime, and they are now included in the Strongback TAR and ZIP archive in the `strongback/java/lib` directory (next to the `strongback.jar` and `strongback-sources.jar` files).
    
    The Strongback CLI will need to be modified to copy these into the WPILib’s `user/lib/java` directory, though it should optionally not overwrite the non-Strongback files.
    rhauch committed Jan 3, 2017
    Copy the full SHA
    b98752b View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f3adce4 View commit details
    Browse the repository at this point in the history
  6. Removed the non-test related Ant targets

    The Strongback and 3rd party libraries are installed (via the Strongback CLI) into the WPILib's `user/java/lib` directory and therefore are found, used, and deployed during the WPILib's standard Ant build process.
    
    However, WPILib's build does not support unit tests, so this file defines Ant targets related only for unit testing. Thus, a robot project that uses Strongback at runtime and has no tests need not use this Ant file.
    rhauch committed Jan 3, 2017
    Copy the full SHA
    946af64 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    3a2c99f View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2017

  1. Added additional TalonSRX feedback device options

    Added to the `TalonSRX` interface and implementation support for several other feedback device options already supported by the `CANTalon`.
    rhauch committed Jan 6, 2017
    Copy the full SHA
    2738a9b View commit details
    Browse the repository at this point in the history
  2. Correctly download and use 3rd party dependencies

    Corrected the build to download the 3rd party dependencies correctly, and now generated property files that describe those dependencies.
    rhauch committed Jan 6, 2017
    Copy the full SHA
    89582b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2017

  1. Use custom Ant on Travis-CI

    Travis-CI’s version of Ant is too old (1.8.2) to properly download all 3rd party archives, so we have to use the latest version of Ant (1.10.0) so that this works.
    rhauch committed Jan 7, 2017
    Copy the full SHA
    cce0648 View commit details
    Browse the repository at this point in the history
  2. Use 2017 Beta WPILib

    rhauch committed Jan 7, 2017
    Copy the full SHA
    67e49a4 View commit details
    Browse the repository at this point in the history