Class Sensors
java.lang.Object
com.viam.sdk.core.resource.Resource
com.viam.sdk.core.service.Service
com.viam.sdk.core.service.sensors.Sensors
- Direct Known Subclasses:
SensorsRPCClient
-
Nested Class Summary
Nested classes/interfaces inherited from class com.viam.sdk.core.resource.Resource
Resource.Reconfigurable, Resource.Stoppable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sensors
fromRobot
(RobotClient robot, String name) abstract List<Sensors.Readings>
getReadings
(List<Common.ResourceName> sensors, Optional<com.google.protobuf.Struct> extra) abstract List<Common.ResourceName>
getSensors
(Optional<com.google.protobuf.Struct> extra) static Common.ResourceName
Methods inherited from class com.viam.sdk.core.resource.Resource
close, createStatus, doCommand, getName, getSubtype, named
-
Field Details
-
SUBTYPE
-
-
Constructor Details
-
Sensors
-
-
Method Details
-
named
-
fromRobot
-
getSensors
-
getReadings
public abstract List<Sensors.Readings> getReadings(List<Common.ResourceName> sensors, Optional<com.google.protobuf.Struct> extra)
-