isMoving method

  1. @override
Future<bool> isMoving()
override

Whether the arm is currently moving

bool isArmMoving = await myArm.isMoving();

For more information, see Arm component.

Implementation

@override
Future<bool> isMoving() async {
  final request = IsMovingRequest()..name = name;
  final response = await client.isMoving(request);
  return response.isMoving;
}