@foxglove/schemas 0.3.0 → 0.6.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.
Files changed (267) hide show
  1. package/.vscode/settings.json +1 -1
  2. package/README.md +5 -7
  3. package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts +18 -0
  4. package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
  5. package/dist/cjs/schemas/typescript/ArrowPrimitive.js +4 -0
  6. package/dist/cjs/schemas/typescript/ArrowPrimitive.js.map +1 -0
  7. package/dist/cjs/schemas/typescript/CameraCalibration.d.ts +2 -0
  8. package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -1
  9. package/dist/cjs/schemas/typescript/CompressedImage.d.ts +2 -0
  10. package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -1
  11. package/dist/cjs/schemas/typescript/CubePrimitive.d.ts +13 -0
  12. package/dist/cjs/schemas/typescript/CubePrimitive.d.ts.map +1 -0
  13. package/dist/cjs/schemas/typescript/CubePrimitive.js +4 -0
  14. package/dist/cjs/schemas/typescript/CubePrimitive.js.map +1 -0
  15. package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts +17 -0
  16. package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
  17. package/dist/cjs/schemas/typescript/CylinderPrimitive.js +4 -0
  18. package/dist/cjs/schemas/typescript/CylinderPrimitive.js.map +1 -0
  19. package/dist/cjs/schemas/typescript/KeyValuePair.d.ts +8 -0
  20. package/dist/cjs/schemas/typescript/KeyValuePair.d.ts.map +1 -0
  21. package/dist/cjs/schemas/typescript/KeyValuePair.js +4 -0
  22. package/dist/cjs/schemas/typescript/KeyValuePair.js.map +1 -0
  23. package/dist/cjs/schemas/typescript/LinePrimitive.d.ts +28 -0
  24. package/dist/cjs/schemas/typescript/LinePrimitive.d.ts.map +1 -0
  25. package/dist/cjs/schemas/typescript/LinePrimitive.js +4 -0
  26. package/dist/cjs/schemas/typescript/LinePrimitive.js.map +1 -0
  27. package/dist/cjs/schemas/typescript/LineType.d.ts +10 -0
  28. package/dist/cjs/schemas/typescript/LineType.d.ts.map +1 -0
  29. package/dist/cjs/schemas/typescript/LineType.js +15 -0
  30. package/dist/cjs/schemas/typescript/LineType.js.map +1 -0
  31. package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts +21 -0
  32. package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
  33. package/dist/cjs/schemas/typescript/ModelPrimitive.js +4 -0
  34. package/dist/cjs/schemas/typescript/ModelPrimitive.js.map +1 -0
  35. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +5 -1
  36. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  37. package/dist/cjs/schemas/typescript/RawImage.d.ts +2 -0
  38. package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -1
  39. package/dist/cjs/schemas/typescript/SceneEntity.d.ts +43 -0
  40. package/dist/cjs/schemas/typescript/SceneEntity.d.ts.map +1 -0
  41. package/dist/cjs/schemas/typescript/SceneEntity.js +4 -0
  42. package/dist/cjs/schemas/typescript/SceneEntity.js.map +1 -0
  43. package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
  44. package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
  45. package/dist/cjs/schemas/typescript/SceneEntityDeletion.js +4 -0
  46. package/dist/cjs/schemas/typescript/SceneEntityDeletion.js.map +1 -0
  47. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
  48. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
  49. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js +13 -0
  50. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
  51. package/dist/cjs/schemas/typescript/SceneUpdate.d.ts +10 -0
  52. package/dist/cjs/schemas/typescript/SceneUpdate.d.ts.map +1 -0
  53. package/dist/cjs/schemas/typescript/SceneUpdate.js +4 -0
  54. package/dist/cjs/schemas/typescript/SceneUpdate.js.map +1 -0
  55. package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts +13 -0
  56. package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
  57. package/dist/cjs/schemas/typescript/SpherePrimitive.js +4 -0
  58. package/dist/cjs/schemas/typescript/SpherePrimitive.js.map +1 -0
  59. package/dist/cjs/schemas/typescript/TextPrimitive.d.ts +18 -0
  60. package/dist/cjs/schemas/typescript/TextPrimitive.d.ts.map +1 -0
  61. package/dist/cjs/schemas/typescript/TextPrimitive.js +4 -0
  62. package/dist/cjs/schemas/typescript/TextPrimitive.js.map +1 -0
  63. package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
  64. package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
  65. package/dist/cjs/schemas/typescript/TriangleListPrimitive.js +4 -0
  66. package/dist/cjs/schemas/typescript/TriangleListPrimitive.js.map +1 -0
  67. package/dist/cjs/schemas/typescript/index.d.ts +14 -0
  68. package/dist/cjs/schemas/typescript/index.d.ts.map +1 -1
  69. package/dist/cjs/schemas/typescript/index.js +14 -0
  70. package/dist/cjs/schemas/typescript/index.js.map +1 -1
  71. package/dist/cjs/src/generateMarkdown.d.ts.map +1 -1
  72. package/dist/cjs/src/generateMarkdown.js +3 -1
  73. package/dist/cjs/src/generateMarkdown.js.map +1 -1
  74. package/dist/cjs/src/generateProto.d.ts.map +1 -1
  75. package/dist/cjs/src/generateProto.js +21 -3
  76. package/dist/cjs/src/generateProto.js.map +1 -1
  77. package/dist/cjs/src/generateProto.test.js +22 -22
  78. package/dist/cjs/src/schemas.d.ts +15 -1
  79. package/dist/cjs/src/schemas.d.ts.map +1 -1
  80. package/dist/cjs/src/schemas.js +569 -79
  81. package/dist/cjs/src/schemas.js.map +1 -1
  82. package/dist/cjs/src/schemas.test.js +17 -0
  83. package/dist/cjs/src/schemas.test.js.map +1 -1
  84. package/dist/cjs/src/testFixtures.d.ts.map +1 -1
  85. package/dist/cjs/src/testFixtures.js +1 -0
  86. package/dist/cjs/src/testFixtures.js.map +1 -1
  87. package/dist/cjs/src/types.d.ts +18 -16
  88. package/dist/cjs/src/types.d.ts.map +1 -1
  89. package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts +18 -0
  90. package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
  91. package/dist/esm/schemas/typescript/ArrowPrimitive.js +3 -0
  92. package/dist/esm/schemas/typescript/ArrowPrimitive.js.map +1 -0
  93. package/dist/esm/schemas/typescript/CameraCalibration.d.ts +2 -0
  94. package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -1
  95. package/dist/esm/schemas/typescript/CompressedImage.d.ts +2 -0
  96. package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -1
  97. package/dist/esm/schemas/typescript/CubePrimitive.d.ts +13 -0
  98. package/dist/esm/schemas/typescript/CubePrimitive.d.ts.map +1 -0
  99. package/dist/esm/schemas/typescript/CubePrimitive.js +3 -0
  100. package/dist/esm/schemas/typescript/CubePrimitive.js.map +1 -0
  101. package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts +17 -0
  102. package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
  103. package/dist/esm/schemas/typescript/CylinderPrimitive.js +3 -0
  104. package/dist/esm/schemas/typescript/CylinderPrimitive.js.map +1 -0
  105. package/dist/esm/schemas/typescript/KeyValuePair.d.ts +8 -0
  106. package/dist/esm/schemas/typescript/KeyValuePair.d.ts.map +1 -0
  107. package/dist/esm/schemas/typescript/KeyValuePair.js +3 -0
  108. package/dist/esm/schemas/typescript/KeyValuePair.js.map +1 -0
  109. package/dist/esm/schemas/typescript/LinePrimitive.d.ts +28 -0
  110. package/dist/esm/schemas/typescript/LinePrimitive.d.ts.map +1 -0
  111. package/dist/esm/schemas/typescript/LinePrimitive.js +3 -0
  112. package/dist/esm/schemas/typescript/LinePrimitive.js.map +1 -0
  113. package/dist/esm/schemas/typescript/LineType.d.ts +10 -0
  114. package/dist/esm/schemas/typescript/LineType.d.ts.map +1 -0
  115. package/dist/esm/schemas/typescript/LineType.js +12 -0
  116. package/dist/esm/schemas/typescript/LineType.js.map +1 -0
  117. package/dist/esm/schemas/typescript/ModelPrimitive.d.ts +21 -0
  118. package/dist/esm/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
  119. package/dist/esm/schemas/typescript/ModelPrimitive.js +3 -0
  120. package/dist/esm/schemas/typescript/ModelPrimitive.js.map +1 -0
  121. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +5 -1
  122. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  123. package/dist/esm/schemas/typescript/RawImage.d.ts +2 -0
  124. package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -1
  125. package/dist/esm/schemas/typescript/SceneEntity.d.ts +43 -0
  126. package/dist/esm/schemas/typescript/SceneEntity.d.ts.map +1 -0
  127. package/dist/esm/schemas/typescript/SceneEntity.js +3 -0
  128. package/dist/esm/schemas/typescript/SceneEntity.js.map +1 -0
  129. package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
  130. package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
  131. package/dist/esm/schemas/typescript/SceneEntityDeletion.js +3 -0
  132. package/dist/esm/schemas/typescript/SceneEntityDeletion.js.map +1 -0
  133. package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
  134. package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
  135. package/dist/esm/schemas/typescript/SceneEntityDeletionType.js +10 -0
  136. package/dist/esm/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
  137. package/dist/esm/schemas/typescript/SceneUpdate.d.ts +10 -0
  138. package/dist/esm/schemas/typescript/SceneUpdate.d.ts.map +1 -0
  139. package/dist/esm/schemas/typescript/SceneUpdate.js +3 -0
  140. package/dist/esm/schemas/typescript/SceneUpdate.js.map +1 -0
  141. package/dist/esm/schemas/typescript/SpherePrimitive.d.ts +13 -0
  142. package/dist/esm/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
  143. package/dist/esm/schemas/typescript/SpherePrimitive.js +3 -0
  144. package/dist/esm/schemas/typescript/SpherePrimitive.js.map +1 -0
  145. package/dist/esm/schemas/typescript/TextPrimitive.d.ts +18 -0
  146. package/dist/esm/schemas/typescript/TextPrimitive.d.ts.map +1 -0
  147. package/dist/esm/schemas/typescript/TextPrimitive.js +3 -0
  148. package/dist/esm/schemas/typescript/TextPrimitive.js.map +1 -0
  149. package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
  150. package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
  151. package/dist/esm/schemas/typescript/TriangleListPrimitive.js +3 -0
  152. package/dist/esm/schemas/typescript/TriangleListPrimitive.js.map +1 -0
  153. package/dist/esm/schemas/typescript/index.d.ts +14 -0
  154. package/dist/esm/schemas/typescript/index.d.ts.map +1 -1
  155. package/dist/esm/schemas/typescript/index.js +14 -0
  156. package/dist/esm/schemas/typescript/index.js.map +1 -1
  157. package/dist/esm/src/generateMarkdown.d.ts.map +1 -1
  158. package/dist/esm/src/generateMarkdown.js +3 -1
  159. package/dist/esm/src/generateMarkdown.js.map +1 -1
  160. package/dist/esm/src/generateProto.d.ts.map +1 -1
  161. package/dist/esm/src/generateProto.js +21 -3
  162. package/dist/esm/src/generateProto.js.map +1 -1
  163. package/dist/esm/src/generateProto.test.js +22 -22
  164. package/dist/esm/src/schemas.d.ts +15 -1
  165. package/dist/esm/src/schemas.d.ts.map +1 -1
  166. package/dist/esm/src/schemas.js +569 -79
  167. package/dist/esm/src/schemas.js.map +1 -1
  168. package/dist/esm/src/schemas.test.js +17 -0
  169. package/dist/esm/src/schemas.test.js.map +1 -1
  170. package/dist/esm/src/testFixtures.d.ts.map +1 -1
  171. package/dist/esm/src/testFixtures.js +1 -0
  172. package/dist/esm/src/testFixtures.js.map +1 -1
  173. package/dist/esm/src/types.d.ts +18 -16
  174. package/dist/esm/src/types.d.ts.map +1 -1
  175. package/package.json +1 -1
  176. package/schemas/README.md +1098 -14
  177. package/schemas/jsonschema/ArrowPrimitive.json +96 -0
  178. package/schemas/jsonschema/CameraCalibration.json +4 -0
  179. package/schemas/jsonschema/CompressedImage.json +4 -0
  180. package/schemas/jsonschema/CubePrimitive.json +99 -0
  181. package/schemas/jsonschema/CylinderPrimitive.json +107 -0
  182. package/schemas/jsonschema/ImageAnnotations.json +28 -1
  183. package/schemas/jsonschema/KeyValuePair.json +16 -0
  184. package/schemas/jsonschema/LinePrimitive.json +167 -0
  185. package/schemas/jsonschema/ModelPrimitive.json +116 -0
  186. package/schemas/jsonschema/PointsAnnotation.json +28 -1
  187. package/schemas/jsonschema/RawImage.json +4 -0
  188. package/schemas/jsonschema/SceneEntity.json +1012 -0
  189. package/schemas/jsonschema/SceneEntityDeletion.json +44 -0
  190. package/schemas/jsonschema/SceneUpdate.json +1070 -0
  191. package/schemas/jsonschema/SpherePrimitive.json +99 -0
  192. package/schemas/jsonschema/TextPrimitive.json +96 -0
  193. package/schemas/jsonschema/TriangleListPrimitive.json +138 -0
  194. package/schemas/proto/foxglove/ArrowPrimitive.proto +29 -0
  195. package/schemas/proto/foxglove/CameraCalibration.proto +3 -0
  196. package/schemas/proto/foxglove/CompressedImage.proto +3 -0
  197. package/schemas/proto/foxglove/CubePrimitive.proto +21 -0
  198. package/schemas/proto/foxglove/CylinderPrimitive.proto +27 -0
  199. package/schemas/proto/foxglove/KeyValuePair.proto +14 -0
  200. package/schemas/proto/foxglove/LinePrimitive.proto +49 -0
  201. package/schemas/proto/foxglove/ModelPrimitive.proto +33 -0
  202. package/schemas/proto/foxglove/PointsAnnotation.proto +9 -3
  203. package/schemas/proto/foxglove/RawImage.proto +3 -0
  204. package/schemas/proto/foxglove/SceneEntity.proto +62 -0
  205. package/schemas/proto/foxglove/SceneEntityDeletion.proto +27 -0
  206. package/schemas/proto/foxglove/SceneUpdate.proto +17 -0
  207. package/schemas/proto/foxglove/SpherePrimitive.proto +21 -0
  208. package/schemas/proto/foxglove/TextPrimitive.proto +29 -0
  209. package/schemas/proto/foxglove/TriangleListPrimitive.proto +29 -0
  210. package/schemas/ros1/ArrowPrimitive.msg +22 -0
  211. package/schemas/ros1/CameraCalibration.msg +3 -0
  212. package/schemas/ros1/CompressedImage.msg +3 -0
  213. package/schemas/ros1/CubePrimitive.msg +13 -0
  214. package/schemas/ros1/CylinderPrimitive.msg +19 -0
  215. package/schemas/ros1/KeyValuePair.msg +10 -0
  216. package/schemas/ros1/LinePrimitive.msg +39 -0
  217. package/schemas/ros1/ModelPrimitive.msg +25 -0
  218. package/schemas/ros1/PointsAnnotation.msg +7 -1
  219. package/schemas/ros1/RawImage.msg +3 -0
  220. package/schemas/ros1/SceneEntity.msg +46 -0
  221. package/schemas/ros1/SceneEntityDeletion.msg +19 -0
  222. package/schemas/ros1/SceneUpdate.msg +10 -0
  223. package/schemas/ros1/SpherePrimitive.msg +13 -0
  224. package/schemas/ros1/TextPrimitive.msg +22 -0
  225. package/schemas/ros1/TriangleListPrimitive.msg +21 -0
  226. package/schemas/ros2/ArrowPrimitive.msg +22 -0
  227. package/schemas/ros2/CameraCalibration.msg +3 -0
  228. package/schemas/ros2/CompressedImage.msg +3 -0
  229. package/schemas/ros2/CubePrimitive.msg +13 -0
  230. package/schemas/ros2/CylinderPrimitive.msg +19 -0
  231. package/schemas/ros2/KeyValuePair.msg +10 -0
  232. package/schemas/ros2/LinePrimitive.msg +39 -0
  233. package/schemas/ros2/ModelPrimitive.msg +25 -0
  234. package/schemas/ros2/PointsAnnotation.msg +7 -1
  235. package/schemas/ros2/RawImage.msg +3 -0
  236. package/schemas/ros2/SceneEntity.msg +46 -0
  237. package/schemas/ros2/SceneEntityDeletion.msg +19 -0
  238. package/schemas/ros2/SceneUpdate.msg +10 -0
  239. package/schemas/ros2/SpherePrimitive.msg +13 -0
  240. package/schemas/ros2/TextPrimitive.msg +22 -0
  241. package/schemas/ros2/TriangleListPrimitive.msg +21 -0
  242. package/schemas/typescript/ArrowPrimitive.ts +25 -0
  243. package/schemas/typescript/CameraCalibration.ts +3 -0
  244. package/schemas/typescript/CompressedImage.ts +3 -0
  245. package/schemas/typescript/CubePrimitive.ts +17 -0
  246. package/schemas/typescript/CylinderPrimitive.ts +23 -0
  247. package/schemas/typescript/KeyValuePair.ts +10 -0
  248. package/schemas/typescript/LinePrimitive.ts +37 -0
  249. package/schemas/typescript/LineType.ts +13 -0
  250. package/schemas/typescript/ModelPrimitive.ts +29 -0
  251. package/schemas/typescript/PointsAnnotation.ts +7 -1
  252. package/schemas/typescript/RawImage.ts +3 -0
  253. package/schemas/typescript/SceneEntity.ts +58 -0
  254. package/schemas/typescript/SceneEntityDeletion.ts +16 -0
  255. package/schemas/typescript/SceneEntityDeletionType.ts +10 -0
  256. package/schemas/typescript/SceneUpdate.ts +13 -0
  257. package/schemas/typescript/SpherePrimitive.ts +17 -0
  258. package/schemas/typescript/TextPrimitive.ts +25 -0
  259. package/schemas/typescript/TriangleListPrimitive.ts +27 -0
  260. package/schemas/typescript/index.ts +14 -0
  261. package/src/generateMarkdown.ts +3 -1
  262. package/src/generateProto.test.ts +22 -22
  263. package/src/generateProto.ts +33 -4
  264. package/src/schemas.test.ts +19 -0
  265. package/src/schemas.ts +619 -79
  266. package/src/testFixtures.ts +1 -0
  267. package/src/types.ts +13 -10
@@ -0,0 +1,21 @@
1
+ // Generated by https://github.com/foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Color.proto";
6
+ import "foxglove/Pose.proto";
7
+ import "foxglove/Vector3.proto";
8
+
9
+ package foxglove;
10
+
11
+ // (Experimental, subject to change) A primitive representing a sphere or ellipsoid
12
+ message SpherePrimitive {
13
+ // Position of the center of the sphere and orientation of the sphere
14
+ foxglove.Pose pose = 1;
15
+
16
+ // Size (diameter) of the sphere along each axis
17
+ foxglove.Vector3 size = 2;
18
+
19
+ // Color of the sphere
20
+ foxglove.Color color = 3;
21
+ }
@@ -0,0 +1,29 @@
1
+ // Generated by https://github.com/foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Color.proto";
6
+ import "foxglove/Pose.proto";
7
+
8
+ package foxglove;
9
+
10
+ // (Experimental, subject to change) A primitive representing a text label
11
+ message TextPrimitive {
12
+ // Position of the center of the text box and orientation of the text. Identity orientation means the text is oriented in the xy-plane and flows from -x to +x.
13
+ foxglove.Pose pose = 1;
14
+
15
+ // Whether the text should respect `pose.orientation` (false) or always face the camera (true)
16
+ bool billboard = 2;
17
+
18
+ // Font size (height of one line of text)
19
+ double font_size = 3;
20
+
21
+ // Indicates whether `font_size` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
22
+ bool scale_invariant = 4;
23
+
24
+ // Color of the text
25
+ foxglove.Color color = 5;
26
+
27
+ // Text
28
+ string text = 6;
29
+ }
@@ -0,0 +1,29 @@
1
+ // Generated by https://github.com/foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Color.proto";
6
+ import "foxglove/Point3.proto";
7
+ import "foxglove/Pose.proto";
8
+
9
+ package foxglove;
10
+
11
+ // (Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
12
+ message TriangleListPrimitive {
13
+ // Origin of triangles relative to reference frame
14
+ foxglove.Pose pose = 1;
15
+
16
+ // Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
17
+ repeated foxglove.Point3 points = 2;
18
+
19
+ // Solid color to use for the whole shape. One of `color` or `colors` must be provided.
20
+ foxglove.Color color = 3;
21
+
22
+ // Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
23
+ repeated foxglove.Color colors = 4;
24
+
25
+ // Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
26
+ //
27
+ // If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
28
+ repeated fixed32 indices = 5;
29
+ }
@@ -0,0 +1,22 @@
1
+ # foxglove_msgs/ArrowPrimitive
2
+ # (Experimental, subject to change) A primitive representing an arrow
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
7
+ geometry_msgs/Pose pose
8
+
9
+ # Length of the arrow shaft
10
+ float64 shaft_length
11
+
12
+ # Diameter of the arrow shaft
13
+ float64 shaft_diameter
14
+
15
+ # Length of the arrow head
16
+ float64 head_length
17
+
18
+ # Diameter of the arrow head
19
+ float64 head_diameter
20
+
21
+ # Color of the arrow
22
+ foxglove_msgs/Color color
@@ -6,6 +6,9 @@
6
6
  # Timestamp of calibration data
7
7
  time timestamp
8
8
 
9
+ # Frame of reference for the camera. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Image width
10
13
  uint32 width
11
14
 
@@ -6,6 +6,9 @@
6
6
  # Timestamp of image
7
7
  time timestamp
8
8
 
9
+ # Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Compressed image data
10
13
  uint8[] data
11
14
 
@@ -0,0 +1,13 @@
1
+ # foxglove_msgs/CubePrimitive
2
+ # (Experimental, subject to change) A primitive representing a cube or rectangular prism
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the cube and orientation of the cube
7
+ geometry_msgs/Pose pose
8
+
9
+ # Size of the cube along each axis
10
+ geometry_msgs/Vector3 size
11
+
12
+ # Color of the arrow
13
+ foxglove_msgs/Color color
@@ -0,0 +1,19 @@
1
+ # foxglove_msgs/CylinderPrimitive
2
+ # (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
7
+ geometry_msgs/Pose pose
8
+
9
+ # Size of the cylinder's bounding box
10
+ geometry_msgs/Vector3 size
11
+
12
+ # 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
13
+ float64 bottom_scale
14
+
15
+ # 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
16
+ float64 top_scale
17
+
18
+ # Color of the cylinder
19
+ foxglove_msgs/Color color
@@ -0,0 +1,10 @@
1
+ # foxglove_msgs/KeyValuePair
2
+ # (Experimental, subject to change) A key with its associated value
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Key
7
+ string key
8
+
9
+ # Value
10
+ string value
@@ -0,0 +1,39 @@
1
+ # foxglove_msgs/LinePrimitive
2
+ # (Experimental, subject to change) A primitive representing a series of points connected by lines
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # 0-1, 1-2, ..., (n-1)-n
7
+ uint8 LINE_STRIP=0
8
+
9
+ # 0-1, 1-2, ..., (n-1)-n, n-0
10
+ uint8 LINE_LOOP=1
11
+
12
+ # 0-1, 2-3, 4-5, ...
13
+ uint8 LINE_LIST=2
14
+
15
+ # Drawing primitive to use for lines
16
+ uint8 type
17
+
18
+ # Origin of lines relative to reference frame
19
+ geometry_msgs/Pose pose
20
+
21
+ # Line thickness
22
+ float64 thickness
23
+
24
+ # Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
25
+ bool scale_invariant
26
+
27
+ # Points along the line
28
+ geometry_msgs/Point[] points
29
+
30
+ # Solid color to use for the whole line. One of `color` or `colors` must be provided.
31
+ foxglove_msgs/Color color
32
+
33
+ # Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
34
+ foxglove_msgs/Color[] colors
35
+
36
+ # Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
37
+ #
38
+ # If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
39
+ uint32[] indices
@@ -0,0 +1,25 @@
1
+ # foxglove_msgs/ModelPrimitive
2
+ # (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Origin of model relative to reference frame
7
+ geometry_msgs/Pose pose
8
+
9
+ # Scale factor to apply to the model along each axis
10
+ geometry_msgs/Vector3 scale
11
+
12
+ # Solid color to use for the whole model if `override_color` is true.
13
+ foxglove_msgs/Color color
14
+
15
+ # Whether to use the color specified in `color` instead of any materials embedded in the original model.
16
+ bool override_color
17
+
18
+ # URL pointing to model file. One of `url` or `data` should be provided.
19
+ string url
20
+
21
+ # [Media type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of embedded model (e.g. `model/gltf-binary`). Required if `data` is provided instead of `url`. Overrides the inferred media type if `url` is provided.
22
+ string media_type
23
+
24
+ # Embedded model. One of `url` or `data` should be provided. If `data` is provided, `media_type` must be set to indicate the type of the data.
25
+ uint8[] data
@@ -18,8 +18,14 @@ uint8 type
18
18
  # Points in 2D image coordinates
19
19
  foxglove_msgs/Point2[] points
20
20
 
21
- # Outline colors
21
+ # Outline color
22
+ foxglove_msgs/Color outline_color
23
+
24
+ # Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
22
25
  foxglove_msgs/Color[] outline_colors
23
26
 
24
27
  # Fill color
25
28
  foxglove_msgs/Color fill_color
29
+
30
+ # Stroke thickness
31
+ float64 thickness
@@ -6,6 +6,9 @@
6
6
  # Timestamp of image
7
7
  time timestamp
8
8
 
9
+ # Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Image width
10
13
  uint32 width
11
14
 
@@ -0,0 +1,46 @@
1
+ # foxglove_msgs/SceneEntity
2
+ # (Experimental, subject to change) A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Timestamp of the entity
7
+ time timestamp
8
+
9
+ # Frame of reference
10
+ string frame_id
11
+
12
+ # Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
13
+ string id
14
+
15
+ # Length of time (relative to `timestamp`) after which the entity should be automatically removed. Zero value indicates the entity should remain visible until it is replaced or deleted.
16
+ duration lifetime
17
+
18
+ # Whether the entity should keep its location in the fixed frame (false) or follow the frame specified in `frame_id` as it moves relative to the fixed frame (true)
19
+ bool frame_locked
20
+
21
+ # Additional user-provided metadata associated with the entity. Keys must be unique.
22
+ foxglove_msgs/KeyValuePair[] metadata
23
+
24
+ # Arrow primitives
25
+ foxglove_msgs/ArrowPrimitive[] arrows
26
+
27
+ # Cube primitives
28
+ foxglove_msgs/CubePrimitive[] cubes
29
+
30
+ # Sphere primitives
31
+ foxglove_msgs/SpherePrimitive[] spheres
32
+
33
+ # Cylinder primitives
34
+ foxglove_msgs/CylinderPrimitive[] cylinders
35
+
36
+ # Line primitives
37
+ foxglove_msgs/LinePrimitive[] lines
38
+
39
+ # Triangle list primitives
40
+ foxglove_msgs/TriangleListPrimitive[] triangles
41
+
42
+ # Text primitives
43
+ foxglove_msgs/TextPrimitive[] texts
44
+
45
+ # Model primitives
46
+ foxglove_msgs/ModelPrimitive[] models
@@ -0,0 +1,19 @@
1
+ # foxglove_msgs/SceneEntityDeletion
2
+ # (Experimental, subject to change) Command to remove previously published entities
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
7
+ time timestamp
8
+
9
+ # Delete the existing entity on the same topic that has the provided `id`
10
+ uint8 MATCHING_ID=0
11
+
12
+ # Delete all existing entities on the same topic
13
+ uint8 ALL=1
14
+
15
+ # Type of deletion action to perform
16
+ uint8 type
17
+
18
+ # Identifier which must match if `type` is `MATCHING_ID`.
19
+ string id
@@ -0,0 +1,10 @@
1
+ # foxglove_msgs/SceneUpdate
2
+ # (Experimental, subject to change) An update to the entities displayed in a 3D scene
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Scene entities to delete
7
+ foxglove_msgs/SceneEntityDeletion[] deletions
8
+
9
+ # Scene entities to add or replace
10
+ foxglove_msgs/SceneEntity[] entities
@@ -0,0 +1,13 @@
1
+ # foxglove_msgs/SpherePrimitive
2
+ # (Experimental, subject to change) A primitive representing a sphere or ellipsoid
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the sphere and orientation of the sphere
7
+ geometry_msgs/Pose pose
8
+
9
+ # Size (diameter) of the sphere along each axis
10
+ geometry_msgs/Vector3 size
11
+
12
+ # Color of the sphere
13
+ foxglove_msgs/Color color
@@ -0,0 +1,22 @@
1
+ # foxglove_msgs/TextPrimitive
2
+ # (Experimental, subject to change) A primitive representing a text label
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the text box and orientation of the text. Identity orientation means the text is oriented in the xy-plane and flows from -x to +x.
7
+ geometry_msgs/Pose pose
8
+
9
+ # Whether the text should respect `pose.orientation` (false) or always face the camera (true)
10
+ bool billboard
11
+
12
+ # Font size (height of one line of text)
13
+ float64 font_size
14
+
15
+ # Indicates whether `font_size` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
16
+ bool scale_invariant
17
+
18
+ # Color of the text
19
+ foxglove_msgs/Color color
20
+
21
+ # Text
22
+ string text
@@ -0,0 +1,21 @@
1
+ # foxglove_msgs/TriangleListPrimitive
2
+ # (Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Origin of triangles relative to reference frame
7
+ geometry_msgs/Pose pose
8
+
9
+ # Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
10
+ geometry_msgs/Point[] points
11
+
12
+ # Solid color to use for the whole shape. One of `color` or `colors` must be provided.
13
+ foxglove_msgs/Color color
14
+
15
+ # Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
16
+ foxglove_msgs/Color[] colors
17
+
18
+ # Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
19
+ #
20
+ # If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
21
+ uint32[] indices
@@ -0,0 +1,22 @@
1
+ # foxglove_msgs/msg/ArrowPrimitive
2
+ # (Experimental, subject to change) A primitive representing an arrow
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
7
+ geometry_msgs/Pose pose
8
+
9
+ # Length of the arrow shaft
10
+ float64 shaft_length
11
+
12
+ # Diameter of the arrow shaft
13
+ float64 shaft_diameter
14
+
15
+ # Length of the arrow head
16
+ float64 head_length
17
+
18
+ # Diameter of the arrow head
19
+ float64 head_diameter
20
+
21
+ # Color of the arrow
22
+ foxglove_msgs/Color color
@@ -6,6 +6,9 @@
6
6
  # Timestamp of calibration data
7
7
  builtin_interfaces/Time timestamp
8
8
 
9
+ # Frame of reference for the camera. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Image width
10
13
  uint32 width
11
14
 
@@ -6,6 +6,9 @@
6
6
  # Timestamp of image
7
7
  builtin_interfaces/Time timestamp
8
8
 
9
+ # Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Compressed image data
10
13
  uint8[] data
11
14
 
@@ -0,0 +1,13 @@
1
+ # foxglove_msgs/msg/CubePrimitive
2
+ # (Experimental, subject to change) A primitive representing a cube or rectangular prism
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the cube and orientation of the cube
7
+ geometry_msgs/Pose pose
8
+
9
+ # Size of the cube along each axis
10
+ geometry_msgs/Vector3 size
11
+
12
+ # Color of the arrow
13
+ foxglove_msgs/Color color
@@ -0,0 +1,19 @@
1
+ # foxglove_msgs/msg/CylinderPrimitive
2
+ # (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
7
+ geometry_msgs/Pose pose
8
+
9
+ # Size of the cylinder's bounding box
10
+ geometry_msgs/Vector3 size
11
+
12
+ # 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
13
+ float64 bottom_scale
14
+
15
+ # 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
16
+ float64 top_scale
17
+
18
+ # Color of the cylinder
19
+ foxglove_msgs/Color color
@@ -0,0 +1,10 @@
1
+ # foxglove_msgs/msg/KeyValuePair
2
+ # (Experimental, subject to change) A key with its associated value
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Key
7
+ string key
8
+
9
+ # Value
10
+ string value
@@ -0,0 +1,39 @@
1
+ # foxglove_msgs/msg/LinePrimitive
2
+ # (Experimental, subject to change) A primitive representing a series of points connected by lines
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # 0-1, 1-2, ..., (n-1)-n
7
+ uint8 LINE_STRIP=0
8
+
9
+ # 0-1, 1-2, ..., (n-1)-n, n-0
10
+ uint8 LINE_LOOP=1
11
+
12
+ # 0-1, 2-3, 4-5, ...
13
+ uint8 LINE_LIST=2
14
+
15
+ # Drawing primitive to use for lines
16
+ uint8 type
17
+
18
+ # Origin of lines relative to reference frame
19
+ geometry_msgs/Pose pose
20
+
21
+ # Line thickness
22
+ float64 thickness
23
+
24
+ # Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
25
+ bool scale_invariant
26
+
27
+ # Points along the line
28
+ geometry_msgs/Point[] points
29
+
30
+ # Solid color to use for the whole line. One of `color` or `colors` must be provided.
31
+ foxglove_msgs/Color color
32
+
33
+ # Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
34
+ foxglove_msgs/Color[] colors
35
+
36
+ # Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
37
+ #
38
+ # If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
39
+ uint32[] indices
@@ -0,0 +1,25 @@
1
+ # foxglove_msgs/msg/ModelPrimitive
2
+ # (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Origin of model relative to reference frame
7
+ geometry_msgs/Pose pose
8
+
9
+ # Scale factor to apply to the model along each axis
10
+ geometry_msgs/Vector3 scale
11
+
12
+ # Solid color to use for the whole model if `override_color` is true.
13
+ foxglove_msgs/Color color
14
+
15
+ # Whether to use the color specified in `color` instead of any materials embedded in the original model.
16
+ bool override_color
17
+
18
+ # URL pointing to model file. One of `url` or `data` should be provided.
19
+ string url
20
+
21
+ # [Media type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of embedded model (e.g. `model/gltf-binary`). Required if `data` is provided instead of `url`. Overrides the inferred media type if `url` is provided.
22
+ string media_type
23
+
24
+ # Embedded model. One of `url` or `data` should be provided. If `data` is provided, `media_type` must be set to indicate the type of the data.
25
+ uint8[] data
@@ -18,8 +18,14 @@ uint8 type
18
18
  # Points in 2D image coordinates
19
19
  foxglove_msgs/Point2[] points
20
20
 
21
- # Outline colors
21
+ # Outline color
22
+ foxglove_msgs/Color outline_color
23
+
24
+ # Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
22
25
  foxglove_msgs/Color[] outline_colors
23
26
 
24
27
  # Fill color
25
28
  foxglove_msgs/Color fill_color
29
+
30
+ # Stroke thickness
31
+ float64 thickness
@@ -6,6 +6,9 @@
6
6
  # Timestamp of image
7
7
  builtin_interfaces/Time timestamp
8
8
 
9
+ # Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
10
+ string frame_id
11
+
9
12
  # Image width
10
13
  uint32 width
11
14
 
@@ -0,0 +1,46 @@
1
+ # foxglove_msgs/msg/SceneEntity
2
+ # (Experimental, subject to change) A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Timestamp of the entity
7
+ builtin_interfaces/Time timestamp
8
+
9
+ # Frame of reference
10
+ string frame_id
11
+
12
+ # Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
13
+ string id
14
+
15
+ # Length of time (relative to `timestamp`) after which the entity should be automatically removed. Zero value indicates the entity should remain visible until it is replaced or deleted.
16
+ builtin_interfaces/Duration lifetime
17
+
18
+ # Whether the entity should keep its location in the fixed frame (false) or follow the frame specified in `frame_id` as it moves relative to the fixed frame (true)
19
+ bool frame_locked
20
+
21
+ # Additional user-provided metadata associated with the entity. Keys must be unique.
22
+ foxglove_msgs/KeyValuePair[] metadata
23
+
24
+ # Arrow primitives
25
+ foxglove_msgs/ArrowPrimitive[] arrows
26
+
27
+ # Cube primitives
28
+ foxglove_msgs/CubePrimitive[] cubes
29
+
30
+ # Sphere primitives
31
+ foxglove_msgs/SpherePrimitive[] spheres
32
+
33
+ # Cylinder primitives
34
+ foxglove_msgs/CylinderPrimitive[] cylinders
35
+
36
+ # Line primitives
37
+ foxglove_msgs/LinePrimitive[] lines
38
+
39
+ # Triangle list primitives
40
+ foxglove_msgs/TriangleListPrimitive[] triangles
41
+
42
+ # Text primitives
43
+ foxglove_msgs/TextPrimitive[] texts
44
+
45
+ # Model primitives
46
+ foxglove_msgs/ModelPrimitive[] models
@@ -0,0 +1,19 @@
1
+ # foxglove_msgs/msg/SceneEntityDeletion
2
+ # (Experimental, subject to change) Command to remove previously published entities
3
+
4
+ # Generated by https://github.com/foxglove/schemas
5
+
6
+ # Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
7
+ builtin_interfaces/Time timestamp
8
+
9
+ # Delete the existing entity on the same topic that has the provided `id`
10
+ uint8 MATCHING_ID=0
11
+
12
+ # Delete all existing entities on the same topic
13
+ uint8 ALL=1
14
+
15
+ # Type of deletion action to perform
16
+ uint8 type
17
+
18
+ # Identifier which must match if `type` is `MATCHING_ID`.
19
+ string id