FTC RobotController(SDK) v10.0发布

FTC RobotController(SDK) v10.0发布

张北一 -
回帖数:0

Version 10.0 (20240828-111152)

Breaking Changes

  • Java classes and Blocks for TensorFlow Object Detection have been removed.
  • AngularVelocity.unit which was of type AngleUnit has been renamed AngularVelocity.angleUnit of type UnnormalizedAngleUnit

Enhancements

  • Sample for REV Digital Indicator has been added - ConceptRevLED
  • Adds support for the Sparkfun QWIIC LED Stick
    • To connect it directly, you need this cable
  • Adds ConceptLEDStick OpMode
  • Adds Blocks for colors black, blue, cyan, dkgray, gray, green, ltgray, magenta, red, white, and yellow.
  • Adds an "evaluate but ignore result" Block that executes the connected block and ignores the result. Allows you to call a function and ignore the return value.
  • Adds I2C driver for Maxbotix Maxsonar I2CXL sonar rangefinder
  • Adds Blocks for setPwmEnable, setPwmDisable, and isPwmEnabled for servos and CR servos.
  • In the Blocks editor: a \n in the ExportToBlocks annotation's comment field is displayed as a line break.
  • Telemetry has new method setNumDecimalPlaces
  • Telemetry now formats doubles and floats (not inside objects, just by themselves)
  • Adds support for the Limelight 3A.
  • Adds initial support for the REV Servo Hub
    • Both the Robot Controller and Driver Station need to be updated to version 10.0 in order for Servo Hubs to be configurable as Servo Hubs. If the app on either device is outdated, the Servo Hub will show up as an Expansion Hub, and some functionality will not work as expected. You should wait to create a configuration that includes a Servo Hub until both the Driver Station and Robot Controller apps have been updated to version 10.0.
    • Updating the Servo Hub's firmware and changing its address can only be done using the REV Hardware Client at this time
  • Adds support for the REV 9-Axis IMU (REV-31-3332)
    • The REV 9-Axis IMU is only supported by the Universal IMU interface
    • Adds Rev9AxisImuOrientationOnRobot Java class.
    • If you mentally substitute this IMU's I2C port for the Control Hub's USB ports, RevHubOrientationOnRobot is also compatible with this sensor
    • Adds Blocks for Rev9AxisImuOrientationOnRobot, including RevHubImuOrientationOnRobot.xyzOrientation and RevHubImuOrientationOnRobot.zyxOrientation.
    • Adds Blocks samples SensorRev9AxisIMUOrthogonal and SensorRev9AxisIMUNonOrthogonal.
  • Improves Blocks support for RevHubImuOrientationOnRobot.
    • Adds Blocks for RevHubImuOrientationOnRobot.xyzOrientation and RevHubImuOrientationOnRobot.zyxOrientation.
    • Adds Blocks samples SensorHubIMUOrthogonal (replaces SensorIMU) and SensorHubIMUNonOrthogonal.
  • Updates EasyOpenCV, AprilTag, OpenCV, and libjpeg-turbo versions
  • Adds Blocks for max and min that take two numbers.
  • Adds Blocks OpModes ConceptRevSPARKMini, RobotAutoDriveByEncoder, RobotAutoDriveByGyro, RobotAutoDriveByTime, RobotAutoDriveToAprilTagOmni, and RobotAutoDriveToAprilTagTank.
  • Two OpModes with the same name now automatically get renamed with the name followed by a "-" and the class name allowing them to both be on the device.
  • Shows the name of the active configuration on the Manage page of the Robot Controller Console
  • Updated AprilTag Library for INTO THE DEEP. Notably, getCurrentGameTagLibrary() now returns INTO THE DEEP tags.
  • Adds Blocks for Telemetry.setMsTransmissionInterval and Telemetry.getMsTransmissionInterval.
  • Adds Blocks sample SensorOctoQuad.

Bug Fixes

  • Fixes a bug where the RevBlinkinLedDriver Blocks were under Actuators in the Blocks editor toolbox. They are now Other Devices.
  • Fixes a bug where Exceptions thrown in user code after a stop was requested by the Driver Station would be silently eaten
  • Fixed a bug where if you asked for AngularVelocity in a unit different than the device reported it in, it would normalize it between -PI and PI for radians, and -180 and 180 for degrees.