Fix ESLint errors, bugs, and add gravity export
- Fix missing return in childRegistrationUtils.registerChild() - Fix assertionUtils: assertNoNaN uses this.assertNoNaN - Fix logger: nameModule uses this.nameModule - Fix assetUtils: convert ESM to CommonJS - Fix childRegistrationUtils_DEPRECATED: desc -> softwareType - Add gravity export to index.js for rotatingMachine - Fix ESLint errors across 18 files (no-undef, no-case-declarations, no-mixed-spaces-and-tabs, parsing errors) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,15 +49,17 @@ class movementManager {
|
||||
try {
|
||||
// Execute the movement logic based on the mode
|
||||
switch (this.movementMode) {
|
||||
case "staticspeed":
|
||||
case "staticspeed": {
|
||||
const movelinFeedback = await this.moveLinear(targetPosition,signal);
|
||||
this.logger.info(`Linear move: ${movelinFeedback} `);
|
||||
break;
|
||||
}
|
||||
|
||||
case "dynspeed":
|
||||
case "dynspeed": {
|
||||
const moveDynFeedback = await this.moveEaseInOut(targetPosition,signal);
|
||||
this.logger.info(`Dynamic move : ${moveDynFeedback}`);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
throw new Error(`Unsupported movement mode: ${this.movementMode}`);
|
||||
|
||||
Reference in New Issue
Block a user