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,
$1.MotorCommand? swivel,
$1.MotorCommand? shoulder,
$1.MotorCommand? elbow,
$1.MotorCommand? gripperLift,
$core.double? ikX,
$core.double? ikY,
$core.double? ikZ,
$core.bool? jab,
$2.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;
}