Private
clientReadonly
methods: { Readonly
doDoCommand sends/receives arbitrary commands
from rpc viam.component.board.v1.BoardService.DoCommand
Readonly
I: typeof DoCommandRequestReadonly
O: typeof DoCommandResponseReadonly
kind: UnaryReadonly
name: "DoCommand"Readonly
getGetDigitalInterruptValue returns the current value of the interrupt which is based on the type of interrupt.
from rpc viam.component.board.v1.BoardService.GetDigitalInterruptValue
Readonly
I: typeof GetDigitalInterruptValueRequestReadonly
O: typeof GetDigitalInterruptValueResponseReadonly
kind: UnaryReadonly
name: "GetDigitalInterruptValue"Readonly
getGPIO: { GetGPIO gets the high/low state of the given pin of a board of the underlying robot.
from rpc viam.component.board.v1.BoardService.GetGPIO
Readonly
I: typeof GetGPIORequestReadonly
O: typeof GetGPIOResponseReadonly
kind: UnaryReadonly
name: "GetGPIO"Readonly
getGetGeometries returns the geometries of the component in their current configuration.
from rpc viam.component.board.v1.BoardService.GetGeometries
Readonly
I: typeof GetGeometriesRequestReadonly
O: typeof GetGeometriesResponseReadonly
kind: UnaryReadonly
name: "GetGeometries"Readonly
pWM: { PWM gets the duty cycle of the given pin of a board of the underlying robot.
from rpc viam.component.board.v1.BoardService.PWM
Readonly
I: typeof PWMRequestReadonly
O: typeof PWMResponseReadonly
kind: UnaryReadonly
name: "PWM"Readonly
pWMFrequency: { PWMFrequency gets the PWM frequency of the given pin of a board of the underlying robot.
from rpc viam.component.board.v1.BoardService.PWMFrequency
Readonly
I: typeof PWMFrequencyRequestReadonly
O: typeof PWMFrequencyResponseReadonly
kind: UnaryReadonly
name: "PWMFrequency"Readonly
readReadAnalogReader reads off the current value of an analog reader of a board of the underlying robot.
from rpc viam.component.board.v1.BoardService.ReadAnalogReader
Readonly
I: typeof ReadAnalogReaderRequestReadonly
O: typeof ReadAnalogReaderResponseReadonly
kind: UnaryReadonly
name: "ReadAnalogReader"Readonly
setGPIO: { from rpc viam.component.board.v1.BoardService.SetGPIO
Readonly
I: typeof SetGPIORequestReadonly
O: typeof SetGPIOResponseReadonly
kind: UnaryReadonly
name: "SetGPIO"Readonly
setPWM: { SetPWM sets the given pin of a board of the underlying robot to the given duty cycle.
from rpc viam.component.board.v1.BoardService.SetPWM
Readonly
I: typeof SetPWMRequestReadonly
O: typeof SetPWMResponseReadonly
kind: UnaryReadonly
name: "SetPWM"Readonly
setPWMFrequency: { SetPWMFrequency sets the given pin of a board of the underlying robot to the given PWM frequency. 0 will use the board's default PWM frequency.
from rpc viam.component.board.v1.BoardService.SetPWMFrequency
Readonly
I: typeof SetPWMFrequencyRequestReadonly
O: typeof SetPWMFrequencyResponseReadonly
kind: UnaryReadonly
name: "SetPWMFrequency"Readonly
setSetPowerMode
sets the power consumption mode of the board to the requested setting for the given duration.
from rpc viam.component.board.v1.BoardService.SetPowerMode
Readonly
I: typeof SetPowerModeRequestReadonly
O: typeof SetPowerModeResponseReadonly
kind: UnaryReadonly
name: "SetPowerMode"Readonly
streamStreamTicks starts a stream of ticks for the given digital interrupts.
from rpc viam.component.board.v1.BoardService.StreamTicks
Readonly
I: typeof StreamTicksRequestReadonly
O: typeof StreamTicksResponseReadonly
kind: ServerStreamingReadonly
name: "StreamTicks"Readonly
writeWriteAnalog writes the value to the analog writer of the board.
from rpc viam.component.board.v1.BoardService.WriteAnalog
Readonly
I: typeof WriteAnalogRequestReadonly
O: typeof WriteAnalogResponseReadonly
kind: UnaryReadonly
name: "WriteAnalog"Readonly
typePrivate
Readonly
namePrivate
Readonly
optionsReturn the current value of the interrupt which is based on the type of interrupt.
The name of the digital interrupt.
Read the current value of an analog reader of a board.
The name of the analog reader.
Set the PWM frequency of the given pin of a board.
The pin.
The PWM frequency, in hertz. 0 will use the board's default PWM frequency.
Stream digital interrupt ticks on the board.
Names of the interrupts to stream.
Array to put the ticks in.
Generated using TypeDoc
A gRPC-web client for the Board component.