diff --git a/FtcRobotController/src/main/AndroidManifest.xml b/FtcRobotController/src/main/AndroidManifest.xml index 4adcc418e00..b5d0f28e712 100644 --- a/FtcRobotController/src/main/AndroidManifest.xml +++ b/FtcRobotController/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="25" + android:versionName="3.5"> diff --git a/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java b/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java index a1864a850d2..4ec32fa4315 100644 --- a/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java +++ b/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java @@ -216,6 +216,7 @@ protected void passReceivedUsbAttachmentsToEventLoop() { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + RobotLog.onApplicationStart(); // robustify against onCreate() following onDestroy() but using the same app instance, which apparently does happen RobotLog.vv(TAG, "onCreate()"); ThemedActivity.appAppThemeToActivity(getTag(), this); // do this way instead of inherit to help AppInventor diff --git a/README.md b/README.md index 1da0493695f..f9a71f39bcd 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,23 @@ For technical questions regarding the SDK, please visit the FTC Technology forum       http://ftcforum.usfirst.org/forumdisplay.php?156-FTC-Technology +************************************************************************************** +# Release Information +************************************************************************************** + +Version 3.5 (built on 17.10.30) + +Changes with version 3.5 include: + * Introduced a fix to prevent random op mode stops, which can occur after the Robot Controller app has been paused and then resumed (for example, when a user temporarily turns off the display of the Robot Controller phone, and then turns the screen back on). + * Introduced a fix to prevent random op mode stops, which were previously caused by random peer disconnect events on the Driver Station. + * Fixes issue where log files would be closed on pause of the RC or DS, but not re-opened upon resume. + * Fixes issue with battery handler (voltage) start/stop race. + * Fixes issue where Android Studio generated op modes would disappear from available list in certain situations. + * Fixes problem where OnBot Java would not build on REV Robotics Control Hub. + * Fixes problem where OnBot Java would not build if the date and time on the Robot Controller device was "rewound" (set to an earlier date/time). + * Improved error message on OnBot Java that occurs when renaming a file fails. + * Removed unneeded resources from android.jar binaries used by OnBot Java to reduce final size of Robot Controller app. + * Added MR_ANALOG_TOUCH_SENSOR block to Blocks Programming Tool. ************************************************************************************** # Release Information @@ -49,7 +66,7 @@ For technical questions regarding the SDK, please visit the FTC Technology forum Version 3.4 (built on 17.09.06) -Changes with verion 3.4 include: +Changes with version 3.4 include: * Added telemetry.update() statement for BlankLinearOpMode template. * Renamed sample Block op modes to be more consistent with Java samples. * Added some additional sample Block op modes. @@ -86,7 +103,6 @@ Changes with verion 3.3 include: Known issues: * Android Studio - After updating to the new v3.3 Android Studio project folder, if you get error messages indicating "InvalidVirtualFileAccessException" then you might need to do a File->Invalidate Caches / Restart to clear the error. - * OnBot Java - Sometimes when you push the build button to build all op modes, the RC returns an error message that the build failed. If you press the build button a second time, the build typically suceeds. @@ -184,8 +200,7 @@ Changes include: - Fixes bug with projects page for Firefox browser. - Added IsSpeaking block to AndroidTextToSpeech. * Implements support for the REV Robotics Expansion Hub - - Implements support for integral REV IMU (physically installed on I2C bus 0, uses same Bosch BNO055 9 axis absolute orientation sensor as Adafruit 9DOF abs orientation sensor). - - Implements support for REV color/range/light sensor. + - Implements support for integral REV IMU (physically installed on I2C bus 0, uses same Bosch BNO055 9 axis absolute orientation sensor as Adafruit 9DOF abs orientation sensor). - Implements support for REV color/range/light sensor. - Provides support to update Expansion Hub firmware through FTC SDK. - Detects REV firmware version and records in log file. - Includes support for REV Control Hub (note that the REV Control Hub is not yet approved for FTC use). diff --git a/doc/apk/FtcDriverStation-release.apk b/doc/apk/FtcDriverStation-release.apk index 52a4b1b44f2..64a3d3ce124 100644 Binary files a/doc/apk/FtcDriverStation-release.apk and b/doc/apk/FtcDriverStation-release.apk differ diff --git a/doc/apk/FtcRobotController-release.apk b/doc/apk/FtcRobotController-release.apk index 91a19b40428..eb5a1e07e0a 100644 Binary files a/doc/apk/FtcRobotController-release.apk and b/doc/apk/FtcRobotController-release.apk differ diff --git a/doc/javadoc/com/qualcomm/ftccommon/FtcEventLoopHandler.html b/doc/javadoc/com/qualcomm/ftccommon/FtcEventLoopHandler.html index 8bac1342c99..8dc794bd8bb 100644 --- a/doc/javadoc/com/qualcomm/ftccommon/FtcEventLoopHandler.html +++ b/doc/javadoc/com/qualcomm/ftccommon/FtcEventLoopHandler.html @@ -17,7 +17,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -242,45 +242,53 @@

Method Summary

void -closeAutoCloseOnTeardown()  +close()  -void -closeMotorControllers()  +protected void +closeAutoCloseOnTeardown()  -void -closeServoControllers()  +protected void +closeBatteryMonitoring()  +protected void +closeMotorControllers()  + + +protected void +closeServoControllers()  + + void displayGamePadInfo(java.lang.String activeOpModeName)  - + EventLoopManager getEventLoopManager()  - + java.util.List<LynxUsbDeviceImpl> getExtantLynxDeviceImpls()  - + Gamepad[] getGamepads()  - + HardwareMap getHardwareMap()  - + java.lang.String getOpMode(java.lang.String extra)  - + void init(EventLoopManager eventLoopManager)  - + void refreshUserTelemetry(TelemetryMessage telemetry, double requestedInterval) @@ -288,22 +296,22 @@

Method Summary

interval has passed since the last transmission. - + void restartRobot()  - + void sendBatteryInfo()
Send robot phone power % and robot battery voltage level to Driver station
- + void sendTelemetry(java.lang.String tag, java.lang.String msg)  - + void updateBatteryStatus(BatteryChecker.BatteryStatus status)  @@ -546,6 +554,15 @@

init

public void init(EventLoopManager eventLoopManager)
+ + + + @@ -646,7 +663,7 @@

sendTelemetry

@@ -655,7 +672,7 @@

closeMotorControllers

  • closeServoControllers

    -
    public void closeServoControllers()
    +
    protected void closeServoControllers()
@@ -664,7 +681,16 @@

closeServoControllers

  • closeAutoCloseOnTeardown

    -
    public void closeAutoCloseOnTeardown()
    +
    protected void closeAutoCloseOnTeardown()
    +
  • +
+
+ + + diff --git a/doc/javadoc/com/qualcomm/ftccommon/package-tree.html b/doc/javadoc/com/qualcomm/ftccommon/package-tree.html index 88db76e92ce..4a2dc4fe461 100644 --- a/doc/javadoc/com/qualcomm/ftccommon/package-tree.html +++ b/doc/javadoc/com/qualcomm/ftccommon/package-tree.html @@ -148,12 +148,12 @@

Class Hierarchy

  • com.qualcomm.ftccommon.LaunchActivityConstantsList
  • PreferenceFragment
  • PreferenceFragment
  • RobotCoreCommandList @@ -170,32 +170,32 @@

    Class Hierarchy

  • com.qualcomm.ftccommon.SoundPlayer.SoundInfo
  • ThemedActivity
  • ThemedActivity
  • ThemedActivity
  • ThemedActivity
  • ThemedActivity
  • ThemedActivity
  • ThemedActivity @@ -205,7 +205,7 @@

    Class Hierarchy

  • ThemedActivity
  • com.qualcomm.ftccommon.UpdateUI
  • @@ -227,8 +227,8 @@

    Enum Hierarchy

    diff --git a/doc/javadoc/com/qualcomm/robotcore/eventloop/opmode/package-tree.html b/doc/javadoc/com/qualcomm/robotcore/eventloop/opmode/package-tree.html index 2f432c95cfd..3db226944b9 100644 --- a/doc/javadoc/com/qualcomm/robotcore/eventloop/opmode/package-tree.html +++ b/doc/javadoc/com/qualcomm/robotcore/eventloop/opmode/package-tree.html @@ -107,10 +107,10 @@

    Interface Hierarchy

    Annotation Type Hierarchy

    diff --git a/doc/javadoc/com/qualcomm/robotcore/hardware/package-tree.html b/doc/javadoc/com/qualcomm/robotcore/hardware/package-tree.html index 400b17d0e82..efc811ac64e 100644 --- a/doc/javadoc/com/qualcomm/robotcore/hardware/package-tree.html +++ b/doc/javadoc/com/qualcomm/robotcore/hardware/package-tree.html @@ -306,23 +306,23 @@

    Enum Hierarchy

    diff --git a/doc/javadoc/index-all.html b/doc/javadoc/index-all.html index e4d3dec6a5f..a29811d135a 100644 --- a/doc/javadoc/index-all.html +++ b/doc/javadoc/index-all.html @@ -617,6 +617,8 @@

    C

    close() - Method in class com.qualcomm.ftccommon.FtcEventLoopBase.LynxUsbDeviceContainer
     
    +
    close() - Method in class com.qualcomm.ftccommon.FtcEventLoopHandler
    +
     
    close() - Method in class com.qualcomm.ftccommon.SoundPlayer
     
    close() - Method in class com.qualcomm.ftccommon.UpdateUI.Callback
    @@ -665,6 +667,8 @@

    C

    closeAutoCloseOnTeardown() - Method in class com.qualcomm.ftccommon.FtcEventLoopHandler
     
    +
    closeBatteryMonitoring() - Method in class com.qualcomm.ftccommon.FtcEventLoopHandler
    +
     
    closeMotorControllers() - Method in class com.qualcomm.ftccommon.FtcEventLoopHandler
     
    closeServoControllers() - Method in class com.qualcomm.ftccommon.FtcEventLoopHandler
    diff --git a/doc/javadoc/org/firstinspires/ftc/robotcore/external/navigation/package-tree.html b/doc/javadoc/org/firstinspires/ftc/robotcore/external/navigation/package-tree.html index 3b096246282..9d5fb5e621a 100644 --- a/doc/javadoc/org/firstinspires/ftc/robotcore/external/navigation/package-tree.html +++ b/doc/javadoc/org/firstinspires/ftc/robotcore/external/navigation/package-tree.html @@ -124,19 +124,19 @@

    Enum Hierarchy

    diff --git a/doc/javadoc/org/firstinspires/ftc/robotcore/external/package-tree.html b/doc/javadoc/org/firstinspires/ftc/robotcore/external/package-tree.html index 16ef17a2409..cdc38be34c3 100644 --- a/doc/javadoc/org/firstinspires/ftc/robotcore/external/package-tree.html +++ b/doc/javadoc/org/firstinspires/ftc/robotcore/external/package-tree.html @@ -97,8 +97,8 @@

    Interface Hierarchy

    Annotation Type Hierarchy

    Enum Hierarchy