fake

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fake implements a fake gripper.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gripper

type Gripper struct {
	generic.Echo
	Name string
	// contains filtered or unexported fields
}

Gripper is a fake gripper that can simply read and set properties.

func (*Gripper) Grab

func (g *Gripper) Grab(ctx context.Context) (bool, error)

Grab does nothing.

func (*Gripper) IsMoving

func (g *Gripper) IsMoving(ctx context.Context) (bool, error)

IsMoving is always false for a fake gripper.

func (*Gripper) ModelFrame

func (g *Gripper) ModelFrame() referenceframe.Model

ModelFrame returns the dynamic frame of the model.

func (*Gripper) Open

func (g *Gripper) Open(ctx context.Context) error

Open does nothing.

func (*Gripper) Stop

func (g *Gripper) Stop(ctx context.Context) error

Stop doesn't do anything for a fake gripper.

Jump to

Keyboard shortcuts

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