@foxglove/schemas 0.2.0 → 0.5.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 (494) hide show
  1. package/.github/workflows/ci.yml +7 -1
  2. package/.vscode/settings.json +1 -1
  3. package/README.md +45 -4
  4. package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts +18 -0
  5. package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
  6. package/dist/cjs/schemas/typescript/ArrowPrimitive.js +4 -0
  7. package/dist/cjs/schemas/typescript/ArrowPrimitive.js.map +1 -0
  8. package/dist/cjs/schemas/typescript/CameraCalibration.js +1 -1
  9. package/dist/cjs/schemas/typescript/CameraCalibration.js.map +1 -1
  10. package/dist/cjs/schemas/typescript/CircleAnnotation.js +1 -1
  11. package/dist/cjs/schemas/typescript/CircleAnnotation.js.map +1 -1
  12. package/dist/cjs/schemas/typescript/Color.js +1 -1
  13. package/dist/cjs/schemas/typescript/Color.js.map +1 -1
  14. package/dist/cjs/schemas/typescript/CompressedImage.js +1 -1
  15. package/dist/cjs/schemas/typescript/CompressedImage.js.map +1 -1
  16. package/dist/cjs/schemas/typescript/CubePrimitive.d.ts +13 -0
  17. package/dist/cjs/schemas/typescript/CubePrimitive.d.ts.map +1 -0
  18. package/dist/cjs/schemas/typescript/CubePrimitive.js +4 -0
  19. package/dist/cjs/schemas/typescript/CubePrimitive.js.map +1 -0
  20. package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts +17 -0
  21. package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
  22. package/dist/cjs/schemas/typescript/CylinderPrimitive.js +4 -0
  23. package/dist/cjs/schemas/typescript/CylinderPrimitive.js.map +1 -0
  24. package/dist/cjs/schemas/typescript/FrameTransform.d.ts +6 -3
  25. package/dist/cjs/schemas/typescript/FrameTransform.d.ts.map +1 -1
  26. package/dist/cjs/schemas/typescript/FrameTransform.js +1 -1
  27. package/dist/cjs/schemas/typescript/FrameTransform.js.map +1 -1
  28. package/dist/cjs/schemas/typescript/GeoJSON.js +1 -1
  29. package/dist/cjs/schemas/typescript/GeoJSON.js.map +1 -1
  30. package/dist/cjs/schemas/typescript/Grid.js +1 -1
  31. package/dist/cjs/schemas/typescript/Grid.js.map +1 -1
  32. package/dist/cjs/schemas/typescript/ImageAnnotations.js +1 -1
  33. package/dist/cjs/schemas/typescript/ImageAnnotations.js.map +1 -1
  34. package/dist/cjs/schemas/typescript/KeyValuePair.d.ts +8 -0
  35. package/dist/cjs/schemas/typescript/KeyValuePair.d.ts.map +1 -0
  36. package/dist/cjs/schemas/typescript/KeyValuePair.js +4 -0
  37. package/dist/cjs/schemas/typescript/KeyValuePair.js.map +1 -0
  38. package/dist/cjs/schemas/typescript/LaserScan.js +1 -1
  39. package/dist/cjs/schemas/typescript/LaserScan.js.map +1 -1
  40. package/dist/cjs/schemas/typescript/LinePrimitive.d.ts +28 -0
  41. package/dist/cjs/schemas/typescript/LinePrimitive.d.ts.map +1 -0
  42. package/dist/cjs/schemas/typescript/LinePrimitive.js +4 -0
  43. package/dist/cjs/schemas/typescript/LinePrimitive.js.map +1 -0
  44. package/dist/cjs/schemas/typescript/LineType.d.ts +10 -0
  45. package/dist/cjs/schemas/typescript/LineType.d.ts.map +1 -0
  46. package/dist/cjs/schemas/typescript/LineType.js +15 -0
  47. package/dist/cjs/schemas/typescript/LineType.js.map +1 -0
  48. package/dist/cjs/schemas/typescript/LocationFix.js +1 -1
  49. package/dist/cjs/schemas/typescript/LocationFix.js.map +1 -1
  50. package/dist/cjs/schemas/typescript/Log.js +1 -1
  51. package/dist/cjs/schemas/typescript/Log.js.map +1 -1
  52. package/dist/cjs/schemas/typescript/LogLevel.js +1 -1
  53. package/dist/cjs/schemas/typescript/LogLevel.js.map +1 -1
  54. package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts +21 -0
  55. package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
  56. package/dist/cjs/schemas/typescript/ModelPrimitive.js +4 -0
  57. package/dist/cjs/schemas/typescript/ModelPrimitive.js.map +1 -0
  58. package/dist/cjs/schemas/typescript/NumericType.js +1 -1
  59. package/dist/cjs/schemas/typescript/NumericType.js.map +1 -1
  60. package/dist/cjs/schemas/typescript/PackedElementField.js +1 -1
  61. package/dist/cjs/schemas/typescript/PackedElementField.js.map +1 -1
  62. package/dist/cjs/schemas/typescript/Point2.js +1 -1
  63. package/dist/cjs/schemas/typescript/Point2.js.map +1 -1
  64. package/dist/cjs/schemas/typescript/Point3.js +1 -1
  65. package/dist/cjs/schemas/typescript/Point3.js.map +1 -1
  66. package/dist/cjs/schemas/typescript/PointCloud.js +1 -1
  67. package/dist/cjs/schemas/typescript/PointCloud.js.map +1 -1
  68. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +5 -1
  69. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  70. package/dist/cjs/schemas/typescript/PointsAnnotation.js +1 -1
  71. package/dist/cjs/schemas/typescript/PointsAnnotation.js.map +1 -1
  72. package/dist/cjs/schemas/typescript/PointsAnnotationType.js +1 -1
  73. package/dist/cjs/schemas/typescript/PointsAnnotationType.js.map +1 -1
  74. package/dist/cjs/schemas/typescript/Pose.js +1 -1
  75. package/dist/cjs/schemas/typescript/Pose.js.map +1 -1
  76. package/dist/cjs/schemas/typescript/PoseInFrame.js +1 -1
  77. package/dist/cjs/schemas/typescript/PoseInFrame.js.map +1 -1
  78. package/dist/cjs/schemas/typescript/PosesInFrame.js +1 -1
  79. package/dist/cjs/schemas/typescript/PositionCovarianceType.js +1 -1
  80. package/dist/cjs/schemas/typescript/PositionCovarianceType.js.map +1 -1
  81. package/dist/cjs/schemas/typescript/Quaternion.js +1 -1
  82. package/dist/cjs/schemas/typescript/Quaternion.js.map +1 -1
  83. package/dist/cjs/schemas/typescript/RawImage.js +1 -1
  84. package/dist/cjs/schemas/typescript/RawImage.js.map +1 -1
  85. package/dist/cjs/schemas/typescript/SceneEntity.d.ts +43 -0
  86. package/dist/cjs/schemas/typescript/SceneEntity.d.ts.map +1 -0
  87. package/dist/cjs/schemas/typescript/SceneEntity.js +4 -0
  88. package/dist/cjs/schemas/typescript/SceneEntity.js.map +1 -0
  89. package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
  90. package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
  91. package/dist/cjs/schemas/typescript/SceneEntityDeletion.js +4 -0
  92. package/dist/cjs/schemas/typescript/SceneEntityDeletion.js.map +1 -0
  93. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
  94. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
  95. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js +13 -0
  96. package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
  97. package/dist/cjs/schemas/typescript/SceneUpdate.d.ts +10 -0
  98. package/dist/cjs/schemas/typescript/SceneUpdate.d.ts.map +1 -0
  99. package/dist/cjs/schemas/typescript/SceneUpdate.js +4 -0
  100. package/dist/cjs/schemas/typescript/SceneUpdate.js.map +1 -0
  101. package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts +13 -0
  102. package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
  103. package/dist/cjs/schemas/typescript/SpherePrimitive.js +4 -0
  104. package/dist/cjs/schemas/typescript/SpherePrimitive.js.map +1 -0
  105. package/dist/cjs/schemas/typescript/TextPrimitive.d.ts +18 -0
  106. package/dist/cjs/schemas/typescript/TextPrimitive.d.ts.map +1 -0
  107. package/dist/cjs/schemas/typescript/TextPrimitive.js +4 -0
  108. package/dist/cjs/schemas/typescript/TextPrimitive.js.map +1 -0
  109. package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
  110. package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
  111. package/dist/cjs/schemas/typescript/TriangleListPrimitive.js +4 -0
  112. package/dist/cjs/schemas/typescript/TriangleListPrimitive.js.map +1 -0
  113. package/dist/cjs/schemas/typescript/Vector2.js +1 -1
  114. package/dist/cjs/schemas/typescript/Vector2.js.map +1 -1
  115. package/dist/cjs/schemas/typescript/Vector3.js +1 -1
  116. package/dist/cjs/schemas/typescript/Vector3.js.map +1 -1
  117. package/dist/cjs/schemas/typescript/index.d.ts +14 -1
  118. package/dist/cjs/schemas/typescript/index.d.ts.map +1 -1
  119. package/dist/cjs/schemas/typescript/index.js +14 -1
  120. package/dist/cjs/schemas/typescript/index.js.map +1 -1
  121. package/dist/cjs/scripts/updateGeneratedFiles.js +17 -4
  122. package/dist/cjs/scripts/updateGeneratedFiles.js.map +1 -1
  123. package/dist/cjs/src/generateJsonSchema.d.ts.map +1 -1
  124. package/dist/cjs/src/generateJsonSchema.js +4 -3
  125. package/dist/cjs/src/generateJsonSchema.js.map +1 -1
  126. package/dist/cjs/src/generateJsonSchema.test.js +6 -8
  127. package/dist/cjs/src/generateJsonSchema.test.js.map +1 -1
  128. package/dist/cjs/src/generateMarkdown.d.ts +3 -0
  129. package/dist/cjs/src/generateMarkdown.d.ts.map +1 -0
  130. package/dist/cjs/src/generateMarkdown.js +80 -0
  131. package/dist/cjs/src/generateMarkdown.js.map +1 -0
  132. package/dist/cjs/src/generateProto.js +1 -1
  133. package/dist/cjs/src/generateProto.js.map +1 -1
  134. package/dist/cjs/src/generateProto.test.js +1 -1
  135. package/dist/cjs/src/generateRos.d.ts.map +1 -1
  136. package/dist/cjs/src/generateRos.js +3 -1
  137. package/dist/cjs/src/generateRos.js.map +1 -1
  138. package/dist/cjs/src/generateRos.test.js +451 -431
  139. package/dist/cjs/src/generateRos.test.js.map +1 -1
  140. package/dist/cjs/src/generateTypeScript.js +1 -1
  141. package/dist/cjs/src/generateTypeScript.js.map +1 -1
  142. package/dist/cjs/src/generateTypeScript.test.js +2 -2
  143. package/dist/cjs/src/schemas.d.ts +15 -2
  144. package/dist/cjs/src/schemas.d.ts.map +1 -1
  145. package/dist/cjs/src/schemas.js +557 -103
  146. package/dist/cjs/src/schemas.js.map +1 -1
  147. package/dist/cjs/src/schemas.test.js +17 -0
  148. package/dist/cjs/src/schemas.test.js.map +1 -1
  149. package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts +18 -0
  150. package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
  151. package/dist/esm/schemas/typescript/ArrowPrimitive.js +3 -0
  152. package/dist/esm/schemas/typescript/ArrowPrimitive.js.map +1 -0
  153. package/dist/esm/schemas/typescript/CameraCalibration.js +1 -1
  154. package/dist/esm/schemas/typescript/CameraCalibration.js.map +1 -1
  155. package/dist/esm/schemas/typescript/CircleAnnotation.js +1 -1
  156. package/dist/esm/schemas/typescript/CircleAnnotation.js.map +1 -1
  157. package/dist/esm/schemas/typescript/Color.js +1 -1
  158. package/dist/esm/schemas/typescript/Color.js.map +1 -1
  159. package/dist/esm/schemas/typescript/CompressedImage.js +1 -1
  160. package/dist/esm/schemas/typescript/CompressedImage.js.map +1 -1
  161. package/dist/esm/schemas/typescript/CubePrimitive.d.ts +13 -0
  162. package/dist/esm/schemas/typescript/CubePrimitive.d.ts.map +1 -0
  163. package/dist/esm/schemas/typescript/CubePrimitive.js +3 -0
  164. package/dist/esm/schemas/typescript/CubePrimitive.js.map +1 -0
  165. package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts +17 -0
  166. package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
  167. package/dist/esm/schemas/typescript/CylinderPrimitive.js +3 -0
  168. package/dist/esm/schemas/typescript/CylinderPrimitive.js.map +1 -0
  169. package/dist/esm/schemas/typescript/FrameTransform.d.ts +6 -3
  170. package/dist/esm/schemas/typescript/FrameTransform.d.ts.map +1 -1
  171. package/dist/esm/schemas/typescript/FrameTransform.js +1 -1
  172. package/dist/esm/schemas/typescript/FrameTransform.js.map +1 -1
  173. package/dist/esm/schemas/typescript/GeoJSON.js +1 -1
  174. package/dist/esm/schemas/typescript/GeoJSON.js.map +1 -1
  175. package/dist/esm/schemas/typescript/Grid.js +1 -1
  176. package/dist/esm/schemas/typescript/Grid.js.map +1 -1
  177. package/dist/esm/schemas/typescript/ImageAnnotations.js +1 -1
  178. package/dist/esm/schemas/typescript/ImageAnnotations.js.map +1 -1
  179. package/dist/esm/schemas/typescript/KeyValuePair.d.ts +8 -0
  180. package/dist/esm/schemas/typescript/KeyValuePair.d.ts.map +1 -0
  181. package/dist/esm/schemas/typescript/KeyValuePair.js +3 -0
  182. package/dist/esm/schemas/typescript/KeyValuePair.js.map +1 -0
  183. package/dist/esm/schemas/typescript/LaserScan.js +1 -1
  184. package/dist/esm/schemas/typescript/LaserScan.js.map +1 -1
  185. package/dist/esm/schemas/typescript/LinePrimitive.d.ts +28 -0
  186. package/dist/esm/schemas/typescript/LinePrimitive.d.ts.map +1 -0
  187. package/dist/esm/schemas/typescript/LinePrimitive.js +3 -0
  188. package/dist/esm/schemas/typescript/LinePrimitive.js.map +1 -0
  189. package/dist/esm/schemas/typescript/LineType.d.ts +10 -0
  190. package/dist/esm/schemas/typescript/LineType.d.ts.map +1 -0
  191. package/dist/esm/schemas/typescript/LineType.js +12 -0
  192. package/dist/esm/schemas/typescript/LineType.js.map +1 -0
  193. package/dist/esm/schemas/typescript/LocationFix.js +1 -1
  194. package/dist/esm/schemas/typescript/LocationFix.js.map +1 -1
  195. package/dist/esm/schemas/typescript/Log.js +1 -1
  196. package/dist/esm/schemas/typescript/Log.js.map +1 -1
  197. package/dist/esm/schemas/typescript/LogLevel.js +1 -1
  198. package/dist/esm/schemas/typescript/LogLevel.js.map +1 -1
  199. package/dist/esm/schemas/typescript/ModelPrimitive.d.ts +21 -0
  200. package/dist/esm/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
  201. package/dist/esm/schemas/typescript/ModelPrimitive.js +3 -0
  202. package/dist/esm/schemas/typescript/ModelPrimitive.js.map +1 -0
  203. package/dist/esm/schemas/typescript/NumericType.js +1 -1
  204. package/dist/esm/schemas/typescript/NumericType.js.map +1 -1
  205. package/dist/esm/schemas/typescript/PackedElementField.js +1 -1
  206. package/dist/esm/schemas/typescript/PackedElementField.js.map +1 -1
  207. package/dist/esm/schemas/typescript/Point2.js +1 -1
  208. package/dist/esm/schemas/typescript/Point2.js.map +1 -1
  209. package/dist/esm/schemas/typescript/Point3.js +1 -1
  210. package/dist/esm/schemas/typescript/Point3.js.map +1 -1
  211. package/dist/esm/schemas/typescript/PointCloud.js +1 -1
  212. package/dist/esm/schemas/typescript/PointCloud.js.map +1 -1
  213. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +5 -1
  214. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  215. package/dist/esm/schemas/typescript/PointsAnnotation.js +1 -1
  216. package/dist/esm/schemas/typescript/PointsAnnotation.js.map +1 -1
  217. package/dist/esm/schemas/typescript/PointsAnnotationType.js +1 -1
  218. package/dist/esm/schemas/typescript/PointsAnnotationType.js.map +1 -1
  219. package/dist/esm/schemas/typescript/Pose.js +1 -1
  220. package/dist/esm/schemas/typescript/Pose.js.map +1 -1
  221. package/dist/esm/schemas/typescript/PoseInFrame.js +1 -1
  222. package/dist/esm/schemas/typescript/PoseInFrame.js.map +1 -1
  223. package/dist/esm/schemas/typescript/PosesInFrame.js +1 -1
  224. package/dist/esm/schemas/typescript/PositionCovarianceType.js +1 -1
  225. package/dist/esm/schemas/typescript/PositionCovarianceType.js.map +1 -1
  226. package/dist/esm/schemas/typescript/Quaternion.js +1 -1
  227. package/dist/esm/schemas/typescript/Quaternion.js.map +1 -1
  228. package/dist/esm/schemas/typescript/RawImage.js +1 -1
  229. package/dist/esm/schemas/typescript/RawImage.js.map +1 -1
  230. package/dist/esm/schemas/typescript/SceneEntity.d.ts +43 -0
  231. package/dist/esm/schemas/typescript/SceneEntity.d.ts.map +1 -0
  232. package/dist/esm/schemas/typescript/SceneEntity.js +3 -0
  233. package/dist/esm/schemas/typescript/SceneEntity.js.map +1 -0
  234. package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
  235. package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
  236. package/dist/esm/schemas/typescript/SceneEntityDeletion.js +3 -0
  237. package/dist/esm/schemas/typescript/SceneEntityDeletion.js.map +1 -0
  238. package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
  239. package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
  240. package/dist/esm/schemas/typescript/SceneEntityDeletionType.js +10 -0
  241. package/dist/esm/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
  242. package/dist/esm/schemas/typescript/SceneUpdate.d.ts +10 -0
  243. package/dist/esm/schemas/typescript/SceneUpdate.d.ts.map +1 -0
  244. package/dist/esm/schemas/typescript/SceneUpdate.js +3 -0
  245. package/dist/esm/schemas/typescript/SceneUpdate.js.map +1 -0
  246. package/dist/esm/schemas/typescript/SpherePrimitive.d.ts +13 -0
  247. package/dist/esm/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
  248. package/dist/esm/schemas/typescript/SpherePrimitive.js +3 -0
  249. package/dist/esm/schemas/typescript/SpherePrimitive.js.map +1 -0
  250. package/dist/esm/schemas/typescript/TextPrimitive.d.ts +18 -0
  251. package/dist/esm/schemas/typescript/TextPrimitive.d.ts.map +1 -0
  252. package/dist/esm/schemas/typescript/TextPrimitive.js +3 -0
  253. package/dist/esm/schemas/typescript/TextPrimitive.js.map +1 -0
  254. package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
  255. package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
  256. package/dist/esm/schemas/typescript/TriangleListPrimitive.js +3 -0
  257. package/dist/esm/schemas/typescript/TriangleListPrimitive.js.map +1 -0
  258. package/dist/esm/schemas/typescript/Vector2.js +1 -1
  259. package/dist/esm/schemas/typescript/Vector2.js.map +1 -1
  260. package/dist/esm/schemas/typescript/Vector3.js +1 -1
  261. package/dist/esm/schemas/typescript/Vector3.js.map +1 -1
  262. package/dist/esm/schemas/typescript/index.d.ts +14 -1
  263. package/dist/esm/schemas/typescript/index.d.ts.map +1 -1
  264. package/dist/esm/schemas/typescript/index.js +14 -1
  265. package/dist/esm/schemas/typescript/index.js.map +1 -1
  266. package/dist/esm/scripts/updateGeneratedFiles.js +17 -4
  267. package/dist/esm/scripts/updateGeneratedFiles.js.map +1 -1
  268. package/dist/esm/src/generateJsonSchema.d.ts.map +1 -1
  269. package/dist/esm/src/generateJsonSchema.js +4 -3
  270. package/dist/esm/src/generateJsonSchema.js.map +1 -1
  271. package/dist/esm/src/generateJsonSchema.test.js +6 -8
  272. package/dist/esm/src/generateJsonSchema.test.js.map +1 -1
  273. package/dist/esm/src/generateMarkdown.d.ts +3 -0
  274. package/dist/esm/src/generateMarkdown.d.ts.map +1 -0
  275. package/dist/esm/src/generateMarkdown.js +76 -0
  276. package/dist/esm/src/generateMarkdown.js.map +1 -0
  277. package/dist/esm/src/generateProto.js +1 -1
  278. package/dist/esm/src/generateProto.js.map +1 -1
  279. package/dist/esm/src/generateProto.test.js +1 -1
  280. package/dist/esm/src/generateRos.d.ts.map +1 -1
  281. package/dist/esm/src/generateRos.js +3 -1
  282. package/dist/esm/src/generateRos.js.map +1 -1
  283. package/dist/esm/src/generateRos.test.js +451 -431
  284. package/dist/esm/src/generateRos.test.js.map +1 -1
  285. package/dist/esm/src/generateTypeScript.js +1 -1
  286. package/dist/esm/src/generateTypeScript.js.map +1 -1
  287. package/dist/esm/src/generateTypeScript.test.js +2 -2
  288. package/dist/esm/src/schemas.d.ts +15 -2
  289. package/dist/esm/src/schemas.d.ts.map +1 -1
  290. package/dist/esm/src/schemas.js +557 -103
  291. package/dist/esm/src/schemas.js.map +1 -1
  292. package/dist/esm/src/schemas.test.js +17 -0
  293. package/dist/esm/src/schemas.test.js.map +1 -1
  294. package/package.json +2 -2
  295. package/schemas/README.md +2728 -0
  296. package/schemas/jsonschema/ArrowPrimitive.json +96 -0
  297. package/schemas/jsonschema/CameraCalibration.json +2 -2
  298. package/schemas/jsonschema/CircleAnnotation.json +5 -8
  299. package/schemas/jsonschema/Color.json +2 -2
  300. package/schemas/jsonschema/CompressedImage.json +2 -2
  301. package/schemas/jsonschema/CubePrimitive.json +99 -0
  302. package/schemas/jsonschema/CylinderPrimitive.json +107 -0
  303. package/schemas/jsonschema/FrameTransform.json +37 -63
  304. package/schemas/jsonschema/GeoJSON.json +2 -2
  305. package/schemas/jsonschema/Grid.json +8 -13
  306. package/schemas/jsonschema/ImageAnnotations.json +39 -20
  307. package/schemas/jsonschema/KeyValuePair.json +16 -0
  308. package/schemas/jsonschema/LaserScan.json +5 -8
  309. package/schemas/jsonschema/LinePrimitive.json +167 -0
  310. package/schemas/jsonschema/LocationFix.json +3 -3
  311. package/schemas/jsonschema/Log.json +3 -3
  312. package/schemas/jsonschema/ModelPrimitive.json +116 -0
  313. package/schemas/jsonschema/PackedElementField.json +3 -3
  314. package/schemas/jsonschema/Point2.json +2 -2
  315. package/schemas/jsonschema/Point3.json +2 -2
  316. package/schemas/jsonschema/PointCloud.json +7 -11
  317. package/schemas/jsonschema/PointsAnnotation.json +34 -10
  318. package/schemas/jsonschema/Pose.json +4 -6
  319. package/schemas/jsonschema/PoseInFrame.json +5 -8
  320. package/schemas/jsonschema/PosesInFrame.json +5 -8
  321. package/schemas/jsonschema/Quaternion.json +2 -2
  322. package/schemas/jsonschema/RawImage.json +2 -2
  323. package/schemas/jsonschema/SceneEntity.json +1012 -0
  324. package/schemas/jsonschema/SceneEntityDeletion.json +44 -0
  325. package/schemas/jsonschema/SceneUpdate.json +1070 -0
  326. package/schemas/jsonschema/SpherePrimitive.json +99 -0
  327. package/schemas/jsonschema/TextPrimitive.json +96 -0
  328. package/schemas/jsonschema/TriangleListPrimitive.json +138 -0
  329. package/schemas/jsonschema/Vector2.json +2 -2
  330. package/schemas/jsonschema/Vector3.json +2 -2
  331. package/schemas/proto/foxglove/ArrowPrimitive.proto +29 -0
  332. package/schemas/proto/foxglove/CameraCalibration.proto +1 -1
  333. package/schemas/proto/foxglove/CircleAnnotation.proto +1 -1
  334. package/schemas/proto/foxglove/Color.proto +1 -1
  335. package/schemas/proto/foxglove/CompressedImage.proto +1 -1
  336. package/schemas/proto/foxglove/CubePrimitive.proto +21 -0
  337. package/schemas/proto/foxglove/CylinderPrimitive.proto +27 -0
  338. package/schemas/proto/foxglove/FrameTransform.proto +8 -4
  339. package/schemas/proto/foxglove/GeoJSON.proto +1 -1
  340. package/schemas/proto/foxglove/Grid.proto +1 -1
  341. package/schemas/proto/foxglove/ImageAnnotations.proto +1 -1
  342. package/schemas/proto/foxglove/KeyValuePair.proto +14 -0
  343. package/schemas/proto/foxglove/LaserScan.proto +1 -1
  344. package/schemas/proto/foxglove/LinePrimitive.proto +49 -0
  345. package/schemas/proto/foxglove/LocationFix.proto +1 -1
  346. package/schemas/proto/foxglove/Log.proto +1 -1
  347. package/schemas/proto/foxglove/ModelPrimitive.proto +33 -0
  348. package/schemas/proto/foxglove/PackedElementField.proto +1 -1
  349. package/schemas/proto/foxglove/Point2.proto +1 -1
  350. package/schemas/proto/foxglove/Point3.proto +1 -1
  351. package/schemas/proto/foxglove/PointCloud.proto +1 -1
  352. package/schemas/proto/foxglove/PointsAnnotation.proto +10 -4
  353. package/schemas/proto/foxglove/Pose.proto +1 -1
  354. package/schemas/proto/foxglove/PoseInFrame.proto +1 -1
  355. package/schemas/proto/foxglove/PosesInFrame.proto +1 -1
  356. package/schemas/proto/foxglove/Quaternion.proto +1 -1
  357. package/schemas/proto/foxglove/RawImage.proto +1 -1
  358. package/schemas/proto/foxglove/SceneEntity.proto +62 -0
  359. package/schemas/proto/foxglove/SceneEntityDeletion.proto +27 -0
  360. package/schemas/proto/foxglove/SceneUpdate.proto +17 -0
  361. package/schemas/proto/foxglove/SpherePrimitive.proto +21 -0
  362. package/schemas/proto/foxglove/TextPrimitive.proto +29 -0
  363. package/schemas/proto/foxglove/TriangleListPrimitive.proto +29 -0
  364. package/schemas/proto/foxglove/Vector2.proto +1 -1
  365. package/schemas/proto/foxglove/Vector3.proto +1 -1
  366. package/schemas/ros1/ArrowPrimitive.msg +22 -0
  367. package/schemas/ros1/CameraCalibration.msg +4 -1
  368. package/schemas/ros1/CircleAnnotation.msg +4 -1
  369. package/schemas/ros1/Color.msg +4 -1
  370. package/schemas/ros1/CompressedImage.msg +4 -1
  371. package/schemas/ros1/CubePrimitive.msg +13 -0
  372. package/schemas/ros1/CylinderPrimitive.msg +19 -0
  373. package/schemas/ros1/FrameTransform.msg +9 -3
  374. package/schemas/ros1/GeoJSON.msg +4 -1
  375. package/schemas/ros1/Grid.msg +4 -1
  376. package/schemas/ros1/ImageAnnotations.msg +4 -1
  377. package/schemas/ros1/KeyValuePair.msg +10 -0
  378. package/schemas/ros1/LaserScan.msg +4 -1
  379. package/schemas/ros1/LinePrimitive.msg +39 -0
  380. package/schemas/ros1/LocationFix.msg +4 -1
  381. package/schemas/ros1/Log.msg +4 -1
  382. package/schemas/ros1/ModelPrimitive.msg +25 -0
  383. package/schemas/ros1/PackedElementField.msg +4 -1
  384. package/schemas/ros1/Point2.msg +4 -1
  385. package/schemas/ros1/PointCloud.msg +4 -1
  386. package/schemas/ros1/PointsAnnotation.msg +11 -2
  387. package/schemas/ros1/PoseInFrame.msg +4 -1
  388. package/schemas/ros1/PosesInFrame.msg +4 -1
  389. package/schemas/ros1/RawImage.msg +4 -1
  390. package/schemas/ros1/SceneEntity.msg +46 -0
  391. package/schemas/ros1/SceneEntityDeletion.msg +19 -0
  392. package/schemas/ros1/SceneUpdate.msg +10 -0
  393. package/schemas/ros1/SpherePrimitive.msg +13 -0
  394. package/schemas/ros1/TextPrimitive.msg +22 -0
  395. package/schemas/ros1/TriangleListPrimitive.msg +21 -0
  396. package/schemas/ros1/Vector2.msg +4 -1
  397. package/schemas/ros2/ArrowPrimitive.msg +22 -0
  398. package/schemas/ros2/CameraCalibration.msg +4 -1
  399. package/schemas/ros2/CircleAnnotation.msg +4 -1
  400. package/schemas/ros2/Color.msg +4 -1
  401. package/schemas/ros2/CompressedImage.msg +4 -1
  402. package/schemas/ros2/CubePrimitive.msg +13 -0
  403. package/schemas/ros2/CylinderPrimitive.msg +19 -0
  404. package/schemas/ros2/FrameTransform.msg +9 -3
  405. package/schemas/ros2/GeoJSON.msg +4 -1
  406. package/schemas/ros2/Grid.msg +4 -1
  407. package/schemas/ros2/ImageAnnotations.msg +4 -1
  408. package/schemas/ros2/KeyValuePair.msg +10 -0
  409. package/schemas/ros2/LaserScan.msg +4 -1
  410. package/schemas/ros2/LinePrimitive.msg +39 -0
  411. package/schemas/ros2/LocationFix.msg +4 -1
  412. package/schemas/ros2/Log.msg +4 -1
  413. package/schemas/ros2/ModelPrimitive.msg +25 -0
  414. package/schemas/ros2/PackedElementField.msg +4 -1
  415. package/schemas/ros2/Point2.msg +4 -1
  416. package/schemas/ros2/PointCloud.msg +4 -1
  417. package/schemas/ros2/PointsAnnotation.msg +11 -2
  418. package/schemas/ros2/PoseInFrame.msg +4 -1
  419. package/schemas/ros2/PosesInFrame.msg +4 -1
  420. package/schemas/ros2/RawImage.msg +4 -1
  421. package/schemas/ros2/SceneEntity.msg +46 -0
  422. package/schemas/ros2/SceneEntityDeletion.msg +19 -0
  423. package/schemas/ros2/SceneUpdate.msg +10 -0
  424. package/schemas/ros2/SpherePrimitive.msg +13 -0
  425. package/schemas/ros2/TextPrimitive.msg +22 -0
  426. package/schemas/ros2/TriangleListPrimitive.msg +21 -0
  427. package/schemas/ros2/Vector2.msg +4 -1
  428. package/schemas/typescript/ArrowPrimitive.ts +25 -0
  429. package/schemas/typescript/CameraCalibration.ts +1 -1
  430. package/schemas/typescript/CircleAnnotation.ts +1 -1
  431. package/schemas/typescript/Color.ts +1 -1
  432. package/schemas/typescript/CompressedImage.ts +1 -1
  433. package/schemas/typescript/CubePrimitive.ts +17 -0
  434. package/schemas/typescript/CylinderPrimitive.ts +23 -0
  435. package/schemas/typescript/FrameTransform.ts +8 -4
  436. package/schemas/typescript/GeoJSON.ts +1 -1
  437. package/schemas/typescript/Grid.ts +1 -1
  438. package/schemas/typescript/ImageAnnotations.ts +1 -1
  439. package/schemas/typescript/KeyValuePair.ts +10 -0
  440. package/schemas/typescript/LaserScan.ts +1 -1
  441. package/schemas/typescript/LinePrimitive.ts +37 -0
  442. package/schemas/typescript/LineType.ts +13 -0
  443. package/schemas/typescript/LocationFix.ts +1 -1
  444. package/schemas/typescript/Log.ts +1 -1
  445. package/schemas/typescript/LogLevel.ts +1 -1
  446. package/schemas/typescript/ModelPrimitive.ts +29 -0
  447. package/schemas/typescript/NumericType.ts +1 -1
  448. package/schemas/typescript/PackedElementField.ts +1 -1
  449. package/schemas/typescript/Point2.ts +1 -1
  450. package/schemas/typescript/Point3.ts +1 -1
  451. package/schemas/typescript/PointCloud.ts +1 -1
  452. package/schemas/typescript/PointsAnnotation.ts +8 -2
  453. package/schemas/typescript/PointsAnnotationType.ts +1 -1
  454. package/schemas/typescript/Pose.ts +1 -1
  455. package/schemas/typescript/PoseInFrame.ts +1 -1
  456. package/schemas/typescript/PosesInFrame.ts +1 -1
  457. package/schemas/typescript/PositionCovarianceType.ts +1 -1
  458. package/schemas/typescript/Quaternion.ts +1 -1
  459. package/schemas/typescript/RawImage.ts +1 -1
  460. package/schemas/typescript/SceneEntity.ts +58 -0
  461. package/schemas/typescript/SceneEntityDeletion.ts +16 -0
  462. package/schemas/typescript/SceneEntityDeletionType.ts +10 -0
  463. package/schemas/typescript/SceneUpdate.ts +13 -0
  464. package/schemas/typescript/SpherePrimitive.ts +17 -0
  465. package/schemas/typescript/TextPrimitive.ts +25 -0
  466. package/schemas/typescript/TriangleListPrimitive.ts +27 -0
  467. package/schemas/typescript/Vector2.ts +1 -1
  468. package/schemas/typescript/Vector3.ts +1 -1
  469. package/schemas/typescript/index.ts +14 -1
  470. package/scripts/updateGeneratedFiles.ts +21 -10
  471. package/src/generateJsonSchema.test.ts +6 -8
  472. package/src/generateJsonSchema.ts +4 -3
  473. package/src/generateMarkdown.ts +88 -0
  474. package/src/generateProto.test.ts +1 -1
  475. package/src/generateProto.ts +1 -1
  476. package/src/generateRos.test.ts +451 -431
  477. package/src/generateRos.ts +4 -1
  478. package/src/generateTypeScript.test.ts +2 -2
  479. package/src/generateTypeScript.ts +1 -1
  480. package/src/schemas.test.ts +19 -0
  481. package/src/schemas.ts +604 -104
  482. package/dist/cjs/schemas/typescript/Transform.d.ts +0 -13
  483. package/dist/cjs/schemas/typescript/Transform.d.ts.map +0 -1
  484. package/dist/cjs/schemas/typescript/Transform.js +0 -4
  485. package/dist/cjs/schemas/typescript/Transform.js.map +0 -1
  486. package/dist/esm/schemas/typescript/Transform.d.ts +0 -13
  487. package/dist/esm/schemas/typescript/Transform.d.ts.map +0 -1
  488. package/dist/esm/schemas/typescript/Transform.js +0 -3
  489. package/dist/esm/schemas/typescript/Transform.js.map +0 -1
  490. package/schemas/jsonschema/Transform.json +0 -68
  491. package/schemas/proto/foxglove/Transform.proto +0 -21
  492. package/schemas/ros1/Transform.msg +0 -10
  493. package/schemas/ros2/Transform.msg +0 -10
  494. package/schemas/typescript/Transform.ts +0 -17
@@ -51,6 +51,9 @@ jobs:
51
51
  fail-fast: false
52
52
  matrix:
53
53
  include:
54
+ - docker_image: rostooling/setup-ros-docker:ubuntu-bionic-ros-melodic-ros-base-latest
55
+ ros_distribution: melodic
56
+ ros_version: 1
54
57
  - docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-ros-base-latest
55
58
  ros_distribution: noetic
56
59
  ros_version: 1
@@ -60,7 +63,10 @@ jobs:
60
63
  - docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-galactic-ros-base-latest
61
64
  ros_distribution: galactic
62
65
  ros_version: 2
63
- - docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest
66
+ - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
67
+ ros_distribution: humble
68
+ ros_version: 2
69
+ - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
64
70
  ros_distribution: rolling
65
71
  ros_version: 2
66
72
  name: "ROS ${{ matrix.ros_distribution }}"
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "typescript.tsdk": "node_modules/typescript/lib",
16
16
  "eslint.options": {
17
- "reportUnusedDisableDirectives": true
17
+ "reportUnusedDisableDirectives": "error"
18
18
  },
19
19
  "jest.jestCommandLine": "yarn test"
20
20
  }
package/README.md CHANGED
@@ -1,12 +1,38 @@
1
1
  # @foxglove/schemas
2
2
 
3
- > [Message schemas](https://foxglove.dev/docs/studio/messages/introduction) supported by [Foxglove Studio](https://studio.foxglove.dev)
3
+ Message schemas supported by [Foxglove Studio](https://studio.foxglove.dev)
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@foxglove/schemas.svg?style=flat)](https://www.npmjs.com/package/@foxglove/schemas)
5
+ <table>
6
+ <tr><td>
7
+
8
+ `@foxglove/schemas`
9
+
10
+ </td>
11
+ <td>
12
+
13
+ [![npm version](https://img.shields.io/npm/v/@foxglove/schemas)](https://www.npmjs.com/package/@foxglove/schemas)
14
+
15
+ </td></tr>
16
+ <tr><td>
17
+
18
+ `foxglove_msgs`
19
+
20
+ </td>
21
+ <td>
22
+
23
+ <!-- Not yet released in Melodic -->
24
+ <!-- [![ROS Melodic version](https://img.shields.io/ros/v/melodic/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#melodic) -->
25
+
26
+ [![ROS Noetic version](https://img.shields.io/ros/v/noetic/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#noetic) [![ROS Foxy version](https://img.shields.io/ros/v/foxy/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#foxy) [![ROS Galactic version](https://img.shields.io/ros/v/galactic/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#galactic) [![ROS Humble version](https://img.shields.io/ros/v/humble/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#humble) [![ROS Rolling version](https://img.shields.io/ros/v/rolling/foxglove_msgs)](https://index.ros.org/p/foxglove_msgs/github-foxglove-schemas/#rolling)
27
+
28
+ </td></tr>
29
+ </table>
6
30
 
7
31
  ## Introduction
8
32
 
9
- The [schemas](./schemas) folder contains type definitions generated from these schemas for ROS 1, ROS 2, Protobuf, JSON Schema, and TypeScript.
33
+ See [Foxglove Schemas documentation](https://foxglove.dev/docs/studio/messages).
34
+
35
+ The [schemas](./schemas) folder contains type definitions generated for ROS 1, ROS 2, Protobuf, JSON Schema, and TypeScript.
10
36
 
11
37
  These schemas can be used in [MCAP](https://github.com/foxglove/mcap) files or [Foxglove WebSocket](https://github.com/foxglove/ws-protocol) servers to take advantage of Foxglove Studio's visualizations.
12
38
 
@@ -20,12 +46,27 @@ The schema definitions are in [src/schemas.ts](src/schemas.ts).
20
46
 
21
47
  After editing the schemas, re-generate the language-specific definitions by running `yarn update-generated-files`.
22
48
 
23
- ### Releasing
49
+ ### Releasing to NPM
24
50
 
25
51
  1. Run `yarn version --[major|minor|patch]` to bump version
26
52
  2. Run `git push && git push --tags` to push new tag
27
53
  3. GitHub Actions will take care of the rest
28
54
 
55
+ ### Releasing foxglove_msgs for ROS
56
+
57
+ For first-time setup, follow the guides for [installing bloom](http://ros-infrastructure.github.io/bloom/) and [authenticating with GitHub](https://wiki.ros.org/bloom/Tutorials/GithubManualAuthorization).
58
+
59
+ Permissions to push to [foxglove/ros_foxglove_msgs-release](https://github.com/foxglove/ros_foxglove_msgs-release) (for ROS 1) and [ros2-gbp/ros_foxglove_msgs-release](https://github.com/ros2-gbp/ros_foxglove_msgs-release) (for ROS 2) are required. The latter are managed [via Terraform](https://github.com/ros2-gbp/ros2-gbp-github-org/blob/latest/foxglove_msgs.tf).
60
+
61
+ The following is a modified version of [bloom release instructions](https://wiki.ros.org/bloom/Tutorials/ReleaseCatkinPackage) (because catkin_generate_changelog and catkin_prepare_release can't handle our custom tag format of `ros-vX.Y.Z`).
62
+
63
+ 1. Manually update `package.xml` and `CHANGELOG.rst` with new version info
64
+ 2. Manually create a tag named `ros-vX.Y.Z` for the new version
65
+ 3. Push the newly created commit and tag
66
+ 4. Run `bloom-release foxglove_msgs --ros-distro humble`, for each distro you want to publish the release to. Follow the prompts, and the script will automatically make a PR to the [ros/rosdistro](https://github.com/ros/rosdistro) repo.
67
+
68
+ Packages will be available via apt after the [next sync](https://discourse.ros.org/c/release/16). View package build status prior to the sync at: [melodic](http://repositories.ros.org/status_page/ros_melodic_default.html?q=foxglove), [noetic](http://repositories.ros.org/status_page/ros_noetic_default.html?q=foxglove), [foxy](http://repo.ros2.org/status_page/ros_foxy_default.html?q=foxglove), [galactic](http://repo.ros2.org/status_page/ros_galactic_default.html?q=foxglove), [humble](http://repo.ros2.org/status_page/ros_humble_default.html?q=foxglove), [rolling](http://repo.ros2.org/status_page/ros_rolling_default.html?q=foxglove)
69
+
29
70
  ## Stay in touch
30
71
 
31
72
  Join our [Slack channel](https://foxglove.dev/join-slack) to ask questions, share feedback, and stay up to date on what our team is working on.
@@ -0,0 +1,18 @@
1
+ import { Color } from "./Color";
2
+ import { Pose } from "./Pose";
3
+ /** (Experimental, subject to change) A primitive representing an arrow */
4
+ export declare type ArrowPrimitive = {
5
+ /** Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction. */
6
+ pose: Pose;
7
+ /** Length of the arrow shaft */
8
+ shaft_length: number;
9
+ /** Diameter of the arrow shaft */
10
+ shaft_diameter: number;
11
+ /** Length of the arrow head */
12
+ head_length: number;
13
+ /** Diameter of the arrow head */
14
+ head_diameter: number;
15
+ /** Color of the arrow */
16
+ color: Color;
17
+ };
18
+ //# sourceMappingURL=ArrowPrimitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/ArrowPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,0EAA0E;AAC1E,oBAAY,cAAc,GAAG;IAC3B,kIAAkI;IAClI,IAAI,EAAE,IAAI,CAAC;IAEX,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAC;IAErB,kCAAkC;IAClC,cAAc,EAAE,MAAM,CAAC;IAEvB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IAEpB,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;IAEtB,yBAAyB;IACzB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ArrowPrimitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/ArrowPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from CameraCalibration by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=CameraCalibration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CameraCalibration.js","sourceRoot":"","sources":["../../../../schemas/typescript/CameraCalibration.ts"],"names":[],"mappings":";AAAA,wDAAwD"}
1
+ {"version":3,"file":"CameraCalibration.js","sourceRoot":"","sources":["../../../../schemas/typescript/CameraCalibration.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from CircleAnnotation by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=CircleAnnotation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CircleAnnotation.js","sourceRoot":"","sources":["../../../../schemas/typescript/CircleAnnotation.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
1
+ {"version":3,"file":"CircleAnnotation.js","sourceRoot":"","sources":["../../../../schemas/typescript/CircleAnnotation.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from Color by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=Color.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Color.js","sourceRoot":"","sources":["../../../../schemas/typescript/Color.ts"],"names":[],"mappings":";AAAA,4CAA4C"}
1
+ {"version":3,"file":"Color.js","sourceRoot":"","sources":["../../../../schemas/typescript/Color.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from CompressedImage by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=CompressedImage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompressedImage.js","sourceRoot":"","sources":["../../../../schemas/typescript/CompressedImage.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
1
+ {"version":3,"file":"CompressedImage.js","sourceRoot":"","sources":["../../../../schemas/typescript/CompressedImage.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -0,0 +1,13 @@
1
+ import { Color } from "./Color";
2
+ import { Pose } from "./Pose";
3
+ import { Vector3 } from "./Vector3";
4
+ /** (Experimental, subject to change) A primitive representing a cube or rectangular prism */
5
+ export declare type CubePrimitive = {
6
+ /** Position of the center of the cube and orientation of the cube */
7
+ pose: Pose;
8
+ /** Size of the cube along each axis */
9
+ size: Vector3;
10
+ /** Color of the arrow */
11
+ color: Color;
12
+ };
13
+ //# sourceMappingURL=CubePrimitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CubePrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/CubePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,6FAA6F;AAC7F,oBAAY,aAAa,GAAG;IAC1B,qEAAqE;IACrE,IAAI,EAAE,IAAI,CAAC;IAEX,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAC;IAEd,yBAAyB;IACzB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=CubePrimitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CubePrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/CubePrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -0,0 +1,17 @@
1
+ import { Color } from "./Color";
2
+ import { Pose } from "./Pose";
3
+ import { Vector3 } from "./Vector3";
4
+ /** (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone */
5
+ export declare type CylinderPrimitive = {
6
+ /** Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. */
7
+ pose: Pose;
8
+ /** Size of the cylinder's bounding box */
9
+ size: Vector3;
10
+ /** 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box */
11
+ bottom_scale: number;
12
+ /** 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box */
13
+ top_scale: number;
14
+ /** Color of the cylinder */
15
+ color: Color;
16
+ };
17
+ //# sourceMappingURL=CylinderPrimitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CylinderPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/CylinderPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,kHAAkH;AAClH,oBAAY,iBAAiB,GAAG;IAC9B,gIAAgI;IAChI,IAAI,EAAE,IAAI,CAAC;IAEX,0CAA0C;IAC1C,IAAI,EAAE,OAAO,CAAC;IAEd,yGAAyG;IACzG,YAAY,EAAE,MAAM,CAAC;IAErB,mGAAmG;IACnG,SAAS,EAAE,MAAM,CAAC;IAElB,4BAA4B;IAC5B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=CylinderPrimitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CylinderPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/CylinderPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,5 +1,6 @@
1
+ import { Quaternion } from "./Quaternion";
1
2
  import { Time } from "./Time";
2
- import { Transform } from "./Transform";
3
+ import { Vector3 } from "./Vector3";
3
4
  /** A transform between two reference frames in 3D space */
4
5
  export declare type FrameTransform = {
5
6
  /** Timestamp of transform */
@@ -8,7 +9,9 @@ export declare type FrameTransform = {
8
9
  parent_frame_id: string;
9
10
  /** Name of the child frame */
10
11
  child_frame_id: string;
11
- /** Transform from parent frame to child frame */
12
- transform: Transform;
12
+ /** Translation component of the transform */
13
+ translation: Vector3;
14
+ /** Rotation component of the transform */
15
+ rotation: Quaternion;
13
16
  };
14
17
  //# sourceMappingURL=FrameTransform.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameTransform.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,2DAA2D;AAC3D,oBAAY,cAAc,GAAG;IAC3B,6BAA6B;IAC7B,SAAS,EAAE,IAAI,CAAC;IAEhB,+BAA+B;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB,8BAA8B;IAC9B,cAAc,EAAE,MAAM,CAAC;IAEvB,iDAAiD;IACjD,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"FrameTransform.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,2DAA2D;AAC3D,oBAAY,cAAc,GAAG;IAC3B,6BAA6B;IAC7B,SAAS,EAAE,IAAI,CAAC;IAEhB,+BAA+B;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB,8BAA8B;IAC9B,cAAc,EAAE,MAAM,CAAC;IAEvB,6CAA6C;IAC7C,WAAW,EAAE,OAAO,CAAC;IAErB,0CAA0C;IAC1C,QAAQ,EAAE,UAAU,CAAC;CACtB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from FrameTransform by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=FrameTransform.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameTransform.js","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
1
+ {"version":3,"file":"FrameTransform.js","sourceRoot":"","sources":["../../../../schemas/typescript/FrameTransform.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from GeoJSON by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=GeoJSON.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeoJSON.js","sourceRoot":"","sources":["../../../../schemas/typescript/GeoJSON.ts"],"names":[],"mappings":";AAAA,8CAA8C"}
1
+ {"version":3,"file":"GeoJSON.js","sourceRoot":"","sources":["../../../../schemas/typescript/GeoJSON.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from Grid by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=Grid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../../schemas/typescript/Grid.ts"],"names":[],"mappings":";AAAA,2CAA2C"}
1
+ {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../../schemas/typescript/Grid.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from ImageAnnotations by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=ImageAnnotations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageAnnotations.js","sourceRoot":"","sources":["../../../../schemas/typescript/ImageAnnotations.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
1
+ {"version":3,"file":"ImageAnnotations.js","sourceRoot":"","sources":["../../../../schemas/typescript/ImageAnnotations.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -0,0 +1,8 @@
1
+ /** (Experimental, subject to change) A key with its associated value */
2
+ export declare type KeyValuePair = {
3
+ /** Key */
4
+ key: string;
5
+ /** Value */
6
+ value: string;
7
+ };
8
+ //# sourceMappingURL=KeyValuePair.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/KeyValuePair.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,oBAAY,YAAY,GAAG;IACzB,UAAU;IACV,GAAG,EAAE,MAAM,CAAC;IAEZ,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=KeyValuePair.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValuePair.js","sourceRoot":"","sources":["../../../../schemas/typescript/KeyValuePair.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from LaserScan by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=LaserScan.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LaserScan.js","sourceRoot":"","sources":["../../../../schemas/typescript/LaserScan.ts"],"names":[],"mappings":";AAAA,gDAAgD"}
1
+ {"version":3,"file":"LaserScan.js","sourceRoot":"","sources":["../../../../schemas/typescript/LaserScan.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -0,0 +1,28 @@
1
+ import { Color } from "./Color";
2
+ import { LineType } from "./LineType";
3
+ import { Point3 } from "./Point3";
4
+ import { Pose } from "./Pose";
5
+ /** (Experimental, subject to change) A primitive representing a series of points connected by lines */
6
+ export declare type LinePrimitive = {
7
+ /** Drawing primitive to use for lines */
8
+ type: LineType;
9
+ /** Origin of lines relative to reference frame */
10
+ pose: Pose;
11
+ /** Line thickness */
12
+ thickness: number;
13
+ /** Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false) */
14
+ scale_invariant: boolean;
15
+ /** Points along the line */
16
+ points: Point3[];
17
+ /** Solid color to use for the whole line. One of `color` or `colors` must be provided. */
18
+ color: Color;
19
+ /** Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided. */
20
+ colors: Color[];
21
+ /**
22
+ * Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
23
+ *
24
+ * 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).
25
+ */
26
+ indices: number[];
27
+ };
28
+ //# sourceMappingURL=LinePrimitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinePrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/LinePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,uGAAuG;AACvG,oBAAY,aAAa,GAAG;IAC1B,yCAAyC;IACzC,IAAI,EAAE,QAAQ,CAAC;IAEf,kDAAkD;IAClD,IAAI,EAAE,IAAI,CAAC;IAEX,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC;IAElB,gKAAgK;IAChK,eAAe,EAAE,OAAO,CAAC;IAEzB,4BAA4B;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,0FAA0F;IAC1F,KAAK,EAAE,KAAK,CAAC;IAEb,2HAA2H;IAC3H,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=LinePrimitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinePrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/LinePrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -0,0 +1,10 @@
1
+ /** (Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines */
2
+ export declare enum LineType {
3
+ /** 0-1, 1-2, ..., (n-1)-n */
4
+ LINE_STRIP = 0,
5
+ /** 0-1, 1-2, ..., (n-1)-n, n-0 */
6
+ LINE_LOOP = 1,
7
+ /** 0-1, 2-3, 4-5, ... */
8
+ LINE_LIST = 2
9
+ }
10
+ //# sourceMappingURL=LineType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineType.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/LineType.ts"],"names":[],"mappings":"AAEA,yHAAyH;AACzH,oBAAY,QAAQ;IAClB,6BAA6B;IAC7B,UAAU,IAAI;IAEd,kCAAkC;IAClC,SAAS,IAAI;IAEb,yBAAyB;IACzB,SAAS,IAAI;CACd"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LineType = void 0;
5
+ /** (Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines */
6
+ var LineType;
7
+ (function (LineType) {
8
+ /** 0-1, 1-2, ..., (n-1)-n */
9
+ LineType[LineType["LINE_STRIP"] = 0] = "LINE_STRIP";
10
+ /** 0-1, 1-2, ..., (n-1)-n, n-0 */
11
+ LineType[LineType["LINE_LOOP"] = 1] = "LINE_LOOP";
12
+ /** 0-1, 2-3, 4-5, ... */
13
+ LineType[LineType["LINE_LIST"] = 2] = "LINE_LIST";
14
+ })(LineType = exports.LineType || (exports.LineType = {}));
15
+ //# sourceMappingURL=LineType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineType.js","sourceRoot":"","sources":["../../../../schemas/typescript/LineType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,yHAAyH;AACzH,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,6BAA6B;IAC7B,mDAAc,CAAA;IAEd,kCAAkC;IAClC,iDAAa,CAAA;IAEb,yBAAyB;IACzB,iDAAa,CAAA;AACf,CAAC,EATW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QASnB"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from LocationFix by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=LocationFix.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocationFix.js","sourceRoot":"","sources":["../../../../schemas/typescript/LocationFix.ts"],"names":[],"mappings":";AAAA,kDAAkD"}
1
+ {"version":3,"file":"LocationFix.js","sourceRoot":"","sources":["../../../../schemas/typescript/LocationFix.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from Log by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=Log.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Log.js","sourceRoot":"","sources":["../../../../schemas/typescript/Log.ts"],"names":[],"mappings":";AAAA,0CAA0C"}
1
+ {"version":3,"file":"Log.js","sourceRoot":"","sources":["../../../../schemas/typescript/Log.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Generated from LogLevel by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.LogLevel = void 0;
5
5
  /** Log level */
@@ -1 +1 @@
1
- {"version":3,"file":"LogLevel.js","sourceRoot":"","sources":["../../../../schemas/typescript/LogLevel.ts"],"names":[],"mappings":";AAAA,+CAA+C;;;AAE/C,gBAAgB;AAChB,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,6CAAW,CAAA;IAEX,yCAAS,CAAA;IAET,uCAAQ,CAAA;IAER,6CAAW,CAAA;IAEX,yCAAS,CAAA;IAET,yCAAS,CAAA;AACX,CAAC,EAZW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAYnB"}
1
+ {"version":3,"file":"LogLevel.js","sourceRoot":"","sources":["../../../../schemas/typescript/LogLevel.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,gBAAgB;AAChB,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,6CAAW,CAAA;IAEX,yCAAS,CAAA;IAET,uCAAQ,CAAA;IAER,6CAAW,CAAA;IAEX,yCAAS,CAAA;IAET,yCAAS,CAAA;AACX,CAAC,EAZW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAYnB"}
@@ -0,0 +1,21 @@
1
+ import { Color } from "./Color";
2
+ import { Pose } from "./Pose";
3
+ import { Vector3 } from "./Vector3";
4
+ /** (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data */
5
+ export declare type ModelPrimitive = {
6
+ /** Origin of model relative to reference frame */
7
+ pose: Pose;
8
+ /** Scale factor to apply to the model along each axis */
9
+ scale: Vector3;
10
+ /** Solid color to use for the whole model if `override_color` is true. */
11
+ color: Color;
12
+ /** Whether to use the color specified in `color` instead of any materials embedded in the original model. */
13
+ override_color: boolean;
14
+ /** URL pointing to model file. One of `url` or `data` should be provided. */
15
+ url: string;
16
+ /** [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. */
17
+ media_type: string;
18
+ /** 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. */
19
+ data: Uint8Array;
20
+ };
21
+ //# sourceMappingURL=ModelPrimitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/ModelPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,8HAA8H;AAC9H,oBAAY,cAAc,GAAG;IAC3B,kDAAkD;IAClD,IAAI,EAAE,IAAI,CAAC;IAEX,yDAAyD;IACzD,KAAK,EAAE,OAAO,CAAC;IAEf,0EAA0E;IAC1E,KAAK,EAAE,KAAK,CAAC;IAEb,6GAA6G;IAC7G,cAAc,EAAE,OAAO,CAAC;IAExB,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC;IAEZ,uPAAuP;IACvP,UAAU,EAAE,MAAM,CAAC;IAEnB,mJAAmJ;IACnJ,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Generated by https://github.com/foxglove/schemas
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ModelPrimitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/ModelPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Generated from NumericType by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.NumericType = void 0;
5
5
  /** Numeric type */
@@ -1 +1 @@
1
- {"version":3,"file":"NumericType.js","sourceRoot":"","sources":["../../../../schemas/typescript/NumericType.ts"],"names":[],"mappings":";AAAA,kDAAkD;;;AAElD,mBAAmB;AACnB,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB,mDAAW,CAAA;IAEX,+CAAS,CAAA;IAET,6CAAQ,CAAA;IAER,iDAAU,CAAA;IAEV,+CAAS,CAAA;IAET,iDAAU,CAAA;IAEV,+CAAS,CAAA;IAET,mDAAW,CAAA;IAEX,mDAAW,CAAA;AACb,CAAC,EAlBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkBtB"}
1
+ {"version":3,"file":"NumericType.js","sourceRoot":"","sources":["../../../../schemas/typescript/NumericType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,mBAAmB;AACnB,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB,mDAAW,CAAA;IAEX,+CAAS,CAAA;IAET,6CAAQ,CAAA;IAER,iDAAU,CAAA;IAEV,+CAAS,CAAA;IAET,iDAAU,CAAA;IAEV,+CAAS,CAAA;IAET,mDAAW,CAAA;IAEX,mDAAW,CAAA;AACb,CAAC,EAlBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkBtB"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from PackedElementField by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=PackedElementField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PackedElementField.js","sourceRoot":"","sources":["../../../../schemas/typescript/PackedElementField.ts"],"names":[],"mappings":";AAAA,yDAAyD"}
1
+ {"version":3,"file":"PackedElementField.js","sourceRoot":"","sources":["../../../../schemas/typescript/PackedElementField.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from Point2 by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=Point2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Point2.js","sourceRoot":"","sources":["../../../../schemas/typescript/Point2.ts"],"names":[],"mappings":";AAAA,6CAA6C"}
1
+ {"version":3,"file":"Point2.js","sourceRoot":"","sources":["../../../../schemas/typescript/Point2.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from Point3 by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=Point3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Point3.js","sourceRoot":"","sources":["../../../../schemas/typescript/Point3.ts"],"names":[],"mappings":";AAAA,6CAA6C"}
1
+ {"version":3,"file":"Point3.js","sourceRoot":"","sources":["../../../../schemas/typescript/Point3.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- // Generated from PointCloud by @foxglove/schemas
2
+ // Generated by https://github.com/foxglove/schemas
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  //# sourceMappingURL=PointCloud.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PointCloud.js","sourceRoot":"","sources":["../../../../schemas/typescript/PointCloud.ts"],"names":[],"mappings":";AAAA,iDAAiD"}
1
+ {"version":3,"file":"PointCloud.js","sourceRoot":"","sources":["../../../../schemas/typescript/PointCloud.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
@@ -10,9 +10,13 @@ export declare type PointsAnnotation = {
10
10
  type: PointsAnnotationType;
11
11
  /** Points in 2D image coordinates */
12
12
  points: Point2[];
13
- /** Outline colors */
13
+ /** Outline color */
14
+ outline_color: Color;
15
+ /** Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`. */
14
16
  outline_colors: Color[];
15
17
  /** Fill color */
16
18
  fill_color: Color;
19
+ /** Stroke thickness */
20
+ thickness: number;
17
21
  };
18
22
  //# sourceMappingURL=PointsAnnotation.d.ts.map