Package com.viam.sdk.core.component
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
Base component.
All components must inherit from this class.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.viam.sdk.core.resource.Resource
Resource.Reconfigurable, Resource.Stoppable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGeometries
(Optional<com.google.protobuf.Struct> extra) Get all geometries associated with the Component, in their current configuration, in the frame of the Component.Methods inherited from class com.viam.sdk.core.resource.Resource
close, createStatus, doCommand, getName, getSubtype, named
-
Constructor Details
-
Component
-
-
Method Details
-
getGeometries
Get all geometries associated with the Component, in their current configuration, in the frame of the Component.- Returns:
- the geometries associated with the Component
-