FTC SDK v5.4发布

FTC SDK v5.4发布

by 北一 张 -
Number of replies: 0

Version 5.4 (20200108-101156)

  • Fixes SkyStone issue #88
  • Adds an inspection item that notes when a robot controller (Control Hub) is using the factory default password.
  • Fixes SkyStone issue #61
  • Fixes SkyStone issue #142
  • Fixes ftc_app issue #417 by adding more current and voltage monitoring capabilities for REV Hubs.
  • Fixes a crash sometimes caused by OnBotJava activity
  • Improves OnBotJava autosave functionality ftc_app #738
  • Fixes system responsiveness issue when an Expansion Hub is disconnected
  • Fixes issue where IMU initialization could prevent Op Modes from stopping
  • Fixes issue where AndroidTextToSpeech.speak() would fail if it was called too early
  • Adds telemetry.speak() methods and blocks, which cause the Driver Station (if also updated) to speak text
  • Adds and improves Expansion Hub-related warnings
    • Improves Expansion Hub low battery warning
      • Displays the warning immediately after the hub reports it
      • Specifies whether the condition is current or occurred temporarily during an OpMode run
      • Displays which hubs reported low battery
    • Displays warning when hub loses and regains power during an OpMode run
      • Fixes the hub's LED pattern after this condition
    • Displays warning when Expansion Hub is not responding to commands
      • Specifies whether the condition is current or occurred temporarily during an OpMode run
    • Clarifies warning when Expansion Hub is not present at startup
      • Specifies that this condition requires a Robot Restart before the hub can be used.
      • The hub light will now accurately reflect this state
    • Improves logging and reduces log spam during these conditions
  • Syncs the Control Hub time and timezone to a connected web browser programming the robot, if a Driver Station is not available.
  • Adds bulk read functionality for REV Hubs
    • A bulk caching mode must be set at the Hub level with LynxModule#setBulkCachingMode(). This applies to all relevant SDK hardware classes that reference that Hub.
    • The following following Hub bulk caching modes are available:
      • BulkCachingMode.OFF (default): All hardware calls operate as usual. Bulk data can read through LynxModule#getBulkData() and processed manually.
      • BulkCachingMode.AUTO: Applicable hardware calls are served from a bulk read cache that is cleared/refreshed automatically to ensure identical commands don't hit the same cache. The cache can also be cleared manually with LynxModule#clearBulkCache(), although this is not recommended.
      • (advanced users) BulkCachingMode.MANUAL: Same as BulkCachingMode.AUTO except the cache is never cleared automatically. To avoid getting stale data, the cache must be manually cleared at the beginning of each loop body or as the user deems appropriate.
  • Removes PIDF Annotation values added in Rev 5.3 (to AndyMark, goBILDA and TETRIX motor configurations).
    • The new motor types will still be available but their Default control behavior will revert back to Rev 5.2
  • Adds new ConceptMotorBulkRead sample Opmode to demonstrate and compare Motor Bulk-Read modes for reducing I/O latencies.