Class Component

java.lang.Object
com.viam.sdk.core.resource.Resource
com.viam.sdk.core.component.Component
Direct Known Subclasses:
Camera, Generic, Gripper, MovementSensor, PoseTracker, PowerSensor, Sensor, Servo

public abstract class Component extends Resource
Base component. All components must inherit from this class.
  • Constructor Details

  • Method Details

    • getGeometries

      public List<Common.Geometry> getGeometries(Optional<com.google.protobuf.Struct> extra)
      Get all geometries associated with the Component, in their current configuration, in the frame of the Component.
      Returns:
      the geometries associated with the Component