Skip to content

Release 1.0.2

Tom Tzook edited this page Sep 7, 2017 · 1 revision

Release 1.0.2 is an update to the java port of FlashLib and Flashboard.

This release contains major improvement to the library build process, refinement of robot abstraction, improvements to the communications system, major changes in the HID package and some performence updates to Flashboard.

Some code from previous version of the library will not be compatible with the changes made. Especially revolving the robot abstraction and HID package.

Changelog

Gradle build

Major overall to the library build using gradle:

  • Added gradle wrapper
  • Integrated all external libraries into one folder
  • Changed output folder into build in the root directory
  • Removed build batch and bash scripts
  • Drastically improved the gradle build script
  • Removed several external libraries
  • OpenCV version updated to 3.1.0

Robot

  • Scheduler is back to being a singleton
  • Scheduler now has running modes, deciding what will be executed
  • Action requirements is now a Set
  • Action changed several methods to a public access modifier
  • Added Robot interface which is required for robot code
  • RobotFactory now contains an HIDInterface and Robot implementation
  • FlashLib initialization improved and now longer uses init modes and implementation types
  • Flashboard can be initialized using a class with initialization data

SBC

  • Removed all relation to the bulldog library
  • Changed bases for robots

FRC

  • Changed rio package to frc
  • Changed all class names to contain FRC instead of Rio
  • Added a simpler base for robots
  • RioControllers -> FRCSpeedControllers
  • FlashRio -> IterativeFRCRobot

HID package

  • Button class improved sugnificantly. Now an abstract base providing Action activation logic
  • Added HIDButton, DPadButton, DoubleButton, DoubleHIDButton, ManualButton
  • Added POV, Axis classes
  • Button is now a Runnable implementation
  • Added new Action activation types + place for manual implementations

Log

  • Log abstraction improved
  • Added SimpleLog, base for logs using string format for data
  • Added TypeLog, base for logs using organized view for data

Communications

  • Added ability to force ID for Sendable objects
  • Sendable connection to a remote counterpart is now verified

IO package

  • Removed the io package and deleted remaining classes in it

Flashboard

  • Performence improvements
  • Removed unused files and code
  • PDP window now uses Java code instead of FXML for design