Initial commit
This commit is contained in:
19
robot/RobotMotorPosition.js
Executable file
19
robot/RobotMotorPosition.js
Executable file
@@ -0,0 +1,19 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user