risdk

package module
v1.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 12 Imported by: 0

README

go-risdk

Golang library which provides interfaces to assemble components to communicate with hardware peripherals.

Documentation

Index

Constants

View Source
const Stop controlSignal = 0

Variables

This section is empty.

Functions

func StopClient added in v1.0.13

func StopClient(client *ClientRPC)

StopClient - остановка работы клиента.

Types

type ClientRPC

type ClientRPC struct {
	Client     *plugin.Client   // клиент
	RoboSdkApi proto.RoboSdkApi //
	// contains filtered or unexported fields
}

clientRPC - Структура для для работы с API SDK по RPC.

func GenerateClientRPC added in v1.0.12

func GenerateClientRPC(path string) *ClientRPC

GenerateClientRPC - генератор уникального клиента. SDK находится в директории исполнения программы.

func GetClientRPC

func GetClientRPC() *ClientRPC

func GetClientRPCWithPath added in v1.0.7

func GetClientRPCWithPath(path string) *ClientRPC

GetClientRPCWithPath - получаем объект для работы с API SDK по RPC. SDK находится в указанной директории.

func (*ClientRPC) Kill added in v1.0.24

func (client *ClientRPC) Kill()

Kill - Сбрасывает скважность со всех портов ШИМ, останавливает процесс.

Directories

Path Synopsis
Общие объекты для плагина и клиентского кода
Общие объекты для плагина и клиентского кода

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL