proxy

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALRobotPostureProxy

type ALRobotPostureProxy interface {
	GetPostureFamily() (string, error)
	GoToPosture(postureName string, maxSpeedFraction float32) (bool, error)
	ApplyPosture(postureName string, maxSpeedFraction float32) (bool, error)
	StopMove() error
	GetPostureList() ([]string, error)
	GetPostureFamilyList() ([]string, error)
	SetMaxTryNumber(pMaxTryNumber int32) error
	GetPosture() (string, error)
	// Generic methods shared by all objectsProxy
	bus.ObjectProxy
	// WithContext can be used cancellation and timeout
	WithContext(ctx context.Context) ALRobotPostureProxy
}

ALRobotPostureProxy represents a proxy object to the service

func ALRobotPosture

func ALRobotPosture(session bus.Session) (ALRobotPostureProxy, error)

ALRobotPosture returns a proxy to a remote service

func MakeALRobotPosture

func MakeALRobotPosture(sess bus.Session, proxy bus.Proxy) ALRobotPostureProxy

MakeALRobotPosture returns a specialized proxy.

Jump to

Keyboard shortcuts

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