ArmCommand({ - bool? stop,
- bool? calibrate,
- MotorCommand? swivel,
- MotorCommand? shoulder,
- MotorCommand? elbow,
- MotorCommand? gripperLift,
- double? ikX,
- double? ikY,
- double? ikZ,
- bool? jab,
- Version? version,
})
Implementation
factory ArmCommand({
$core.bool? stop,
$core.bool? calibrate,
MotorCommand? swivel,
MotorCommand? shoulder,
MotorCommand? elbow,
MotorCommand? gripperLift,
$core.double? ikX,
$core.double? ikY,
$core.double? ikZ,
$core.bool? jab,
$0.Version? version,
}) {
final $result = create();
if (stop != null) {
$result.stop = stop;
}
if (calibrate != null) {
$result.calibrate = calibrate;
}
if (swivel != null) {
$result.swivel = swivel;
}
if (shoulder != null) {
$result.shoulder = shoulder;
}
if (elbow != null) {
$result.elbow = elbow;
}
if (gripperLift != null) {
$result.gripperLift = gripperLift;
}
if (ikX != null) {
$result.ikX = ikX;
}
if (ikY != null) {
$result.ikY = ikY;
}
if (ikZ != null) {
$result.ikZ = ikZ;
}
if (jab != null) {
$result.jab = jab;
}
if (version != null) {
$result.version = version;
}
return $result;
}