Documentation ¶
Overview ¶
Package gripper contains a gRPC based gripper client.
Package gripper defines a robotic gripper.
Package gripper contains a gRPC based gripper service server.
Index ¶
Constants ¶
View Source
const SubtypeName = "gripper"
SubtypeName is a constant that identifies the component resource API string.
Variables ¶
View Source
var API = resource.APINamespaceRDK.WithComponentType(SubtypeName)
API is a variable that identifies the component resource API.
View Source
var ErrStopUnimplemented = errors.New("Stop unimplemented")
ErrStopUnimplemented is used for when Stop is unimplemented.
Functions ¶
func CreateStatus ¶
CreateStatus creates a status from the gripper.
func NamesFromRobot ¶
NamesFromRobot is a helper for getting all gripper names from the given Robot.
func NewRPCServiceServer ¶ added in v0.2.36
func NewRPCServiceServer(coll resource.APIResourceCollection[Gripper]) interface{}
NewRPCServiceServer constructs an gripper gRPC service server. It is intentionally untyped to prevent use outside of tests.
Types ¶
type Gripper ¶
type Gripper interface { resource.Resource resource.Actuator referenceframe.ModelFramer // Open opens the gripper. // This will block until done or a new operation cancels this one Open(ctx context.Context, extra map[string]interface{}) error // Grab makes the gripper grab. // returns true if we grabbed something. // This will block until done or a new operation cancels this one Grab(ctx context.Context, extra map[string]interface{}) (bool, error) }
A Gripper represents a physical robotic gripper.
Directories ¶
Path | Synopsis |
---|---|
Package fake implements a fake gripper.
|
Package fake implements a fake gripper. |
Package register registers all relevant grippers and also API specific functions
|
Package register registers all relevant grippers and also API specific functions |
Package robotiq implements the gripper from robotiq.
|
Package robotiq implements the gripper from robotiq. |
Package softrobotics implements the vacuum gripper from Soft Robotics.
|
Package softrobotics implements the vacuum gripper from Soft Robotics. |
Package yahboom implements a yahboom based gripper.
|
Package yahboom implements a yahboom based gripper. |
Click to show internal directories.
Click to hide internal directories.