@duet3d/objectmodel 3.7.0-beta.16 → 3.7.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,9 @@ import Driver from "./Driver";
5
5
  export declare class Accelerometer extends ModelObject {
6
6
  orientation: number;
7
7
  points: number;
8
+ resolution: number;
8
9
  runs: number;
10
+ samplingRate: number;
9
11
  }
10
12
  export declare class BoardClosedLoop extends ModelObject {
11
13
  points: number;
@@ -7,7 +7,9 @@ export class Accelerometer extends ModelObject {
7
7
  super(...arguments);
8
8
  this.orientation = 20;
9
9
  this.points = 0;
10
+ this.resolution = 0;
10
11
  this.runs = 0;
12
+ this.samplingRate = 0;
11
13
  }
12
14
  }
13
15
  export class BoardClosedLoop extends ModelObject {
@@ -9,7 +9,12 @@
9
9
  "remarks": "See https://docs.duet3d.com/en/Duet3D_hardware/Accessories/Duet3D_Accelerometer#orientation for a list of orientations"
10
10
  },
11
11
  "boards[].accelerometer.points": "Number of collected data points in the last run or 0 if it failed",
12
+ "boards[].accelerometer.resolution": "Resolution the accelerometer is programmed for (in bits) or 0 if unknown",
12
13
  "boards[].accelerometer.runs": "Number of completed sampling runs",
14
+ "boards[].accelerometer.samplingRate": {
15
+ "summary": "Rate the accelerometer is programmed for (in Hz) or 0 if unknown",
16
+ "remarks": "This is the rate the accelerometer settled on, which may be lower than the one M955 asked for. Once it has completed a run, the rate measured during that run is reported instead"
17
+ },
13
18
  "boards[].canAddress": "CAN address of this board or null if not applicable",
14
19
  "boards[].closedLoop": "Closed loop data of this board or null if unknown",
15
20
  "boards[].closedLoop.points": "Number of collected data points in the last run or 0 if it failed",
@@ -43,6 +43,7 @@ export declare class Move extends ModelObject {
43
43
  readonly keepout: ModelCollection<KeepoutZone | null>;
44
44
  kinematics: Kinematics;
45
45
  limitAxes: boolean;
46
+ minSpeed: number;
46
47
  noMovesBeforeHoming: boolean;
47
48
  readonly motionSystems: ModelCollection<MotionSystem>;
48
49
  /**
@@ -57,6 +57,7 @@ export class Move extends ModelObject {
57
57
  this.keepout = new ModelCollection(KeepoutZone);
58
58
  this.kinematics = new CoreKinematics(KinematicsName.cartesian);
59
59
  this.limitAxes = true;
60
+ this.minSpeed = 30;
60
61
  this.noMovesBeforeHoming = true;
61
62
  this.motionSystems = new ModelCollection(MotionSystem);
62
63
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.7.0-beta.16",
3
+ "version": "3.7.0-beta.18",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",