setManualMode method
override
Enter or exit manual mode for an arm that supports it.
enabledFor limits how long the arm stays in manual mode; Duration.zero means no time limit.
await myArm.setManualMode(true, enabledFor: Duration(seconds: 30));
For more information, see Arm component.
Implementation
@override
Future<void> setManualMode(bool manualMode, {Duration enabledFor = Duration.zero, Map<String, dynamic>? extra}) async {
final request = SetManualModeRequest()
..name = name
..manualMode = manualMode
..enabledFor = enabledFor.inSeconds
..extra = extra?.toStruct() ?? Struct();
await client.setManualMode(request, options: callOptions);
}