Package edu.tufts.hrilab.ava
Interface AvaAPIInterface
- All Known Implementing Classes:
AvaHTTPAPI,AvaWebsocketAPI
public interface AvaAPIInterface
Represents the API of the Ava robot. Abstracts the
cloud-based RMS websocket API and the local HTTP APIs.
-
Method Summary
Modifier and TypeMethodDescriptiondock()voidend()doublegetLidar()getMapMetadata(String mapName) goToArbitrary(double x, double y) goToArbitrary(double x, double y, double theta) booleanbooleanisMoving()lookAt(double x, double y, double z, double duration) setCameraTilt(double position) setRotation(double theta) setVelocity(float transVel, float rotVel, float stepVel) setVelocity(float transVel, float rotVel, float stepVel, boolean nudge) setZLift(double position) stop()
-
Method Details
-
end
void end() -
setVelocity
-
setVelocity
-
goToArbitrary
-
goToArbitrary
-
dock
RMSResponse dock() -
stop
RMSResponse stop() -
getPosition
RMSPositionResponse getPosition() -
getDriveStatus
RMSDriveStatusResponse getDriveStatus() -
getGoToStatus
RMSGoToStatusResponse getGoToStatus() -
getHealth
RMSHealthResponse getHealth() -
getMapMetadata
RMSMapMetadataResponse getMapMetadata() -
getMapMetadata
-
getMapMetadatas
List<RMSMapMetadataResponse> getMapMetadatas() -
getZLiftCameraTilt
RMSZLiftCameraTiltResponse getZLiftCameraTilt() -
getRuntime
RMSRuntimeResponse getRuntime() -
getLidar
RMSLidarResponse getLidar() -
getDynamicObstacles
RMSDynamicObstaclesResponse getDynamicObstacles() -
getDockStatus
RMSDockStatusResponse getDockStatus() -
lookAt
-
getBatteryLevel
double getBatteryLevel() -
setZLift
-
setCameraTilt
-
setRotation
-
hasSession
boolean hasSession() -
isMoving
boolean isMoving()
-