20 lines
445 B
JavaScript
Executable File
20 lines
445 B
JavaScript
Executable File
module.exports = class RobotMotorPosition{
|
|
|
|
|
|
constructor(x, y, z, a, b, c, e = 0.0){
|
|
this.x = x; // X-Motor
|
|
this.y = y; // Y-Motor
|
|
this.z = z;
|
|
|
|
this.a = a; // A-Motor: Ellbow-LowerArm turner
|
|
this.b = b; // B-Motor: Hand up-down
|
|
this.c = c; // C-Motor: Hand twist
|
|
|
|
this.e = e; // Finger open
|
|
|
|
this.time = Date.now();
|
|
}
|
|
|
|
}
|
|
|