Class Generic

Direct Known Subclasses:
GenericRPCClient

public abstract class Generic extends Component
Generic component, which represents any type of component that can execute arbitrary commands.
  • Field Details

    • SUBTYPE

      public static final Subtype SUBTYPE
  • Constructor Details

    • Generic

      public Generic(String name)
  • Method Details

    • named

      public static Common.ResourceName named(String name)
      Get the ResourceName of the component
      Parameters:
      name - the name of the component
      Returns:
      the component's ResourceName
    • fromRobot

      public static Generic fromRobot(RobotClient robot, String name)
      Get the component with the provided name from the provided robot.
      Parameters:
      robot - the RobotClient
      name - the name of the component
      Returns:
      the component