Gripper class abstract Components

Gripper represents a physical Gripper which can open and close.

For more information, see Gripper component.

Inheritance
Implementers

Constructors

Gripper()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

doCommand(Map<String, dynamic> command) → Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
inherited
getCurrentInputs({Map<String, dynamic>? extra}) → Future<List<double>>
Get the current position of the Gripper as a list of joint values.
getGeometries({Map<String, dynamic>? extra}) → Future<List<Geometry>>
Get all geometries associated with the Gripper
getKinematics({Map<String, dynamic>? extra}) → Future<Kinematics>
Get the kinematics data associated with the Gripper
getStatus() → Future<Map<String, dynamic>>
Get the status of the Resource
inherited
goToInputs(List<double> values, {Map<String, dynamic>? extra}) → Future<void>
Move the Gripper to the specified joint values.
grab({Map<String, dynamic>? extra}) → Future<void>
Close the Gripper
isHoldingSomething({Map<String, dynamic>? extra}) → Future<HoldingStatus>
Whether the Gripper is currently holding onto an object.
isMoving() → Future<bool>
Whether the Gripper is currently moving.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({Map<String, dynamic>? extra}) → Future<void>
Open the Gripper.
stop({Map<String, dynamic>? extra}) → Future<void>
Stop all motion of the Gripper. It is assumed the Gripper stops immediately.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromRobot(RobotClient robot, String name) → Gripper
Get the Gripper named name from the provided robot.
getResourceName(String name) → ResourceName
Get the ResourceName for the Gripper with the given name

Constants

subtype → const Subtype