Arm class abstract
Arm represents a physical robot arm that exists in three-dimensional space.
Constructors
- Arm()
Properties
Methods
-
doCommand(
Map< String, dynamic> command) → Future<Map< String, dynamic> > -
Send/Receive arbitrary commands to the Resource
inherited
-
endPosition(
{Map< String, dynamic> ? extra}) → Future<Pose> -
Get the current
Pose
of the end of the arm. -
isMoving(
) → Future< bool> - Get if the arm is currently moving
-
jointPositions(
{Map< String, dynamic> ? extra}) → Future<List< double> > -
Get the
List
representing the current position of the arm -
moveToJointPositions(
List< double> positions, {Map<String, dynamic> ? extra}) → Future<void> -
Move each joint on the arm to the corresponding position specified in
positions
-
moveToPosition(
Pose pose, {Map< String, dynamic> ? extra}) → Future<void> - Move the end of the arm to the Pose specified.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
{Map< String, dynamic> ? extra}) → Future<void> - Stops all motion of the arm. It is assumed that the arm 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) → Arm -
Get the Arm named
name
from the provided robot. -
getResourceName(
String name) → ResourceName -
Get the ResourceName for this Arm with the given
name