@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,61 @@
1
+ # Generated from CameraCalibration by @foxglove/schemas
2
+
3
+ # Timestamp of calibration data
4
+ time timestamp
5
+
6
+ # Image width
7
+ uint32 width
8
+
9
+ # Image height
10
+ uint32 height
11
+
12
+ # Name of distortion model
13
+ string distortion_model
14
+
15
+ # Distortion parameters
16
+ float64[] D
17
+
18
+ # Intrinsic camera matrix (3x3 row-major matrix)
19
+ #
20
+ # A 3x3 row-major matrix for the raw (distorted) image.
21
+ #
22
+ # Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
23
+ #
24
+ # ```
25
+ # [fx 0 cx]
26
+ # K = [ 0 fy cy]
27
+ # [ 0 0 1]
28
+ # ```
29
+ float64[9] K
30
+
31
+ # Rectification matrix (3x3 row-major matrix)
32
+ #
33
+ # A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
34
+ float64[9] R
35
+
36
+ # Projection/camera matrix (3x4 row-major matrix)
37
+ #
38
+ # ```
39
+ # [fx' 0 cx' Tx]
40
+ # P = [ 0 fy' cy' Ty]
41
+ # [ 0 0 1 0]
42
+ # ```
43
+ #
44
+ # 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.
45
+ #
46
+ # 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.
47
+ #
48
+ # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
49
+ #
50
+ # 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.
51
+ #
52
+ # Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
53
+ #
54
+ # ```
55
+ # [u v w]' = P * [X Y Z 1]'
56
+ # x = u / w
57
+ # y = v / w
58
+ # ```
59
+ #
60
+ # This holds for both images of a stereo pair.
61
+ float64[12] P
@@ -0,0 +1,19 @@
1
+ # Generated from CircleAnnotation by @foxglove/schemas
2
+
3
+ # Timestamp of circle
4
+ time timestamp
5
+
6
+ # Center of the circle in 2D image coordinates
7
+ foxglove_msgs/Point2 position
8
+
9
+ # Circle diameter
10
+ float64 diameter
11
+
12
+ # Line thickness
13
+ float64 thickness
14
+
15
+ # Fill color
16
+ foxglove_msgs/Color fill_color
17
+
18
+ # Outline color
19
+ foxglove_msgs/Color outline_color
@@ -0,0 +1,13 @@
1
+ # Generated from Color by @foxglove/schemas
2
+
3
+ # Red value between 0 and 1
4
+ float64 r
5
+
6
+ # Green value between 0 and 1
7
+ float64 g
8
+
9
+ # Blue value between 0 and 1
10
+ float64 b
11
+
12
+ # Alpha value between 0 and 1
13
+ float64 a
@@ -0,0 +1,10 @@
1
+ # Generated from CompressedImage by @foxglove/schemas
2
+
3
+ # Timestamp of image
4
+ time timestamp
5
+
6
+ # Compressed image data
7
+ uint8[] data
8
+
9
+ # Image format
10
+ string format
@@ -0,0 +1,13 @@
1
+ # Generated from FrameTransform by @foxglove/schemas
2
+
3
+ # Timestamp of transform
4
+ time timestamp
5
+
6
+ # Name of the parent frame
7
+ string parent_frame_id
8
+
9
+ # Name of the child frame
10
+ string child_frame_id
11
+
12
+ # Transform from parent frame to child frame
13
+ foxglove_msgs/Transform transform
@@ -0,0 +1,4 @@
1
+ # Generated from GeoJSON by @foxglove/schemas
2
+
3
+ # GeoJSON data encoded as a UTF-8 string
4
+ string geojson
@@ -0,0 +1,28 @@
1
+ # Generated from Grid by @foxglove/schemas
2
+
3
+ # Timestamp of grid
4
+ time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
10
+ geometry_msgs/Pose pose
11
+
12
+ # Number of grid columns
13
+ uint32 column_count
14
+
15
+ # Size of single grid cell along x and y axes, relative to `pose`
16
+ foxglove_msgs/Vector2 cell_size
17
+
18
+ # Number of bytes between rows in `data`
19
+ uint32 row_stride
20
+
21
+ # Number of bytes between cells within a row in `data`
22
+ uint32 cell_stride
23
+
24
+ # Fields in `data`
25
+ foxglove_msgs/PackedElementField[] fields
26
+
27
+ # Grid cell data, interpreted using `fields`, in row-major (y-major) order
28
+ uint8[] data
@@ -0,0 +1,7 @@
1
+ # Generated from ImageAnnotations by @foxglove/schemas
2
+
3
+ # Circle annotations
4
+ foxglove_msgs/CircleAnnotation[] circles
5
+
6
+ # Points annotations
7
+ foxglove_msgs/PointsAnnotation[] points
@@ -0,0 +1,22 @@
1
+ # Generated from LaserScan by @foxglove/schemas
2
+
3
+ # Timestamp of scan
4
+ time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # 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
10
+ geometry_msgs/Pose pose
11
+
12
+ # Bearing of first point, in radians
13
+ float64 start_angle
14
+
15
+ # Bearing of last point, in radians
16
+ float64 end_angle
17
+
18
+ # Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
19
+ float64[] ranges
20
+
21
+ # Intensity of detections
22
+ float64[] intensities
@@ -0,0 +1,21 @@
1
+ # Generated from LocationFix by @foxglove/schemas
2
+
3
+ # Latitude in degrees
4
+ float64 latitude
5
+
6
+ # Longitude in degrees
7
+ float64 longitude
8
+
9
+ # Altitude in meters
10
+ float64 altitude
11
+
12
+ # 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.
13
+ float64[9] position_covariance
14
+
15
+ uint8 UNKNOWN=0
16
+ uint8 APPROXIMATED=1
17
+ uint8 DIAGONAL_KNOWN=2
18
+ uint8 KNOWN=3
19
+
20
+ # If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
21
+ uint8 position_covariance_type
@@ -0,0 +1,26 @@
1
+ # Generated from Log by @foxglove/schemas
2
+
3
+ # Timestamp of log message
4
+ time timestamp
5
+
6
+ uint8 UNKNOWN=0
7
+ uint8 DEBUG=1
8
+ uint8 INFO=2
9
+ uint8 WARNING=3
10
+ uint8 ERROR=4
11
+ uint8 FATAL=5
12
+
13
+ # Log level
14
+ uint8 level
15
+
16
+ # Log message
17
+ string message
18
+
19
+ # Process or node name
20
+ string name
21
+
22
+ # Filename
23
+ string file
24
+
25
+ # Line number in the file
26
+ uint32 line
@@ -0,0 +1,20 @@
1
+ # Generated from PackedElementField by @foxglove/schemas
2
+
3
+ # Name of the field
4
+ string name
5
+
6
+ # Byte offset from start of data buffer
7
+ uint32 offset
8
+
9
+ uint8 UNKNOWN=0
10
+ uint8 UINT8=1
11
+ uint8 INT8=2
12
+ uint8 UINT16=3
13
+ uint8 INT16=4
14
+ uint8 UINT32=5
15
+ uint8 INT32=6
16
+ uint8 FLOAT32=7
17
+ uint8 FLOAT64=8
18
+
19
+ # Type of data in the field. Integers are stored using little-endian byte order.
20
+ uint8 type
@@ -0,0 +1,7 @@
1
+ # Generated from Point2 by @foxglove/schemas
2
+
3
+ # x coordinate position
4
+ float64 x
5
+
6
+ # y coordinate position
7
+ float64 y
@@ -0,0 +1,19 @@
1
+ # Generated from PointCloud by @foxglove/schemas
2
+
3
+ # Timestamp of point cloud
4
+ time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # The origin of the point cloud relative to the frame of reference
10
+ geometry_msgs/Pose pose
11
+
12
+ # Number of bytes between points in the `data`
13
+ uint32 point_stride
14
+
15
+ # Fields in the `data`
16
+ foxglove_msgs/PackedElementField[] fields
17
+
18
+ # Point data, interpreted using `fields`
19
+ uint8[] data
@@ -0,0 +1,22 @@
1
+ # Generated from PointsAnnotation by @foxglove/schemas
2
+
3
+ # Timestamp of annotation
4
+ time timestamp
5
+
6
+ uint8 UNKNOWN=0
7
+ uint8 POINTS=1
8
+ uint8 LINE_LOOP=2
9
+ uint8 LINE_STRIP=3
10
+ uint8 LINE_LIST=4
11
+
12
+ # Type of points annotation to draw
13
+ uint8 type
14
+
15
+ # Points in 2D image coordinates
16
+ foxglove_msgs/Point2[] points
17
+
18
+ # Outline colors
19
+ foxglove_msgs/Color[] outline_colors
20
+
21
+ # Fill color
22
+ foxglove_msgs/Color fill_color
@@ -0,0 +1,10 @@
1
+ # Generated from PoseInFrame by @foxglove/schemas
2
+
3
+ # Timestamp of pose
4
+ time timestamp
5
+
6
+ # Frame of reference for pose position and orientation
7
+ string frame_id
8
+
9
+ # Pose in 3D space
10
+ geometry_msgs/Pose pose
@@ -0,0 +1,10 @@
1
+ # Generated from PosesInFrame by @foxglove/schemas
2
+
3
+ # Timestamp of pose
4
+ time timestamp
5
+
6
+ # Frame of reference for pose position and orientation
7
+ string frame_id
8
+
9
+ # Poses in 3D space
10
+ geometry_msgs/Pose[] poses
@@ -0,0 +1,19 @@
1
+ # Generated from RawImage by @foxglove/schemas
2
+
3
+ # Timestamp of image
4
+ time timestamp
5
+
6
+ # Image width
7
+ uint32 width
8
+
9
+ # Image height
10
+ uint32 height
11
+
12
+ # Encoding of the raw image data
13
+ string encoding
14
+
15
+ # Byte length of a single row
16
+ uint32 step
17
+
18
+ # Raw image data
19
+ uint8[] data
@@ -0,0 +1,10 @@
1
+ # Generated from Transform by @foxglove/schemas
2
+
3
+ # Transform time
4
+ time timestamp
5
+
6
+ # Translation component of the transform
7
+ geometry_msgs/Vector3 translation
8
+
9
+ # Rotation component of the transform
10
+ geometry_msgs/Quaternion rotation
@@ -0,0 +1,7 @@
1
+ # Generated from Vector2 by @foxglove/schemas
2
+
3
+ # x coordinate length
4
+ float64 x
5
+
6
+ # y coordinate length
7
+ float64 y
@@ -0,0 +1,61 @@
1
+ # Generated from CameraCalibration by @foxglove/schemas
2
+
3
+ # Timestamp of calibration data
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Image width
7
+ uint32 width
8
+
9
+ # Image height
10
+ uint32 height
11
+
12
+ # Name of distortion model
13
+ string distortion_model
14
+
15
+ # Distortion parameters
16
+ float64[] d
17
+
18
+ # Intrinsic camera matrix (3x3 row-major matrix)
19
+ #
20
+ # A 3x3 row-major matrix for the raw (distorted) image.
21
+ #
22
+ # Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
23
+ #
24
+ # ```
25
+ # [fx 0 cx]
26
+ # K = [ 0 fy cy]
27
+ # [ 0 0 1]
28
+ # ```
29
+ float64[9] k
30
+
31
+ # Rectification matrix (3x3 row-major matrix)
32
+ #
33
+ # A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
34
+ float64[9] r
35
+
36
+ # Projection/camera matrix (3x4 row-major matrix)
37
+ #
38
+ # ```
39
+ # [fx' 0 cx' Tx]
40
+ # P = [ 0 fy' cy' Ty]
41
+ # [ 0 0 1 0]
42
+ # ```
43
+ #
44
+ # 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.
45
+ #
46
+ # 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.
47
+ #
48
+ # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
49
+ #
50
+ # 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.
51
+ #
52
+ # Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
53
+ #
54
+ # ```
55
+ # [u v w]' = P * [X Y Z 1]'
56
+ # x = u / w
57
+ # y = v / w
58
+ # ```
59
+ #
60
+ # This holds for both images of a stereo pair.
61
+ float64[12] p
@@ -0,0 +1,19 @@
1
+ # Generated from CircleAnnotation by @foxglove/schemas
2
+
3
+ # Timestamp of circle
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Center of the circle in 2D image coordinates
7
+ foxglove_msgs/Point2 position
8
+
9
+ # Circle diameter
10
+ float64 diameter
11
+
12
+ # Line thickness
13
+ float64 thickness
14
+
15
+ # Fill color
16
+ foxglove_msgs/Color fill_color
17
+
18
+ # Outline color
19
+ foxglove_msgs/Color outline_color
@@ -0,0 +1,13 @@
1
+ # Generated from Color by @foxglove/schemas
2
+
3
+ # Red value between 0 and 1
4
+ float64 r
5
+
6
+ # Green value between 0 and 1
7
+ float64 g
8
+
9
+ # Blue value between 0 and 1
10
+ float64 b
11
+
12
+ # Alpha value between 0 and 1
13
+ float64 a
@@ -0,0 +1,10 @@
1
+ # Generated from CompressedImage by @foxglove/schemas
2
+
3
+ # Timestamp of image
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Compressed image data
7
+ uint8[] data
8
+
9
+ # Image format
10
+ string format
@@ -0,0 +1,13 @@
1
+ # Generated from FrameTransform by @foxglove/schemas
2
+
3
+ # Timestamp of transform
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Name of the parent frame
7
+ string parent_frame_id
8
+
9
+ # Name of the child frame
10
+ string child_frame_id
11
+
12
+ # Transform from parent frame to child frame
13
+ foxglove_msgs/Transform transform
@@ -0,0 +1,4 @@
1
+ # Generated from GeoJSON by @foxglove/schemas
2
+
3
+ # GeoJSON data encoded as a UTF-8 string
4
+ string geojson
@@ -0,0 +1,28 @@
1
+ # Generated from Grid by @foxglove/schemas
2
+
3
+ # Timestamp of grid
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
10
+ geometry_msgs/Pose pose
11
+
12
+ # Number of grid columns
13
+ uint32 column_count
14
+
15
+ # Size of single grid cell along x and y axes, relative to `pose`
16
+ foxglove_msgs/Vector2 cell_size
17
+
18
+ # Number of bytes between rows in `data`
19
+ uint32 row_stride
20
+
21
+ # Number of bytes between cells within a row in `data`
22
+ uint32 cell_stride
23
+
24
+ # Fields in `data`
25
+ foxglove_msgs/PackedElementField[] fields
26
+
27
+ # Grid cell data, interpreted using `fields`, in row-major (y-major) order
28
+ uint8[] data
@@ -0,0 +1,7 @@
1
+ # Generated from ImageAnnotations by @foxglove/schemas
2
+
3
+ # Circle annotations
4
+ foxglove_msgs/CircleAnnotation[] circles
5
+
6
+ # Points annotations
7
+ foxglove_msgs/PointsAnnotation[] points
@@ -0,0 +1,22 @@
1
+ # Generated from LaserScan by @foxglove/schemas
2
+
3
+ # Timestamp of scan
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # 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
10
+ geometry_msgs/Pose pose
11
+
12
+ # Bearing of first point, in radians
13
+ float64 start_angle
14
+
15
+ # Bearing of last point, in radians
16
+ float64 end_angle
17
+
18
+ # Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
19
+ float64[] ranges
20
+
21
+ # Intensity of detections
22
+ float64[] intensities
@@ -0,0 +1,21 @@
1
+ # Generated from LocationFix by @foxglove/schemas
2
+
3
+ # Latitude in degrees
4
+ float64 latitude
5
+
6
+ # Longitude in degrees
7
+ float64 longitude
8
+
9
+ # Altitude in meters
10
+ float64 altitude
11
+
12
+ # 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.
13
+ float64[9] position_covariance
14
+
15
+ uint8 UNKNOWN=0
16
+ uint8 APPROXIMATED=1
17
+ uint8 DIAGONAL_KNOWN=2
18
+ uint8 KNOWN=3
19
+
20
+ # If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
21
+ uint8 position_covariance_type
@@ -0,0 +1,26 @@
1
+ # Generated from Log by @foxglove/schemas
2
+
3
+ # Timestamp of log message
4
+ builtin_interfaces/Time timestamp
5
+
6
+ uint8 UNKNOWN=0
7
+ uint8 DEBUG=1
8
+ uint8 INFO=2
9
+ uint8 WARNING=3
10
+ uint8 ERROR=4
11
+ uint8 FATAL=5
12
+
13
+ # Log level
14
+ uint8 level
15
+
16
+ # Log message
17
+ string message
18
+
19
+ # Process or node name
20
+ string name
21
+
22
+ # Filename
23
+ string file
24
+
25
+ # Line number in the file
26
+ uint32 line
@@ -0,0 +1,20 @@
1
+ # Generated from PackedElementField by @foxglove/schemas
2
+
3
+ # Name of the field
4
+ string name
5
+
6
+ # Byte offset from start of data buffer
7
+ uint32 offset
8
+
9
+ uint8 UNKNOWN=0
10
+ uint8 UINT8=1
11
+ uint8 INT8=2
12
+ uint8 UINT16=3
13
+ uint8 INT16=4
14
+ uint8 UINT32=5
15
+ uint8 INT32=6
16
+ uint8 FLOAT32=7
17
+ uint8 FLOAT64=8
18
+
19
+ # Type of data in the field. Integers are stored using little-endian byte order.
20
+ uint8 type
@@ -0,0 +1,7 @@
1
+ # Generated from Point2 by @foxglove/schemas
2
+
3
+ # x coordinate position
4
+ float64 x
5
+
6
+ # y coordinate position
7
+ float64 y
@@ -0,0 +1,19 @@
1
+ # Generated from PointCloud by @foxglove/schemas
2
+
3
+ # Timestamp of point cloud
4
+ builtin_interfaces/Time timestamp
5
+
6
+ # Frame of reference
7
+ string frame_id
8
+
9
+ # The origin of the point cloud relative to the frame of reference
10
+ geometry_msgs/Pose pose
11
+
12
+ # Number of bytes between points in the `data`
13
+ uint32 point_stride
14
+
15
+ # Fields in the `data`
16
+ foxglove_msgs/PackedElementField[] fields
17
+
18
+ # Point data, interpreted using `fields`
19
+ uint8[] data