Skip to main content
Module

x/kachaka_api/mod.ts>KachakaApiClient

Deno binding for https://github.com/pf-robotics/kachaka-api
Latest
class KachakaApiClient
import { KachakaApiClient } from "https://deno.land/x/kachaka_api@0.5.0/mod.ts";

Constructors

new
KachakaApiClient(hostname: string, protoFile: string)

Properties

autoHomingEnabled
commandState
frontCameraRosCameraInfo
frontCameraRosCompressedImage
frontCameraRosImage
historyList
lastCommandResult
locations
manualControlEnabled
objectDetection
pngMap
robotPose
robotSerialNumber
robotVelocity
robotVersion
rosImu
rosLaserScan
rosOdometry
shelves

Methods

dockShelf(options?: CommandOptions)
moveShelf(
shelf: string,
location: string,
options?: CommandOptions,
)
moveToLocation(location: string, options?: CommandOptions)
moveToPose(pose: pb.Pose, options?: CommandOptions)
onSpeak(callback: (text: string) => void, options?: CallbackOptions)
returnHome(options?: CommandOptions)
returnShelf(shelf: string, options?: CommandOptions)
speak(text: string, options?: CommandOptions)
startCommand(request: pb.StartCommandRequest, options?: CommandOptions): Promise<pb.Result>
undockShelf(options?: CommandOptions)

Static Methods

create(hostname: string)