Documentation ¶
Overview ¶
Package fake implements a fake gripper.
Index ¶
- type AttrConfig
- type Gripper
- func (g *Gripper) Grab(ctx context.Context, extra map[string]interface{}) (bool, error)
- func (g *Gripper) IsMoving(ctx context.Context) (bool, error)
- func (g *Gripper) ModelFrame() referenceframe.Model
- func (g *Gripper) Open(ctx context.Context, extra map[string]interface{}) error
- func (g *Gripper) Stop(ctx context.Context, extra map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶ added in v0.1.2
type AttrConfig struct{}
AttrConfig is the config for a trossen gripper.
func (*AttrConfig) Validate ¶ added in v0.1.2
func (config *AttrConfig) Validate(path string) error
Validate ensures all parts of the config are valid.
type Gripper ¶
Gripper is a fake gripper that can simply read and set properties.
func (*Gripper) ModelFrame ¶
func (g *Gripper) ModelFrame() referenceframe.Model
ModelFrame returns the dynamic frame of the model.
Click to show internal directories.
Click to hide internal directories.