@foxglove/schemas 0.1.2

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 (506) hide show
  1. package/.eslintrc.js +19 -0
  2. package/.gitattributes +1 -0
  3. package/.github/workflows/ci.yml +89 -0
  4. package/.prettierignore +1 -0
  5. package/.prettierrc.yml +2 -0
  6. package/.vscode/launch.json +23 -0
  7. package/.vscode/settings.json +20 -0
  8. package/LICENSE.md +21 -0
  9. package/README.md +31 -0
  10. package/dist/cjs/schemas/typescript/CameraCalibration.d.ts +63 -0
  11. package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -0
  12. package/dist/cjs/schemas/typescript/CameraCalibration.js +4 -0
  13. package/dist/cjs/schemas/typescript/CameraCalibration.js.map +1 -0
  14. package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts +19 -0
  15. package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
  16. package/dist/cjs/schemas/typescript/CircleAnnotation.js +4 -0
  17. package/dist/cjs/schemas/typescript/CircleAnnotation.js.map +1 -0
  18. package/dist/cjs/schemas/typescript/Color.d.ts +12 -0
  19. package/dist/cjs/schemas/typescript/Color.d.ts.map +1 -0
  20. package/dist/cjs/schemas/typescript/Color.js +4 -0
  21. package/dist/cjs/schemas/typescript/Color.js.map +1 -0
  22. package/dist/cjs/schemas/typescript/CompressedImage.d.ts +11 -0
  23. package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -0
  24. package/dist/cjs/schemas/typescript/CompressedImage.js +4 -0
  25. package/dist/cjs/schemas/typescript/CompressedImage.js.map +1 -0
  26. package/dist/cjs/schemas/typescript/Duration.d.ts +5 -0
  27. package/dist/cjs/schemas/typescript/Duration.d.ts.map +1 -0
  28. package/dist/cjs/schemas/typescript/Duration.js +3 -0
  29. package/dist/cjs/schemas/typescript/Duration.js.map +1 -0
  30. package/dist/cjs/schemas/typescript/FrameTransform.d.ts +14 -0
  31. package/dist/cjs/schemas/typescript/FrameTransform.d.ts.map +1 -0
  32. package/dist/cjs/schemas/typescript/FrameTransform.js +4 -0
  33. package/dist/cjs/schemas/typescript/FrameTransform.js.map +1 -0
  34. package/dist/cjs/schemas/typescript/GeoJSON.d.ts +6 -0
  35. package/dist/cjs/schemas/typescript/GeoJSON.d.ts.map +1 -0
  36. package/dist/cjs/schemas/typescript/GeoJSON.js +4 -0
  37. package/dist/cjs/schemas/typescript/GeoJSON.js.map +1 -0
  38. package/dist/cjs/schemas/typescript/Grid.d.ts +26 -0
  39. package/dist/cjs/schemas/typescript/Grid.d.ts.map +1 -0
  40. package/dist/cjs/schemas/typescript/Grid.js +4 -0
  41. package/dist/cjs/schemas/typescript/Grid.js.map +1 -0
  42. package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts +10 -0
  43. package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
  44. package/dist/cjs/schemas/typescript/ImageAnnotations.js +4 -0
  45. package/dist/cjs/schemas/typescript/ImageAnnotations.js.map +1 -0
  46. package/dist/cjs/schemas/typescript/LaserScan.d.ts +20 -0
  47. package/dist/cjs/schemas/typescript/LaserScan.d.ts.map +1 -0
  48. package/dist/cjs/schemas/typescript/LaserScan.js +4 -0
  49. package/dist/cjs/schemas/typescript/LaserScan.js.map +1 -0
  50. package/dist/cjs/schemas/typescript/LocationFix.d.ts +15 -0
  51. package/dist/cjs/schemas/typescript/LocationFix.d.ts.map +1 -0
  52. package/dist/cjs/schemas/typescript/LocationFix.js +4 -0
  53. package/dist/cjs/schemas/typescript/LocationFix.js.map +1 -0
  54. package/dist/cjs/schemas/typescript/Log.d.ts +18 -0
  55. package/dist/cjs/schemas/typescript/Log.d.ts.map +1 -0
  56. package/dist/cjs/schemas/typescript/Log.js +4 -0
  57. package/dist/cjs/schemas/typescript/Log.js.map +1 -0
  58. package/dist/cjs/schemas/typescript/LogLevel.d.ts +10 -0
  59. package/dist/cjs/schemas/typescript/LogLevel.d.ts.map +1 -0
  60. package/dist/cjs/schemas/typescript/LogLevel.js +15 -0
  61. package/dist/cjs/schemas/typescript/LogLevel.js.map +1 -0
  62. package/dist/cjs/schemas/typescript/NumericType.d.ts +13 -0
  63. package/dist/cjs/schemas/typescript/NumericType.d.ts.map +1 -0
  64. package/dist/cjs/schemas/typescript/NumericType.js +18 -0
  65. package/dist/cjs/schemas/typescript/NumericType.js.map +1 -0
  66. package/dist/cjs/schemas/typescript/PackedElementField.d.ts +11 -0
  67. package/dist/cjs/schemas/typescript/PackedElementField.d.ts.map +1 -0
  68. package/dist/cjs/schemas/typescript/PackedElementField.js +4 -0
  69. package/dist/cjs/schemas/typescript/PackedElementField.js.map +1 -0
  70. package/dist/cjs/schemas/typescript/Point2.d.ts +8 -0
  71. package/dist/cjs/schemas/typescript/Point2.d.ts.map +1 -0
  72. package/dist/cjs/schemas/typescript/Point2.js +4 -0
  73. package/dist/cjs/schemas/typescript/Point2.js.map +1 -0
  74. package/dist/cjs/schemas/typescript/Point3.d.ts +10 -0
  75. package/dist/cjs/schemas/typescript/Point3.d.ts.map +1 -0
  76. package/dist/cjs/schemas/typescript/Point3.js +4 -0
  77. package/dist/cjs/schemas/typescript/Point3.js.map +1 -0
  78. package/dist/cjs/schemas/typescript/PointCloud.d.ts +19 -0
  79. package/dist/cjs/schemas/typescript/PointCloud.d.ts.map +1 -0
  80. package/dist/cjs/schemas/typescript/PointCloud.js +4 -0
  81. package/dist/cjs/schemas/typescript/PointCloud.js.map +1 -0
  82. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +18 -0
  83. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
  84. package/dist/cjs/schemas/typescript/PointsAnnotation.js +4 -0
  85. package/dist/cjs/schemas/typescript/PointsAnnotation.js.map +1 -0
  86. package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts +9 -0
  87. package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
  88. package/dist/cjs/schemas/typescript/PointsAnnotationType.js +14 -0
  89. package/dist/cjs/schemas/typescript/PointsAnnotationType.js.map +1 -0
  90. package/dist/cjs/schemas/typescript/Pose.d.ts +10 -0
  91. package/dist/cjs/schemas/typescript/Pose.d.ts.map +1 -0
  92. package/dist/cjs/schemas/typescript/Pose.js +4 -0
  93. package/dist/cjs/schemas/typescript/Pose.js.map +1 -0
  94. package/dist/cjs/schemas/typescript/PoseInFrame.d.ts +12 -0
  95. package/dist/cjs/schemas/typescript/PoseInFrame.d.ts.map +1 -0
  96. package/dist/cjs/schemas/typescript/PoseInFrame.js +4 -0
  97. package/dist/cjs/schemas/typescript/PoseInFrame.js.map +1 -0
  98. package/dist/cjs/schemas/typescript/PosesInFrame.d.ts +12 -0
  99. package/dist/cjs/schemas/typescript/PosesInFrame.d.ts.map +1 -0
  100. package/dist/cjs/schemas/typescript/PosesInFrame.js +4 -0
  101. package/dist/cjs/schemas/typescript/PosesInFrame.js.map +1 -0
  102. package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts +8 -0
  103. package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
  104. package/dist/cjs/schemas/typescript/PositionCovarianceType.js +13 -0
  105. package/dist/cjs/schemas/typescript/PositionCovarianceType.js.map +1 -0
  106. package/dist/cjs/schemas/typescript/Quaternion.d.ts +12 -0
  107. package/dist/cjs/schemas/typescript/Quaternion.d.ts.map +1 -0
  108. package/dist/cjs/schemas/typescript/Quaternion.js +4 -0
  109. package/dist/cjs/schemas/typescript/Quaternion.js.map +1 -0
  110. package/dist/cjs/schemas/typescript/RawImage.d.ts +17 -0
  111. package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -0
  112. package/dist/cjs/schemas/typescript/RawImage.js +4 -0
  113. package/dist/cjs/schemas/typescript/RawImage.js.map +1 -0
  114. package/dist/cjs/schemas/typescript/Time.d.ts +5 -0
  115. package/dist/cjs/schemas/typescript/Time.d.ts.map +1 -0
  116. package/dist/cjs/schemas/typescript/Time.js +3 -0
  117. package/dist/cjs/schemas/typescript/Time.js.map +1 -0
  118. package/dist/cjs/schemas/typescript/Transform.d.ts +13 -0
  119. package/dist/cjs/schemas/typescript/Transform.d.ts.map +1 -0
  120. package/dist/cjs/schemas/typescript/Transform.js +4 -0
  121. package/dist/cjs/schemas/typescript/Transform.js.map +1 -0
  122. package/dist/cjs/schemas/typescript/Vector2.d.ts +8 -0
  123. package/dist/cjs/schemas/typescript/Vector2.d.ts.map +1 -0
  124. package/dist/cjs/schemas/typescript/Vector2.js +4 -0
  125. package/dist/cjs/schemas/typescript/Vector2.js.map +1 -0
  126. package/dist/cjs/schemas/typescript/Vector3.d.ts +10 -0
  127. package/dist/cjs/schemas/typescript/Vector3.d.ts.map +1 -0
  128. package/dist/cjs/schemas/typescript/Vector3.js +4 -0
  129. package/dist/cjs/schemas/typescript/Vector3.js.map +1 -0
  130. package/dist/cjs/schemas/typescript/index.d.ts +29 -0
  131. package/dist/cjs/schemas/typescript/index.d.ts.map +1 -0
  132. package/dist/cjs/schemas/typescript/index.js +32 -0
  133. package/dist/cjs/schemas/typescript/index.js.map +1 -0
  134. package/dist/cjs/scripts/updateGeneratedFiles.d.ts +2 -0
  135. package/dist/cjs/scripts/updateGeneratedFiles.d.ts.map +1 -0
  136. package/dist/cjs/scripts/updateGeneratedFiles.js +77 -0
  137. package/dist/cjs/scripts/updateGeneratedFiles.js.map +1 -0
  138. package/dist/cjs/src/generateJsonSchema.d.ts +3 -0
  139. package/dist/cjs/src/generateJsonSchema.d.ts.map +1 -0
  140. package/dist/cjs/src/generateJsonSchema.js +85 -0
  141. package/dist/cjs/src/generateJsonSchema.js.map +1 -0
  142. package/dist/cjs/src/generateJsonSchema.test.d.ts +2 -0
  143. package/dist/cjs/src/generateJsonSchema.test.d.ts.map +1 -0
  144. package/dist/cjs/src/generateJsonSchema.test.js +312 -0
  145. package/dist/cjs/src/generateJsonSchema.test.js.map +1 -0
  146. package/dist/cjs/src/generateProto.d.ts +3 -0
  147. package/dist/cjs/src/generateProto.d.ts.map +1 -0
  148. package/dist/cjs/src/generateProto.js +84 -0
  149. package/dist/cjs/src/generateProto.js.map +1 -0
  150. package/dist/cjs/src/generateProto.test.d.ts +2 -0
  151. package/dist/cjs/src/generateProto.test.d.ts.map +1 -0
  152. package/dist/cjs/src/generateProto.test.js +125 -0
  153. package/dist/cjs/src/generateProto.test.js.map +1 -0
  154. package/dist/cjs/src/generateRos.d.ts +20 -0
  155. package/dist/cjs/src/generateRos.d.ts.map +1 -0
  156. package/dist/cjs/src/generateRos.js +186 -0
  157. package/dist/cjs/src/generateRos.js.map +1 -0
  158. package/dist/cjs/src/generateRos.test.d.ts +2 -0
  159. package/dist/cjs/src/generateRos.test.d.ts.map +1 -0
  160. package/dist/cjs/src/generateRos.test.js +911 -0
  161. package/dist/cjs/src/generateRos.test.js.map +1 -0
  162. package/dist/cjs/src/generateTypeScript.d.ts +5 -0
  163. package/dist/cjs/src/generateTypeScript.d.ts.map +1 -0
  164. package/dist/cjs/src/generateTypeScript.js +100 -0
  165. package/dist/cjs/src/generateTypeScript.js.map +1 -0
  166. package/dist/cjs/src/generateTypeScript.test.d.ts +2 -0
  167. package/dist/cjs/src/generateTypeScript.test.d.ts.map +1 -0
  168. package/dist/cjs/src/generateTypeScript.test.js +142 -0
  169. package/dist/cjs/src/generateTypeScript.test.js.map +1 -0
  170. package/dist/cjs/src/index.d.ts +6 -0
  171. package/dist/cjs/src/index.d.ts.map +1 -0
  172. package/dist/cjs/src/index.js +9 -0
  173. package/dist/cjs/src/index.js.map +1 -0
  174. package/dist/cjs/src/schemas.d.ts +35 -0
  175. package/dist/cjs/src/schemas.d.ts.map +1 -0
  176. package/dist/cjs/src/schemas.js +820 -0
  177. package/dist/cjs/src/schemas.js.map +1 -0
  178. package/dist/cjs/src/schemas.test.d.ts +2 -0
  179. package/dist/cjs/src/schemas.test.d.ts.map +1 -0
  180. package/dist/cjs/src/schemas.test.js +24 -0
  181. package/dist/cjs/src/schemas.test.js.map +1 -0
  182. package/dist/cjs/src/testFixtures.d.ts +5 -0
  183. package/dist/cjs/src/testFixtures.d.ts.map +1 -0
  184. package/dist/cjs/src/testFixtures.js +86 -0
  185. package/dist/cjs/src/testFixtures.js.map +1 -0
  186. package/dist/cjs/src/types.d.ts +37 -0
  187. package/dist/cjs/src/types.d.ts.map +1 -0
  188. package/dist/cjs/src/types.js +3 -0
  189. package/dist/cjs/src/types.js.map +1 -0
  190. package/dist/esm/schemas/typescript/CameraCalibration.d.ts +63 -0
  191. package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -0
  192. package/dist/esm/schemas/typescript/CameraCalibration.js +3 -0
  193. package/dist/esm/schemas/typescript/CameraCalibration.js.map +1 -0
  194. package/dist/esm/schemas/typescript/CircleAnnotation.d.ts +19 -0
  195. package/dist/esm/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
  196. package/dist/esm/schemas/typescript/CircleAnnotation.js +3 -0
  197. package/dist/esm/schemas/typescript/CircleAnnotation.js.map +1 -0
  198. package/dist/esm/schemas/typescript/Color.d.ts +12 -0
  199. package/dist/esm/schemas/typescript/Color.d.ts.map +1 -0
  200. package/dist/esm/schemas/typescript/Color.js +3 -0
  201. package/dist/esm/schemas/typescript/Color.js.map +1 -0
  202. package/dist/esm/schemas/typescript/CompressedImage.d.ts +11 -0
  203. package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -0
  204. package/dist/esm/schemas/typescript/CompressedImage.js +3 -0
  205. package/dist/esm/schemas/typescript/CompressedImage.js.map +1 -0
  206. package/dist/esm/schemas/typescript/Duration.d.ts +5 -0
  207. package/dist/esm/schemas/typescript/Duration.d.ts.map +1 -0
  208. package/dist/esm/schemas/typescript/Duration.js +2 -0
  209. package/dist/esm/schemas/typescript/Duration.js.map +1 -0
  210. package/dist/esm/schemas/typescript/FrameTransform.d.ts +14 -0
  211. package/dist/esm/schemas/typescript/FrameTransform.d.ts.map +1 -0
  212. package/dist/esm/schemas/typescript/FrameTransform.js +3 -0
  213. package/dist/esm/schemas/typescript/FrameTransform.js.map +1 -0
  214. package/dist/esm/schemas/typescript/GeoJSON.d.ts +6 -0
  215. package/dist/esm/schemas/typescript/GeoJSON.d.ts.map +1 -0
  216. package/dist/esm/schemas/typescript/GeoJSON.js +3 -0
  217. package/dist/esm/schemas/typescript/GeoJSON.js.map +1 -0
  218. package/dist/esm/schemas/typescript/Grid.d.ts +26 -0
  219. package/dist/esm/schemas/typescript/Grid.d.ts.map +1 -0
  220. package/dist/esm/schemas/typescript/Grid.js +3 -0
  221. package/dist/esm/schemas/typescript/Grid.js.map +1 -0
  222. package/dist/esm/schemas/typescript/ImageAnnotations.d.ts +10 -0
  223. package/dist/esm/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
  224. package/dist/esm/schemas/typescript/ImageAnnotations.js +3 -0
  225. package/dist/esm/schemas/typescript/ImageAnnotations.js.map +1 -0
  226. package/dist/esm/schemas/typescript/LaserScan.d.ts +20 -0
  227. package/dist/esm/schemas/typescript/LaserScan.d.ts.map +1 -0
  228. package/dist/esm/schemas/typescript/LaserScan.js +3 -0
  229. package/dist/esm/schemas/typescript/LaserScan.js.map +1 -0
  230. package/dist/esm/schemas/typescript/LocationFix.d.ts +15 -0
  231. package/dist/esm/schemas/typescript/LocationFix.d.ts.map +1 -0
  232. package/dist/esm/schemas/typescript/LocationFix.js +3 -0
  233. package/dist/esm/schemas/typescript/LocationFix.js.map +1 -0
  234. package/dist/esm/schemas/typescript/Log.d.ts +18 -0
  235. package/dist/esm/schemas/typescript/Log.d.ts.map +1 -0
  236. package/dist/esm/schemas/typescript/Log.js +3 -0
  237. package/dist/esm/schemas/typescript/Log.js.map +1 -0
  238. package/dist/esm/schemas/typescript/LogLevel.d.ts +10 -0
  239. package/dist/esm/schemas/typescript/LogLevel.d.ts.map +1 -0
  240. package/dist/esm/schemas/typescript/LogLevel.js +12 -0
  241. package/dist/esm/schemas/typescript/LogLevel.js.map +1 -0
  242. package/dist/esm/schemas/typescript/NumericType.d.ts +13 -0
  243. package/dist/esm/schemas/typescript/NumericType.d.ts.map +1 -0
  244. package/dist/esm/schemas/typescript/NumericType.js +15 -0
  245. package/dist/esm/schemas/typescript/NumericType.js.map +1 -0
  246. package/dist/esm/schemas/typescript/PackedElementField.d.ts +11 -0
  247. package/dist/esm/schemas/typescript/PackedElementField.d.ts.map +1 -0
  248. package/dist/esm/schemas/typescript/PackedElementField.js +3 -0
  249. package/dist/esm/schemas/typescript/PackedElementField.js.map +1 -0
  250. package/dist/esm/schemas/typescript/Point2.d.ts +8 -0
  251. package/dist/esm/schemas/typescript/Point2.d.ts.map +1 -0
  252. package/dist/esm/schemas/typescript/Point2.js +3 -0
  253. package/dist/esm/schemas/typescript/Point2.js.map +1 -0
  254. package/dist/esm/schemas/typescript/Point3.d.ts +10 -0
  255. package/dist/esm/schemas/typescript/Point3.d.ts.map +1 -0
  256. package/dist/esm/schemas/typescript/Point3.js +3 -0
  257. package/dist/esm/schemas/typescript/Point3.js.map +1 -0
  258. package/dist/esm/schemas/typescript/PointCloud.d.ts +19 -0
  259. package/dist/esm/schemas/typescript/PointCloud.d.ts.map +1 -0
  260. package/dist/esm/schemas/typescript/PointCloud.js +3 -0
  261. package/dist/esm/schemas/typescript/PointCloud.js.map +1 -0
  262. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +18 -0
  263. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
  264. package/dist/esm/schemas/typescript/PointsAnnotation.js +3 -0
  265. package/dist/esm/schemas/typescript/PointsAnnotation.js.map +1 -0
  266. package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts +9 -0
  267. package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
  268. package/dist/esm/schemas/typescript/PointsAnnotationType.js +11 -0
  269. package/dist/esm/schemas/typescript/PointsAnnotationType.js.map +1 -0
  270. package/dist/esm/schemas/typescript/Pose.d.ts +10 -0
  271. package/dist/esm/schemas/typescript/Pose.d.ts.map +1 -0
  272. package/dist/esm/schemas/typescript/Pose.js +3 -0
  273. package/dist/esm/schemas/typescript/Pose.js.map +1 -0
  274. package/dist/esm/schemas/typescript/PoseInFrame.d.ts +12 -0
  275. package/dist/esm/schemas/typescript/PoseInFrame.d.ts.map +1 -0
  276. package/dist/esm/schemas/typescript/PoseInFrame.js +3 -0
  277. package/dist/esm/schemas/typescript/PoseInFrame.js.map +1 -0
  278. package/dist/esm/schemas/typescript/PosesInFrame.d.ts +12 -0
  279. package/dist/esm/schemas/typescript/PosesInFrame.d.ts.map +1 -0
  280. package/dist/esm/schemas/typescript/PosesInFrame.js +3 -0
  281. package/dist/esm/schemas/typescript/PosesInFrame.js.map +1 -0
  282. package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts +8 -0
  283. package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
  284. package/dist/esm/schemas/typescript/PositionCovarianceType.js +10 -0
  285. package/dist/esm/schemas/typescript/PositionCovarianceType.js.map +1 -0
  286. package/dist/esm/schemas/typescript/Quaternion.d.ts +12 -0
  287. package/dist/esm/schemas/typescript/Quaternion.d.ts.map +1 -0
  288. package/dist/esm/schemas/typescript/Quaternion.js +3 -0
  289. package/dist/esm/schemas/typescript/Quaternion.js.map +1 -0
  290. package/dist/esm/schemas/typescript/RawImage.d.ts +17 -0
  291. package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -0
  292. package/dist/esm/schemas/typescript/RawImage.js +3 -0
  293. package/dist/esm/schemas/typescript/RawImage.js.map +1 -0
  294. package/dist/esm/schemas/typescript/Time.d.ts +5 -0
  295. package/dist/esm/schemas/typescript/Time.d.ts.map +1 -0
  296. package/dist/esm/schemas/typescript/Time.js +2 -0
  297. package/dist/esm/schemas/typescript/Time.js.map +1 -0
  298. package/dist/esm/schemas/typescript/Transform.d.ts +13 -0
  299. package/dist/esm/schemas/typescript/Transform.d.ts.map +1 -0
  300. package/dist/esm/schemas/typescript/Transform.js +3 -0
  301. package/dist/esm/schemas/typescript/Transform.js.map +1 -0
  302. package/dist/esm/schemas/typescript/Vector2.d.ts +8 -0
  303. package/dist/esm/schemas/typescript/Vector2.d.ts.map +1 -0
  304. package/dist/esm/schemas/typescript/Vector2.js +3 -0
  305. package/dist/esm/schemas/typescript/Vector2.js.map +1 -0
  306. package/dist/esm/schemas/typescript/Vector3.d.ts +10 -0
  307. package/dist/esm/schemas/typescript/Vector3.d.ts.map +1 -0
  308. package/dist/esm/schemas/typescript/Vector3.js +3 -0
  309. package/dist/esm/schemas/typescript/Vector3.js.map +1 -0
  310. package/dist/esm/schemas/typescript/index.d.ts +29 -0
  311. package/dist/esm/schemas/typescript/index.d.ts.map +1 -0
  312. package/dist/esm/schemas/typescript/index.js +29 -0
  313. package/dist/esm/schemas/typescript/index.js.map +1 -0
  314. package/dist/esm/scripts/updateGeneratedFiles.d.ts +2 -0
  315. package/dist/esm/scripts/updateGeneratedFiles.d.ts.map +1 -0
  316. package/dist/esm/scripts/updateGeneratedFiles.js +74 -0
  317. package/dist/esm/scripts/updateGeneratedFiles.js.map +1 -0
  318. package/dist/esm/src/generateJsonSchema.d.ts +3 -0
  319. package/dist/esm/src/generateJsonSchema.d.ts.map +1 -0
  320. package/dist/esm/src/generateJsonSchema.js +81 -0
  321. package/dist/esm/src/generateJsonSchema.js.map +1 -0
  322. package/dist/esm/src/generateJsonSchema.test.d.ts +2 -0
  323. package/dist/esm/src/generateJsonSchema.test.d.ts.map +1 -0
  324. package/dist/esm/src/generateJsonSchema.test.js +309 -0
  325. package/dist/esm/src/generateJsonSchema.test.js.map +1 -0
  326. package/dist/esm/src/generateProto.d.ts +3 -0
  327. package/dist/esm/src/generateProto.d.ts.map +1 -0
  328. package/dist/esm/src/generateProto.js +80 -0
  329. package/dist/esm/src/generateProto.js.map +1 -0
  330. package/dist/esm/src/generateProto.test.d.ts +2 -0
  331. package/dist/esm/src/generateProto.test.d.ts.map +1 -0
  332. package/dist/esm/src/generateProto.test.js +122 -0
  333. package/dist/esm/src/generateProto.test.js.map +1 -0
  334. package/dist/esm/src/generateRos.d.ts +20 -0
  335. package/dist/esm/src/generateRos.d.ts.map +1 -0
  336. package/dist/esm/src/generateRos.js +180 -0
  337. package/dist/esm/src/generateRos.js.map +1 -0
  338. package/dist/esm/src/generateRos.test.d.ts +2 -0
  339. package/dist/esm/src/generateRos.test.d.ts.map +1 -0
  340. package/dist/esm/src/generateRos.test.js +909 -0
  341. package/dist/esm/src/generateRos.test.js.map +1 -0
  342. package/dist/esm/src/generateTypeScript.d.ts +5 -0
  343. package/dist/esm/src/generateTypeScript.d.ts.map +1 -0
  344. package/dist/esm/src/generateTypeScript.js +96 -0
  345. package/dist/esm/src/generateTypeScript.js.map +1 -0
  346. package/dist/esm/src/generateTypeScript.test.d.ts +2 -0
  347. package/dist/esm/src/generateTypeScript.test.d.ts.map +1 -0
  348. package/dist/esm/src/generateTypeScript.test.js +117 -0
  349. package/dist/esm/src/generateTypeScript.test.js.map +1 -0
  350. package/dist/esm/src/index.d.ts +6 -0
  351. package/dist/esm/src/index.d.ts.map +1 -0
  352. package/dist/esm/src/index.js +6 -0
  353. package/dist/esm/src/index.js.map +1 -0
  354. package/dist/esm/src/schemas.d.ts +35 -0
  355. package/dist/esm/src/schemas.d.ts.map +1 -0
  356. package/dist/esm/src/schemas.js +817 -0
  357. package/dist/esm/src/schemas.js.map +1 -0
  358. package/dist/esm/src/schemas.test.d.ts +2 -0
  359. package/dist/esm/src/schemas.test.d.ts.map +1 -0
  360. package/dist/esm/src/schemas.test.js +22 -0
  361. package/dist/esm/src/schemas.test.js.map +1 -0
  362. package/dist/esm/src/testFixtures.d.ts +5 -0
  363. package/dist/esm/src/testFixtures.d.ts.map +1 -0
  364. package/dist/esm/src/testFixtures.js +83 -0
  365. package/dist/esm/src/testFixtures.js.map +1 -0
  366. package/dist/esm/src/types.d.ts +37 -0
  367. package/dist/esm/src/types.d.ts.map +1 -0
  368. package/dist/esm/src/types.js +2 -0
  369. package/dist/esm/src/types.js.map +1 -0
  370. package/jest.config.json +16 -0
  371. package/package.json +55 -0
  372. package/schemas/jsonschema/CameraCalibration.json +72 -0
  373. package/schemas/jsonschema/CircleAnnotation.json +96 -0
  374. package/schemas/jsonschema/Color.json +24 -0
  375. package/schemas/jsonschema/CompressedImage.json +33 -0
  376. package/schemas/jsonschema/FrameTransform.json +100 -0
  377. package/schemas/jsonschema/GeoJSON.json +12 -0
  378. package/schemas/jsonschema/Grid.json +179 -0
  379. package/schemas/jsonschema/ImageAnnotations.json +234 -0
  380. package/schemas/jsonschema/LaserScan.json +102 -0
  381. package/schemas/jsonschema/LocationFix.json +51 -0
  382. package/schemas/jsonschema/Log.json +71 -0
  383. package/schemas/jsonschema/PackedElementField.json +59 -0
  384. package/schemas/jsonschema/Point2.json +16 -0
  385. package/schemas/jsonschema/Point3.json +20 -0
  386. package/schemas/jsonschema/PointCloud.json +153 -0
  387. package/schemas/jsonschema/PointsAnnotation.json +122 -0
  388. package/schemas/jsonschema/Pose.json +52 -0
  389. package/schemas/jsonschema/PoseInFrame.json +80 -0
  390. package/schemas/jsonschema/PosesInFrame.json +84 -0
  391. package/schemas/jsonschema/Quaternion.json +24 -0
  392. package/schemas/jsonschema/RawImage.json +48 -0
  393. package/schemas/jsonschema/Transform.json +68 -0
  394. package/schemas/jsonschema/Vector2.json +16 -0
  395. package/schemas/jsonschema/Vector3.json +20 -0
  396. package/schemas/proto/foxglove/CameraCalibration.proto +70 -0
  397. package/schemas/proto/foxglove/CircleAnnotation.proto +30 -0
  398. package/schemas/proto/foxglove/Color.proto +20 -0
  399. package/schemas/proto/foxglove/CompressedImage.proto +19 -0
  400. package/schemas/proto/foxglove/FrameTransform.proto +23 -0
  401. package/schemas/proto/foxglove/GeoJSON.proto +11 -0
  402. package/schemas/proto/foxglove/Grid.proto +40 -0
  403. package/schemas/proto/foxglove/ImageAnnotations.proto +17 -0
  404. package/schemas/proto/foxglove/LaserScan.proto +32 -0
  405. package/schemas/proto/foxglove/LocationFix.proto +33 -0
  406. package/schemas/proto/foxglove/Log.proto +42 -0
  407. package/schemas/proto/foxglove/PackedElementField.proto +37 -0
  408. package/schemas/proto/foxglove/Point2.proto +14 -0
  409. package/schemas/proto/foxglove/Point3.proto +17 -0
  410. package/schemas/proto/foxglove/PointCloud.proto +30 -0
  411. package/schemas/proto/foxglove/PointsAnnotation.proto +39 -0
  412. package/schemas/proto/foxglove/Pose.proto +17 -0
  413. package/schemas/proto/foxglove/PoseInFrame.proto +20 -0
  414. package/schemas/proto/foxglove/PosesInFrame.proto +20 -0
  415. package/schemas/proto/foxglove/Quaternion.proto +20 -0
  416. package/schemas/proto/foxglove/RawImage.proto +28 -0
  417. package/schemas/proto/foxglove/Transform.proto +21 -0
  418. package/schemas/proto/foxglove/Vector2.proto +14 -0
  419. package/schemas/proto/foxglove/Vector3.proto +17 -0
  420. package/schemas/ros1/CameraCalibration.msg +61 -0
  421. package/schemas/ros1/CircleAnnotation.msg +19 -0
  422. package/schemas/ros1/Color.msg +13 -0
  423. package/schemas/ros1/CompressedImage.msg +10 -0
  424. package/schemas/ros1/FrameTransform.msg +13 -0
  425. package/schemas/ros1/GeoJSON.msg +4 -0
  426. package/schemas/ros1/Grid.msg +28 -0
  427. package/schemas/ros1/ImageAnnotations.msg +7 -0
  428. package/schemas/ros1/LaserScan.msg +22 -0
  429. package/schemas/ros1/LocationFix.msg +21 -0
  430. package/schemas/ros1/Log.msg +26 -0
  431. package/schemas/ros1/PackedElementField.msg +20 -0
  432. package/schemas/ros1/Point2.msg +7 -0
  433. package/schemas/ros1/PointCloud.msg +19 -0
  434. package/schemas/ros1/PointsAnnotation.msg +22 -0
  435. package/schemas/ros1/PoseInFrame.msg +10 -0
  436. package/schemas/ros1/PosesInFrame.msg +10 -0
  437. package/schemas/ros1/RawImage.msg +19 -0
  438. package/schemas/ros1/Transform.msg +10 -0
  439. package/schemas/ros1/Vector2.msg +7 -0
  440. package/schemas/ros2/CameraCalibration.msg +61 -0
  441. package/schemas/ros2/CircleAnnotation.msg +19 -0
  442. package/schemas/ros2/Color.msg +13 -0
  443. package/schemas/ros2/CompressedImage.msg +10 -0
  444. package/schemas/ros2/FrameTransform.msg +13 -0
  445. package/schemas/ros2/GeoJSON.msg +4 -0
  446. package/schemas/ros2/Grid.msg +28 -0
  447. package/schemas/ros2/ImageAnnotations.msg +7 -0
  448. package/schemas/ros2/LaserScan.msg +22 -0
  449. package/schemas/ros2/LocationFix.msg +21 -0
  450. package/schemas/ros2/Log.msg +26 -0
  451. package/schemas/ros2/PackedElementField.msg +20 -0
  452. package/schemas/ros2/Point2.msg +7 -0
  453. package/schemas/ros2/PointCloud.msg +19 -0
  454. package/schemas/ros2/PointsAnnotation.msg +22 -0
  455. package/schemas/ros2/PoseInFrame.msg +10 -0
  456. package/schemas/ros2/PosesInFrame.msg +10 -0
  457. package/schemas/ros2/RawImage.msg +19 -0
  458. package/schemas/ros2/Transform.msg +10 -0
  459. package/schemas/ros2/Vector2.msg +7 -0
  460. package/schemas/typescript/CameraCalibration.ts +72 -0
  461. package/schemas/typescript/CircleAnnotation.ts +26 -0
  462. package/schemas/typescript/Color.ts +16 -0
  463. package/schemas/typescript/CompressedImage.ts +15 -0
  464. package/schemas/typescript/Duration.ts +4 -0
  465. package/schemas/typescript/FrameTransform.ts +19 -0
  466. package/schemas/typescript/GeoJSON.ts +7 -0
  467. package/schemas/typescript/Grid.ts +36 -0
  468. package/schemas/typescript/ImageAnnotations.ts +13 -0
  469. package/schemas/typescript/LaserScan.ts +28 -0
  470. package/schemas/typescript/LocationFix.ts +21 -0
  471. package/schemas/typescript/Log.ts +25 -0
  472. package/schemas/typescript/LogLevel.ts +16 -0
  473. package/schemas/typescript/NumericType.ts +22 -0
  474. package/schemas/typescript/PackedElementField.ts +15 -0
  475. package/schemas/typescript/Point2.ts +10 -0
  476. package/schemas/typescript/Point3.ts +13 -0
  477. package/schemas/typescript/PointCloud.ts +26 -0
  478. package/schemas/typescript/PointsAnnotation.ts +24 -0
  479. package/schemas/typescript/PointsAnnotationType.ts +14 -0
  480. package/schemas/typescript/Pose.ts +13 -0
  481. package/schemas/typescript/PoseInFrame.ts +16 -0
  482. package/schemas/typescript/PosesInFrame.ts +16 -0
  483. package/schemas/typescript/PositionCovarianceType.ts +12 -0
  484. package/schemas/typescript/Quaternion.ts +16 -0
  485. package/schemas/typescript/RawImage.ts +24 -0
  486. package/schemas/typescript/Time.ts +4 -0
  487. package/schemas/typescript/Transform.ts +17 -0
  488. package/schemas/typescript/Vector2.ts +10 -0
  489. package/schemas/typescript/Vector3.ts +13 -0
  490. package/schemas/typescript/index.ts +28 -0
  491. package/scripts/updateGeneratedFiles.ts +103 -0
  492. package/src/generateJsonSchema.test.ts +314 -0
  493. package/src/generateJsonSchema.ts +82 -0
  494. package/src/generateProto.test.ts +126 -0
  495. package/src/generateProto.ts +97 -0
  496. package/src/generateRos.test.ts +931 -0
  497. package/src/generateRos.ts +219 -0
  498. package/src/generateTypeScript.test.ts +118 -0
  499. package/src/generateTypeScript.ts +106 -0
  500. package/src/index.ts +5 -0
  501. package/src/schemas.test.ts +23 -0
  502. package/src/schemas.ts +853 -0
  503. package/src/testFixtures.ts +90 -0
  504. package/src/types.ts +40 -0
  505. package/tsconfig.cjs.json +7 -0
  506. package/tsconfig.json +9 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "$comment": "Generated from Vector3 by @foxglove/schemas",
3
+ "title": "Vector3",
4
+ "description": "A vector in 3D space that represents a direction only",
5
+ "type": "object",
6
+ "properties": {
7
+ "x": {
8
+ "type": "number",
9
+ "description": "x coordinate length"
10
+ },
11
+ "y": {
12
+ "type": "number",
13
+ "description": "y coordinate length"
14
+ },
15
+ "z": {
16
+ "type": "number",
17
+ "description": "z coordinate length"
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,70 @@
1
+ // Generated from CameraCalibration by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ package foxglove;
8
+
9
+ // Camera calibration parameters
10
+ message CameraCalibration {
11
+ // Timestamp of calibration data
12
+ google.protobuf.Timestamp timestamp = 1;
13
+
14
+ // Image width
15
+ fixed32 width = 2;
16
+
17
+ // Image height
18
+ fixed32 height = 3;
19
+
20
+ // Name of distortion model
21
+ string distortion_model = 4;
22
+
23
+ // Distortion parameters
24
+ repeated double D = 5;
25
+
26
+ // Intrinsic camera matrix (3x3 row-major matrix)
27
+ //
28
+ // A 3x3 row-major matrix for the raw (distorted) image.
29
+ //
30
+ // Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
31
+ //
32
+ // ```
33
+ // [fx 0 cx]
34
+ // K = [ 0 fy cy]
35
+ // [ 0 0 1]
36
+ // ```
37
+ repeated double K = 6; // length 9
38
+
39
+ // Rectification matrix (3x3 row-major matrix)
40
+ //
41
+ // A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
42
+ repeated double R = 7; // length 9
43
+
44
+ // Projection/camera matrix (3x4 row-major matrix)
45
+ //
46
+ // ```
47
+ // [fx' 0 cx' Tx]
48
+ // P = [ 0 fy' cy' Ty]
49
+ // [ 0 0 1 0]
50
+ // ```
51
+ //
52
+ // By convention, this matrix specifies the intrinsic (camera) matrix of the processed (rectified) image. That is, the left 3x3 portion is the normal camera intrinsic matrix for the rectified image.
53
+ //
54
+ // It projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx', fy') and principal point (cx', cy') - these may differ from the values in K.
55
+ //
56
+ // For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
57
+ //
58
+ // For a stereo pair, the fourth column [Tx Ty 0]' is related to the position of the optical center of the second camera in the first camera's frame. We assume Tz = 0 so both cameras are in the same stereo image plane. The first camera always has Tx = Ty = 0. For the right (second) camera of a horizontal stereo pair, Ty = 0 and Tx = -fx' * B, where B is the baseline between the cameras.
59
+ //
60
+ // Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
61
+ //
62
+ // ```
63
+ // [u v w]' = P * [X Y Z 1]'
64
+ // x = u / w
65
+ // y = v / w
66
+ // ```
67
+ //
68
+ // This holds for both images of a stereo pair.
69
+ repeated double P = 8; // length 12
70
+ }
@@ -0,0 +1,30 @@
1
+ // Generated from CircleAnnotation by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Color.proto";
6
+ import "foxglove/Point2.proto";
7
+ import "google/protobuf/timestamp.proto";
8
+
9
+ package foxglove;
10
+
11
+ // A circle annotation on a 2D image
12
+ message CircleAnnotation {
13
+ // Timestamp of circle
14
+ google.protobuf.Timestamp timestamp = 1;
15
+
16
+ // Center of the circle in 2D image coordinates
17
+ foxglove.Point2 position = 2;
18
+
19
+ // Circle diameter
20
+ double diameter = 3;
21
+
22
+ // Line thickness
23
+ double thickness = 4;
24
+
25
+ // Fill color
26
+ foxglove.Color fill_color = 5;
27
+
28
+ // Outline color
29
+ foxglove.Color outline_color = 6;
30
+ }
@@ -0,0 +1,20 @@
1
+ // Generated from Color by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A color in RGBA format
8
+ message Color {
9
+ // Red value between 0 and 1
10
+ double r = 1;
11
+
12
+ // Green value between 0 and 1
13
+ double g = 2;
14
+
15
+ // Blue value between 0 and 1
16
+ double b = 3;
17
+
18
+ // Alpha value between 0 and 1
19
+ double a = 4;
20
+ }
@@ -0,0 +1,19 @@
1
+ // Generated from CompressedImage by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ package foxglove;
8
+
9
+ // A compressed image
10
+ message CompressedImage {
11
+ // Timestamp of image
12
+ google.protobuf.Timestamp timestamp = 1;
13
+
14
+ // Compressed image data
15
+ bytes data = 2;
16
+
17
+ // Image format
18
+ string format = 3;
19
+ }
@@ -0,0 +1,23 @@
1
+ // Generated from FrameTransform by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Transform.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ package foxglove;
9
+
10
+ // A transform between two reference frames in 3D space
11
+ message FrameTransform {
12
+ // Timestamp of transform
13
+ google.protobuf.Timestamp timestamp = 1;
14
+
15
+ // Name of the parent frame
16
+ string parent_frame_id = 2;
17
+
18
+ // Name of the child frame
19
+ string child_frame_id = 3;
20
+
21
+ // Transform from parent frame to child frame
22
+ foxglove.Transform transform = 4;
23
+ }
@@ -0,0 +1,11 @@
1
+ // Generated from GeoJSON by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // GeoJSON data for annotating maps
8
+ message GeoJSON {
9
+ // GeoJSON data encoded as a UTF-8 string
10
+ string geojson = 1;
11
+ }
@@ -0,0 +1,40 @@
1
+ // Generated from Grid by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/PackedElementField.proto";
6
+ import "foxglove/Pose.proto";
7
+ import "foxglove/Vector2.proto";
8
+ import "google/protobuf/timestamp.proto";
9
+
10
+ package foxglove;
11
+
12
+ // A 2D grid of data
13
+ message Grid {
14
+ // Timestamp of grid
15
+ google.protobuf.Timestamp timestamp = 1;
16
+
17
+ // Frame of reference
18
+ string frame_id = 2;
19
+
20
+ // Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
21
+ foxglove.Pose pose = 3;
22
+
23
+ // Number of grid columns
24
+ fixed32 column_count = 4;
25
+
26
+ // Size of single grid cell along x and y axes, relative to `pose`
27
+ foxglove.Vector2 cell_size = 5;
28
+
29
+ // Number of bytes between rows in `data`
30
+ fixed32 row_stride = 6;
31
+
32
+ // Number of bytes between cells within a row in `data`
33
+ fixed32 cell_stride = 7;
34
+
35
+ // Fields in `data`
36
+ repeated foxglove.PackedElementField fields = 8;
37
+
38
+ // Grid cell data, interpreted using `fields`, in row-major (y-major) order
39
+ bytes data = 9;
40
+ }
@@ -0,0 +1,17 @@
1
+ // Generated from ImageAnnotations by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/CircleAnnotation.proto";
6
+ import "foxglove/PointsAnnotation.proto";
7
+
8
+ package foxglove;
9
+
10
+ // Array of annotations for a 2D image
11
+ message ImageAnnotations {
12
+ // Circle annotations
13
+ repeated foxglove.CircleAnnotation circles = 1;
14
+
15
+ // Points annotations
16
+ repeated foxglove.PointsAnnotation points = 2;
17
+ }
@@ -0,0 +1,32 @@
1
+ // Generated from LaserScan by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Pose.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ package foxglove;
9
+
10
+ // A single scan from a planar laser range-finder
11
+ message LaserScan {
12
+ // Timestamp of scan
13
+ google.protobuf.Timestamp timestamp = 1;
14
+
15
+ // Frame of reference
16
+ string frame_id = 2;
17
+
18
+ // Origin of scan relative to frame of reference; points are positioned in the x-y plane relative to this origin; angles are interpreted as counterclockwise rotations around the z axis with 0 rad being in the +x direction
19
+ foxglove.Pose pose = 3;
20
+
21
+ // Bearing of first point, in radians
22
+ double start_angle = 4;
23
+
24
+ // Bearing of last point, in radians
25
+ double end_angle = 5;
26
+
27
+ // Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
28
+ repeated double ranges = 6;
29
+
30
+ // Intensity of detections
31
+ repeated double intensities = 7;
32
+ }
@@ -0,0 +1,33 @@
1
+ // Generated from LocationFix by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A navigation satellite fix for any Global Navigation Satellite System
8
+ message LocationFix {
9
+ // Type of position covariance
10
+ enum PositionCovarianceType {
11
+ UNKNOWN = 0;
12
+
13
+ APPROXIMATED = 1;
14
+
15
+ DIAGONAL_KNOWN = 2;
16
+
17
+ KNOWN = 3;
18
+ }
19
+ // Latitude in degrees
20
+ double latitude = 1;
21
+
22
+ // Longitude in degrees
23
+ double longitude = 2;
24
+
25
+ // Altitude in meters
26
+ double altitude = 3;
27
+
28
+ // Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order.
29
+ repeated double position_covariance = 4; // length 9
30
+
31
+ // If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
32
+ PositionCovarianceType position_covariance_type = 5;
33
+ }
@@ -0,0 +1,42 @@
1
+ // Generated from Log by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ package foxglove;
8
+
9
+ // A log message
10
+ message Log {
11
+ // Log level
12
+ enum Level {
13
+ UNKNOWN = 0;
14
+
15
+ DEBUG = 1;
16
+
17
+ INFO = 2;
18
+
19
+ WARNING = 3;
20
+
21
+ ERROR = 4;
22
+
23
+ FATAL = 5;
24
+ }
25
+ // Timestamp of log message
26
+ google.protobuf.Timestamp timestamp = 1;
27
+
28
+ // Log level
29
+ Level level = 2;
30
+
31
+ // Log message
32
+ string message = 3;
33
+
34
+ // Process or node name
35
+ string name = 4;
36
+
37
+ // Filename
38
+ string file = 5;
39
+
40
+ // Line number in the file
41
+ fixed32 line = 6;
42
+ }
@@ -0,0 +1,37 @@
1
+ // Generated from PackedElementField by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // List of fields for every element in a byte array
8
+ message PackedElementField {
9
+ // Numeric type
10
+ enum NumericType {
11
+ UNKNOWN = 0;
12
+
13
+ UINT8 = 1;
14
+
15
+ INT8 = 2;
16
+
17
+ UINT16 = 3;
18
+
19
+ INT16 = 4;
20
+
21
+ UINT32 = 5;
22
+
23
+ INT32 = 6;
24
+
25
+ FLOAT32 = 7;
26
+
27
+ FLOAT64 = 8;
28
+ }
29
+ // Name of the field
30
+ string name = 1;
31
+
32
+ // Byte offset from start of data buffer
33
+ fixed32 offset = 2;
34
+
35
+ // Type of data in the field. Integers are stored using little-endian byte order.
36
+ NumericType type = 3;
37
+ }
@@ -0,0 +1,14 @@
1
+ // Generated from Point2 by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A point representing a position in 2D space
8
+ message Point2 {
9
+ // x coordinate position
10
+ double x = 1;
11
+
12
+ // y coordinate position
13
+ double y = 2;
14
+ }
@@ -0,0 +1,17 @@
1
+ // Generated from Point3 by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A point representing a position in 3D space
8
+ message Point3 {
9
+ // x coordinate position
10
+ double x = 1;
11
+
12
+ // y coordinate position
13
+ double y = 2;
14
+
15
+ // z coordinate position
16
+ double z = 3;
17
+ }
@@ -0,0 +1,30 @@
1
+ // Generated from PointCloud by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/PackedElementField.proto";
6
+ import "foxglove/Pose.proto";
7
+ import "google/protobuf/timestamp.proto";
8
+
9
+ package foxglove;
10
+
11
+ // A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.
12
+ message PointCloud {
13
+ // Timestamp of point cloud
14
+ google.protobuf.Timestamp timestamp = 1;
15
+
16
+ // Frame of reference
17
+ string frame_id = 2;
18
+
19
+ // The origin of the point cloud relative to the frame of reference
20
+ foxglove.Pose pose = 3;
21
+
22
+ // Number of bytes between points in the `data`
23
+ fixed32 point_stride = 4;
24
+
25
+ // Fields in the `data`
26
+ repeated foxglove.PackedElementField fields = 5;
27
+
28
+ // Point data, interpreted using `fields`
29
+ bytes data = 6;
30
+ }
@@ -0,0 +1,39 @@
1
+ // Generated from PointsAnnotation by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Color.proto";
6
+ import "foxglove/Point2.proto";
7
+ import "google/protobuf/timestamp.proto";
8
+
9
+ package foxglove;
10
+
11
+ // An array of points on a 2D image
12
+ message PointsAnnotation {
13
+ // Type of points annotation
14
+ enum Type {
15
+ UNKNOWN = 0;
16
+
17
+ POINTS = 1;
18
+
19
+ LINE_LOOP = 2;
20
+
21
+ LINE_STRIP = 3;
22
+
23
+ LINE_LIST = 4;
24
+ }
25
+ // Timestamp of annotation
26
+ google.protobuf.Timestamp timestamp = 1;
27
+
28
+ // Type of points annotation to draw
29
+ Type type = 2;
30
+
31
+ // Points in 2D image coordinates
32
+ repeated foxglove.Point2 points = 3;
33
+
34
+ // Outline colors
35
+ repeated foxglove.Color outline_colors = 4;
36
+
37
+ // Fill color
38
+ foxglove.Color fill_color = 5;
39
+ }
@@ -0,0 +1,17 @@
1
+ // Generated from Pose by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Quaternion.proto";
6
+ import "foxglove/Vector3.proto";
7
+
8
+ package foxglove;
9
+
10
+ // A position and orientation for an object or reference frame in 3D space
11
+ message Pose {
12
+ // Point denoting position in 3D space
13
+ foxglove.Vector3 position = 1;
14
+
15
+ // Quaternion denoting orientation in 3D space
16
+ foxglove.Quaternion orientation = 2;
17
+ }
@@ -0,0 +1,20 @@
1
+ // Generated from PoseInFrame by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Pose.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ package foxglove;
9
+
10
+ // A timestamped pose for an object or reference frame in 3D space
11
+ message PoseInFrame {
12
+ // Timestamp of pose
13
+ google.protobuf.Timestamp timestamp = 1;
14
+
15
+ // Frame of reference for pose position and orientation
16
+ string frame_id = 2;
17
+
18
+ // Pose in 3D space
19
+ foxglove.Pose pose = 3;
20
+ }
@@ -0,0 +1,20 @@
1
+ // Generated from PosesInFrame by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Pose.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ package foxglove;
9
+
10
+ // An array of timestamped poses for an object or reference frame in 3D space
11
+ message PosesInFrame {
12
+ // Timestamp of pose
13
+ google.protobuf.Timestamp timestamp = 1;
14
+
15
+ // Frame of reference for pose position and orientation
16
+ string frame_id = 2;
17
+
18
+ // Poses in 3D space
19
+ repeated foxglove.Pose poses = 3;
20
+ }
@@ -0,0 +1,20 @@
1
+ // Generated from Quaternion by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space
8
+ message Quaternion {
9
+ // x value
10
+ double x = 1;
11
+
12
+ // y value
13
+ double y = 2;
14
+
15
+ // z value
16
+ double z = 3;
17
+
18
+ // w value
19
+ double w = 4;
20
+ }
@@ -0,0 +1,28 @@
1
+ // Generated from RawImage by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ package foxglove;
8
+
9
+ // A raw image
10
+ message RawImage {
11
+ // Timestamp of image
12
+ google.protobuf.Timestamp timestamp = 1;
13
+
14
+ // Image width
15
+ fixed32 width = 2;
16
+
17
+ // Image height
18
+ fixed32 height = 3;
19
+
20
+ // Encoding of the raw image data
21
+ string encoding = 4;
22
+
23
+ // Byte length of a single row
24
+ fixed32 step = 5;
25
+
26
+ // Raw image data
27
+ bytes data = 6;
28
+ }
@@ -0,0 +1,21 @@
1
+ // Generated from Transform by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ import "foxglove/Quaternion.proto";
6
+ import "foxglove/Vector3.proto";
7
+ import "google/protobuf/timestamp.proto";
8
+
9
+ package foxglove;
10
+
11
+ // A transform in 3D space
12
+ message Transform {
13
+ // Transform time
14
+ google.protobuf.Timestamp timestamp = 1;
15
+
16
+ // Translation component of the transform
17
+ foxglove.Vector3 translation = 2;
18
+
19
+ // Rotation component of the transform
20
+ foxglove.Quaternion rotation = 3;
21
+ }
@@ -0,0 +1,14 @@
1
+ // Generated from Vector2 by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A vector in 2D space that represents a direction only
8
+ message Vector2 {
9
+ // x coordinate length
10
+ double x = 1;
11
+
12
+ // y coordinate length
13
+ double y = 2;
14
+ }
@@ -0,0 +1,17 @@
1
+ // Generated from Vector3 by @foxglove/schemas
2
+
3
+ syntax = "proto3";
4
+
5
+ package foxglove;
6
+
7
+ // A vector in 3D space that represents a direction only
8
+ message Vector3 {
9
+ // x coordinate length
10
+ double x = 1;
11
+
12
+ // y coordinate length
13
+ double y = 2;
14
+
15
+ // z coordinate length
16
+ double z = 3;
17
+ }