@foxglove/schemas 1.12.0 → 2.0.0

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.
@@ -0,0 +1,26 @@
1
+ import { KeyValuePair } from "./KeyValuePair";
2
+ import { Pose } from "./Pose";
3
+ import { Time } from "./Time";
4
+ import { Vector3 } from "./Vector3";
5
+ /** An estimate of position, orientation, and velocity for an object or reference frame in 3D space */
6
+ export type Odometry = {
7
+ /** Timestamp of the message */
8
+ timestamp: Time;
9
+ /** Reference coordinate frame (e.g. `map` or `odom`) */
10
+ frame_id: string;
11
+ /** Coordinate frame of the body whose motion is being estimated (e.g. `base_link`) */
12
+ body_frame_id: string;
13
+ /** Position and orientation of body_frame_id in frame_id */
14
+ pose: Pose;
15
+ /** Linear velocity in m/s in body_frame_id */
16
+ linear_velocity?: Vector3;
17
+ /** Angular velocity in rad/s in body_frame_id */
18
+ angular_velocity?: Vector3;
19
+ /** Row-major 6x6 covariance matrix (x, y, z, rotation about x, rotation about y, rotation about z). Set to zero if unknown. */
20
+ pose_covariance?: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
21
+ /** Row-major 6x6 covariance matrix (vx, vy, vz, angular rate about x, angular rate about y, angular rate about z). Set to zero if unknown. */
22
+ velocity_covariance?: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
23
+ /** Additional user-provided metadata associated with the odometry message. Keys must be unique. */
24
+ metadata?: KeyValuePair[];
25
+ };
26
+ //# sourceMappingURL=Odometry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Odometry.d.ts","sourceRoot":"","sources":["../../src/types/Odometry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ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E,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAEvT,mGAAmG;IACnG,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC"}
@@ -2,4 +2,4 @@
2
2
  // Generated by https://github.com/foxglove/foxglove-sdk
3
3
  // Options: {}
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=Velocity3.js.map
5
+ //# sourceMappingURL=Odometry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Odometry.js","sourceRoot":"","sources":["../../src/types/Odometry.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,cAAc"}
@@ -1,8 +1,8 @@
1
1
  /** A vector in 2D space that represents a direction only */
2
2
  export type Vector2 = {
3
- /** x coordinate length */
3
+ /** x component */
4
4
  x: number;
5
- /** y coordinate length */
5
+ /** y component */
6
6
  y: number;
7
7
  };
8
8
  //# sourceMappingURL=Vector2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Vector2.d.ts","sourceRoot":"","sources":["../../src/types/Vector2.ts"],"names":[],"mappings":"AAGA,4DAA4D;AAC5D,MAAM,MAAM,OAAO,GAAG;IACpB,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAC;IAEV,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
1
+ {"version":3,"file":"Vector2.d.ts","sourceRoot":"","sources":["../../src/types/Vector2.ts"],"names":[],"mappings":"AAGA,4DAA4D;AAC5D,MAAM,MAAM,OAAO,GAAG;IACpB,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;IAEV,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /** A vector in 3D space that represents a direction only */
2
2
  export type Vector3 = {
3
- /** x coordinate length */
3
+ /** x component */
4
4
  x: number;
5
- /** y coordinate length */
5
+ /** y component */
6
6
  y: number;
7
- /** z coordinate length */
7
+ /** z component */
8
8
  z: number;
9
9
  };
10
10
  //# sourceMappingURL=Vector3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Vector3.d.ts","sourceRoot":"","sources":["../../src/types/Vector3.ts"],"names":[],"mappings":"AAGA,4DAA4D;AAC5D,MAAM,MAAM,OAAO,GAAG;IACpB,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAC;IAEV,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAC;IAEV,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
1
+ {"version":3,"file":"Vector3.d.ts","sourceRoot":"","sources":["../../src/types/Vector3.ts"],"names":[],"mappings":"AAGA,4DAA4D;AAC5D,MAAM,MAAM,OAAO,GAAG;IACpB,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;IAEV,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;IAEV,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
@@ -3,6 +3,7 @@ export * from "./CameraCalibration";
3
3
  export * from "./CircleAnnotation";
4
4
  export * from "./Color";
5
5
  export * from "./CompressedImage";
6
+ export * from "./CompressedPointCloud";
6
7
  export * from "./CompressedVideo";
7
8
  export * from "./CubePrimitive";
8
9
  export * from "./CylinderPrimitive";
@@ -24,6 +25,7 @@ export * from "./Log";
24
25
  export * from "./LogLevel";
25
26
  export * from "./ModelPrimitive";
26
27
  export * from "./NumericType";
28
+ export * from "./Odometry";
27
29
  export * from "./PackedElementField";
28
30
  export * from "./Point2";
29
31
  export * from "./Point3";
@@ -49,6 +51,5 @@ export * from "./Time";
49
51
  export * from "./TriangleListPrimitive";
50
52
  export * from "./Vector2";
51
53
  export * from "./Vector3";
52
- export * from "./Velocity3";
53
54
  export * from "./VoxelGrid";
54
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC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;AACvC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./CameraCalibration"), exports);
6
6
  tslib_1.__exportStar(require("./CircleAnnotation"), exports);
7
7
  tslib_1.__exportStar(require("./Color"), exports);
8
8
  tslib_1.__exportStar(require("./CompressedImage"), exports);
9
+ tslib_1.__exportStar(require("./CompressedPointCloud"), exports);
9
10
  tslib_1.__exportStar(require("./CompressedVideo"), exports);
10
11
  tslib_1.__exportStar(require("./CubePrimitive"), exports);
11
12
  tslib_1.__exportStar(require("./CylinderPrimitive"), exports);
@@ -27,6 +28,7 @@ tslib_1.__exportStar(require("./Log"), exports);
27
28
  tslib_1.__exportStar(require("./LogLevel"), exports);
28
29
  tslib_1.__exportStar(require("./ModelPrimitive"), exports);
29
30
  tslib_1.__exportStar(require("./NumericType"), exports);
31
+ tslib_1.__exportStar(require("./Odometry"), exports);
30
32
  tslib_1.__exportStar(require("./PackedElementField"), exports);
31
33
  tslib_1.__exportStar(require("./Point2"), exports);
32
34
  tslib_1.__exportStar(require("./Point3"), exports);
@@ -52,6 +54,5 @@ tslib_1.__exportStar(require("./Time"), exports);
52
54
  tslib_1.__exportStar(require("./TriangleListPrimitive"), exports);
53
55
  tslib_1.__exportStar(require("./Vector2"), exports);
54
56
  tslib_1.__exportStar(require("./Vector3"), exports);
55
- tslib_1.__exportStar(require("./Velocity3"), exports);
56
57
  tslib_1.__exportStar(require("./VoxelGrid"), exports);
57
58
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,8DAAoC;AACpC,6DAAmC;AACnC,kDAAwB;AACxB,4DAAkC;AAClC,4DAAkC;AAClC,0DAAgC;AAChC,8DAAoC;AACpC,qDAA2B;AAC3B,2DAAiC;AACjC,4DAAkC;AAClC,oDAA0B;AAC1B,iDAAuB;AACvB,6DAAmC;AACnC,uDAA6B;AAC7B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,qDAA2B;AAC3B,wDAA8B;AAC9B,0DAAgC;AAChC,gDAAsB;AACtB,qDAA2B;AAC3B,2DAAiC;AACjC,wDAA8B;AAC9B,+DAAqC;AACrC,mDAAyB;AACzB,mDAAyB;AACzB,0DAAgC;AAChC,uDAA6B;AAC7B,6DAAmC;AACnC,iEAAuC;AACvC,iDAAuB;AACvB,wDAA8B;AAC9B,yDAA+B;AAC/B,mEAAyC;AACzC,uDAA6B;AAC7B,qDAA2B;AAC3B,qDAA2B;AAC3B,wDAA8B;AAC9B,gEAAsC;AACtC,oEAA0C;AAC1C,wDAA8B;AAC9B,4DAAkC;AAClC,2DAAiC;AACjC,0DAAgC;AAChC,iDAAuB;AACvB,kEAAwC;AACxC,oDAA0B;AAC1B,oDAA0B;AAC1B,sDAA4B;AAC5B,sDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,8DAAoC;AACpC,6DAAmC;AACnC,kDAAwB;AACxB,4DAAkC;AAClC,iEAAuC;AACvC,4DAAkC;AAClC,0DAAgC;AAChC,8DAAoC;AACpC,qDAA2B;AAC3B,2DAAiC;AACjC,4DAAkC;AAClC,oDAA0B;AAC1B,iDAAuB;AACvB,6DAAmC;AACnC,uDAA6B;AAC7B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,qDAA2B;AAC3B,wDAA8B;AAC9B,0DAAgC;AAChC,gDAAsB;AACtB,qDAA2B;AAC3B,2DAAiC;AACjC,wDAA8B;AAC9B,qDAA2B;AAC3B,+DAAqC;AACrC,mDAAyB;AACzB,mDAAyB;AACzB,0DAAgC;AAChC,uDAA6B;AAC7B,6DAAmC;AACnC,iEAAuC;AACvC,iDAAuB;AACvB,wDAA8B;AAC9B,yDAA+B;AAC/B,mEAAyC;AACzC,uDAA6B;AAC7B,qDAA2B;AAC3B,qDAA2B;AAC3B,wDAA8B;AAC9B,gEAAsC;AACtC,oEAA0C;AAC1C,wDAA8B;AAC9B,4DAAkC;AAClC,2DAAiC;AACjC,0DAAgC;AAChC,iDAAuB;AACvB,kEAAwC;AACxC,oDAA0B;AAC1B,oDAA0B;AAC1B,sDAA4B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxglove/schemas",
3
- "version": "1.12.0",
3
+ "version": "2.0.0",
4
4
  "description": "Foxglove-defined message schemas for ROS, Protobuf, FlatBuffers, OMG IDL, and JSON",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -1,10 +0,0 @@
1
- /** A velocity vector in 3D space */
2
- export type Velocity3 = {
3
- /** x component */
4
- x: number;
5
- /** y component */
6
- y: number;
7
- /** z component */
8
- z: number;
9
- };
10
- //# sourceMappingURL=Velocity3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Velocity3.d.ts","sourceRoot":"","sources":["../../src/types/Velocity3.ts"],"names":[],"mappings":"AAGA,oCAAoC;AACpC,MAAM,MAAM,SAAS,GAAG;IACtB,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;IAEV,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;IAEV,kBAAkB;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Velocity3.js","sourceRoot":"","sources":["../../src/types/Velocity3.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,cAAc"}