FTC RobotController(SDK) v10.1发布

FTC RobotController(SDK) v10.1发布

张北一 -
回帖数:0

Version 10.1 (20240919-122750)

Enhancements

  • Adds new OpenCV-based VisionProcessors (which may be attached to a VisionPortal in either Java or Blocks) to help teams implement color processing via computer vision in the INTO THE DEEP game
    • ColorBlobLocatorProcessor implements OpenCV color "blob" detection. A new sample program ConceptVisionColorLocator demonstrates its use.
      • A choice is offered between pre-defined color ranges, or creating a custom one in RGB, HSV, or YCrCb color space
      • The ability is provided to restrict detection to a specified Region of Interest on the screen
      • Functions for applying erosion / dilation morphing to the threshold mask are provided
      • Functions for sorting and filtering the returned data are provided
    • PredominantColorProcessor allows using a region of the camera as a "long range color sensor" to determine the predominant color of that region. A new sample program ConceptVisionColorSensor demonstrates its use.
      • The determined predominant color is selected from a discrete set of color "swatches", similar to the MINDSTORMS NXT color sensor
    • Documentation on this Color Processing feature can be found here: https://ftc-docs.firstinspires.org/color-processing
  • Added Blocks sample programs for color sensors: RobotAutoDriveToLine and SensorColor.
  • Updated Self-Inspect to identify mismatched RC/DS software versions as a "caution" rather than a "failure."

Bug Fixes