@foxglove/schemas 0.1.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/.github/workflows/ci.yml +7 -1
  2. package/README.md +45 -4
  3. package/dist/cjs/schemas/typescript/CameraCalibration.js +1 -1
  4. package/dist/cjs/schemas/typescript/CameraCalibration.js.map +1 -1
  5. package/dist/cjs/schemas/typescript/CircleAnnotation.js +1 -1
  6. package/dist/cjs/schemas/typescript/CircleAnnotation.js.map +1 -1
  7. package/dist/cjs/schemas/typescript/Color.js +1 -1
  8. package/dist/cjs/schemas/typescript/Color.js.map +1 -1
  9. package/dist/cjs/schemas/typescript/CompressedImage.js +1 -1
  10. package/dist/cjs/schemas/typescript/CompressedImage.js.map +1 -1
  11. package/dist/cjs/schemas/typescript/FrameTransform.d.ts +6 -3
  12. package/dist/cjs/schemas/typescript/FrameTransform.d.ts.map +1 -1
  13. package/dist/cjs/schemas/typescript/FrameTransform.js +1 -1
  14. package/dist/cjs/schemas/typescript/FrameTransform.js.map +1 -1
  15. package/dist/cjs/schemas/typescript/GeoJSON.js +1 -1
  16. package/dist/cjs/schemas/typescript/GeoJSON.js.map +1 -1
  17. package/dist/cjs/schemas/typescript/Grid.js +1 -1
  18. package/dist/cjs/schemas/typescript/Grid.js.map +1 -1
  19. package/dist/cjs/schemas/typescript/ImageAnnotations.js +1 -1
  20. package/dist/cjs/schemas/typescript/ImageAnnotations.js.map +1 -1
  21. package/dist/cjs/schemas/typescript/LaserScan.js +1 -1
  22. package/dist/cjs/schemas/typescript/LaserScan.js.map +1 -1
  23. package/dist/cjs/schemas/typescript/LocationFix.js +1 -1
  24. package/dist/cjs/schemas/typescript/LocationFix.js.map +1 -1
  25. package/dist/cjs/schemas/typescript/Log.js +1 -1
  26. package/dist/cjs/schemas/typescript/Log.js.map +1 -1
  27. package/dist/cjs/schemas/typescript/LogLevel.js +1 -1
  28. package/dist/cjs/schemas/typescript/LogLevel.js.map +1 -1
  29. package/dist/cjs/schemas/typescript/NumericType.js +1 -1
  30. package/dist/cjs/schemas/typescript/NumericType.js.map +1 -1
  31. package/dist/cjs/schemas/typescript/PackedElementField.d.ts +1 -1
  32. package/dist/cjs/schemas/typescript/PackedElementField.d.ts.map +1 -1
  33. package/dist/cjs/schemas/typescript/PackedElementField.js +1 -1
  34. package/dist/cjs/schemas/typescript/PackedElementField.js.map +1 -1
  35. package/dist/cjs/schemas/typescript/Point2.js +1 -1
  36. package/dist/cjs/schemas/typescript/Point2.js.map +1 -1
  37. package/dist/cjs/schemas/typescript/Point3.js +1 -1
  38. package/dist/cjs/schemas/typescript/Point3.js.map +1 -1
  39. package/dist/cjs/schemas/typescript/PointCloud.js +1 -1
  40. package/dist/cjs/schemas/typescript/PointCloud.js.map +1 -1
  41. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +5 -1
  42. package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  43. package/dist/cjs/schemas/typescript/PointsAnnotation.js +1 -1
  44. package/dist/cjs/schemas/typescript/PointsAnnotation.js.map +1 -1
  45. package/dist/cjs/schemas/typescript/PointsAnnotationType.js +1 -1
  46. package/dist/cjs/schemas/typescript/PointsAnnotationType.js.map +1 -1
  47. package/dist/cjs/schemas/typescript/Pose.js +1 -1
  48. package/dist/cjs/schemas/typescript/Pose.js.map +1 -1
  49. package/dist/cjs/schemas/typescript/PoseInFrame.js +1 -1
  50. package/dist/cjs/schemas/typescript/PoseInFrame.js.map +1 -1
  51. package/dist/cjs/schemas/typescript/PosesInFrame.js +1 -1
  52. package/dist/cjs/schemas/typescript/PositionCovarianceType.js +1 -1
  53. package/dist/cjs/schemas/typescript/PositionCovarianceType.js.map +1 -1
  54. package/dist/cjs/schemas/typescript/Quaternion.js +1 -1
  55. package/dist/cjs/schemas/typescript/Quaternion.js.map +1 -1
  56. package/dist/cjs/schemas/typescript/RawImage.js +1 -1
  57. package/dist/cjs/schemas/typescript/RawImage.js.map +1 -1
  58. package/dist/cjs/schemas/typescript/Vector2.js +1 -1
  59. package/dist/cjs/schemas/typescript/Vector2.js.map +1 -1
  60. package/dist/cjs/schemas/typescript/Vector3.js +1 -1
  61. package/dist/cjs/schemas/typescript/Vector3.js.map +1 -1
  62. package/dist/cjs/schemas/typescript/index.d.ts +0 -1
  63. package/dist/cjs/schemas/typescript/index.d.ts.map +1 -1
  64. package/dist/cjs/schemas/typescript/index.js +0 -1
  65. package/dist/cjs/schemas/typescript/index.js.map +1 -1
  66. package/dist/cjs/scripts/updateGeneratedFiles.js +17 -4
  67. package/dist/cjs/scripts/updateGeneratedFiles.js.map +1 -1
  68. package/dist/cjs/src/generateJsonSchema.d.ts.map +1 -1
  69. package/dist/cjs/src/generateJsonSchema.js +4 -3
  70. package/dist/cjs/src/generateJsonSchema.js.map +1 -1
  71. package/dist/cjs/src/generateJsonSchema.test.js +6 -8
  72. package/dist/cjs/src/generateJsonSchema.test.js.map +1 -1
  73. package/dist/cjs/src/generateMarkdown.d.ts +3 -0
  74. package/dist/cjs/src/generateMarkdown.d.ts.map +1 -0
  75. package/dist/cjs/src/generateMarkdown.js +80 -0
  76. package/dist/cjs/src/generateMarkdown.js.map +1 -0
  77. package/dist/cjs/src/generateProto.js +1 -1
  78. package/dist/cjs/src/generateProto.js.map +1 -1
  79. package/dist/cjs/src/generateProto.test.js +1 -1
  80. package/dist/cjs/src/generateRos.d.ts +4 -1
  81. package/dist/cjs/src/generateRos.d.ts.map +1 -1
  82. package/dist/cjs/src/generateRos.js +8 -4
  83. package/dist/cjs/src/generateRos.js.map +1 -1
  84. package/dist/cjs/src/generateRos.test.js +463 -7
  85. package/dist/cjs/src/generateRos.test.js.map +1 -1
  86. package/dist/cjs/src/generateTypeScript.js +1 -1
  87. package/dist/cjs/src/generateTypeScript.js.map +1 -1
  88. package/dist/cjs/src/generateTypeScript.test.js +2 -2
  89. package/dist/cjs/src/schemas.d.ts +0 -2
  90. package/dist/cjs/src/schemas.d.ts.map +1 -1
  91. package/dist/cjs/src/schemas.js +23 -31
  92. package/dist/cjs/src/schemas.js.map +1 -1
  93. package/dist/esm/schemas/typescript/CameraCalibration.js +1 -1
  94. package/dist/esm/schemas/typescript/CameraCalibration.js.map +1 -1
  95. package/dist/esm/schemas/typescript/CircleAnnotation.js +1 -1
  96. package/dist/esm/schemas/typescript/CircleAnnotation.js.map +1 -1
  97. package/dist/esm/schemas/typescript/Color.js +1 -1
  98. package/dist/esm/schemas/typescript/Color.js.map +1 -1
  99. package/dist/esm/schemas/typescript/CompressedImage.js +1 -1
  100. package/dist/esm/schemas/typescript/CompressedImage.js.map +1 -1
  101. package/dist/esm/schemas/typescript/FrameTransform.d.ts +6 -3
  102. package/dist/esm/schemas/typescript/FrameTransform.d.ts.map +1 -1
  103. package/dist/esm/schemas/typescript/FrameTransform.js +1 -1
  104. package/dist/esm/schemas/typescript/FrameTransform.js.map +1 -1
  105. package/dist/esm/schemas/typescript/GeoJSON.js +1 -1
  106. package/dist/esm/schemas/typescript/GeoJSON.js.map +1 -1
  107. package/dist/esm/schemas/typescript/Grid.js +1 -1
  108. package/dist/esm/schemas/typescript/Grid.js.map +1 -1
  109. package/dist/esm/schemas/typescript/ImageAnnotations.js +1 -1
  110. package/dist/esm/schemas/typescript/ImageAnnotations.js.map +1 -1
  111. package/dist/esm/schemas/typescript/LaserScan.js +1 -1
  112. package/dist/esm/schemas/typescript/LaserScan.js.map +1 -1
  113. package/dist/esm/schemas/typescript/LocationFix.js +1 -1
  114. package/dist/esm/schemas/typescript/LocationFix.js.map +1 -1
  115. package/dist/esm/schemas/typescript/Log.js +1 -1
  116. package/dist/esm/schemas/typescript/Log.js.map +1 -1
  117. package/dist/esm/schemas/typescript/LogLevel.js +1 -1
  118. package/dist/esm/schemas/typescript/LogLevel.js.map +1 -1
  119. package/dist/esm/schemas/typescript/NumericType.js +1 -1
  120. package/dist/esm/schemas/typescript/NumericType.js.map +1 -1
  121. package/dist/esm/schemas/typescript/PackedElementField.d.ts +1 -1
  122. package/dist/esm/schemas/typescript/PackedElementField.d.ts.map +1 -1
  123. package/dist/esm/schemas/typescript/PackedElementField.js +1 -1
  124. package/dist/esm/schemas/typescript/PackedElementField.js.map +1 -1
  125. package/dist/esm/schemas/typescript/Point2.js +1 -1
  126. package/dist/esm/schemas/typescript/Point2.js.map +1 -1
  127. package/dist/esm/schemas/typescript/Point3.js +1 -1
  128. package/dist/esm/schemas/typescript/Point3.js.map +1 -1
  129. package/dist/esm/schemas/typescript/PointCloud.js +1 -1
  130. package/dist/esm/schemas/typescript/PointCloud.js.map +1 -1
  131. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +5 -1
  132. package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  133. package/dist/esm/schemas/typescript/PointsAnnotation.js +1 -1
  134. package/dist/esm/schemas/typescript/PointsAnnotation.js.map +1 -1
  135. package/dist/esm/schemas/typescript/PointsAnnotationType.js +1 -1
  136. package/dist/esm/schemas/typescript/PointsAnnotationType.js.map +1 -1
  137. package/dist/esm/schemas/typescript/Pose.js +1 -1
  138. package/dist/esm/schemas/typescript/Pose.js.map +1 -1
  139. package/dist/esm/schemas/typescript/PoseInFrame.js +1 -1
  140. package/dist/esm/schemas/typescript/PoseInFrame.js.map +1 -1
  141. package/dist/esm/schemas/typescript/PosesInFrame.js +1 -1
  142. package/dist/esm/schemas/typescript/PositionCovarianceType.js +1 -1
  143. package/dist/esm/schemas/typescript/PositionCovarianceType.js.map +1 -1
  144. package/dist/esm/schemas/typescript/Quaternion.js +1 -1
  145. package/dist/esm/schemas/typescript/Quaternion.js.map +1 -1
  146. package/dist/esm/schemas/typescript/RawImage.js +1 -1
  147. package/dist/esm/schemas/typescript/RawImage.js.map +1 -1
  148. package/dist/esm/schemas/typescript/Vector2.js +1 -1
  149. package/dist/esm/schemas/typescript/Vector2.js.map +1 -1
  150. package/dist/esm/schemas/typescript/Vector3.js +1 -1
  151. package/dist/esm/schemas/typescript/Vector3.js.map +1 -1
  152. package/dist/esm/schemas/typescript/index.d.ts +0 -1
  153. package/dist/esm/schemas/typescript/index.d.ts.map +1 -1
  154. package/dist/esm/schemas/typescript/index.js +0 -1
  155. package/dist/esm/schemas/typescript/index.js.map +1 -1
  156. package/dist/esm/scripts/updateGeneratedFiles.js +17 -4
  157. package/dist/esm/scripts/updateGeneratedFiles.js.map +1 -1
  158. package/dist/esm/src/generateJsonSchema.d.ts.map +1 -1
  159. package/dist/esm/src/generateJsonSchema.js +4 -3
  160. package/dist/esm/src/generateJsonSchema.js.map +1 -1
  161. package/dist/esm/src/generateJsonSchema.test.js +6 -8
  162. package/dist/esm/src/generateJsonSchema.test.js.map +1 -1
  163. package/dist/esm/src/generateMarkdown.d.ts +3 -0
  164. package/dist/esm/src/generateMarkdown.d.ts.map +1 -0
  165. package/dist/esm/src/generateMarkdown.js +76 -0
  166. package/dist/esm/src/generateMarkdown.js.map +1 -0
  167. package/dist/esm/src/generateProto.js +1 -1
  168. package/dist/esm/src/generateProto.js.map +1 -1
  169. package/dist/esm/src/generateProto.test.js +1 -1
  170. package/dist/esm/src/generateRos.d.ts +4 -1
  171. package/dist/esm/src/generateRos.d.ts.map +1 -1
  172. package/dist/esm/src/generateRos.js +8 -4
  173. package/dist/esm/src/generateRos.js.map +1 -1
  174. package/dist/esm/src/generateRos.test.js +463 -7
  175. package/dist/esm/src/generateRos.test.js.map +1 -1
  176. package/dist/esm/src/generateTypeScript.js +1 -1
  177. package/dist/esm/src/generateTypeScript.js.map +1 -1
  178. package/dist/esm/src/generateTypeScript.test.js +2 -2
  179. package/dist/esm/src/schemas.d.ts +0 -2
  180. package/dist/esm/src/schemas.d.ts.map +1 -1
  181. package/dist/esm/src/schemas.js +21 -29
  182. package/dist/esm/src/schemas.js.map +1 -1
  183. package/package.json +2 -2
  184. package/schemas/README.md +1711 -0
  185. package/schemas/jsonschema/CameraCalibration.json +2 -2
  186. package/schemas/jsonschema/CircleAnnotation.json +5 -8
  187. package/schemas/jsonschema/Color.json +2 -2
  188. package/schemas/jsonschema/CompressedImage.json +2 -2
  189. package/schemas/jsonschema/FrameTransform.json +37 -63
  190. package/schemas/jsonschema/GeoJSON.json +2 -2
  191. package/schemas/jsonschema/Grid.json +9 -14
  192. package/schemas/jsonschema/ImageAnnotations.json +39 -20
  193. package/schemas/jsonschema/LaserScan.json +5 -8
  194. package/schemas/jsonschema/LocationFix.json +3 -3
  195. package/schemas/jsonschema/Log.json +3 -3
  196. package/schemas/jsonschema/PackedElementField.json +4 -4
  197. package/schemas/jsonschema/Point2.json +2 -2
  198. package/schemas/jsonschema/Point3.json +2 -2
  199. package/schemas/jsonschema/PointCloud.json +8 -12
  200. package/schemas/jsonschema/PointsAnnotation.json +34 -10
  201. package/schemas/jsonschema/Pose.json +4 -6
  202. package/schemas/jsonschema/PoseInFrame.json +5 -8
  203. package/schemas/jsonschema/PosesInFrame.json +5 -8
  204. package/schemas/jsonschema/Quaternion.json +2 -2
  205. package/schemas/jsonschema/RawImage.json +2 -2
  206. package/schemas/jsonschema/Vector2.json +2 -2
  207. package/schemas/jsonschema/Vector3.json +2 -2
  208. package/schemas/proto/foxglove/CameraCalibration.proto +1 -1
  209. package/schemas/proto/foxglove/CircleAnnotation.proto +1 -1
  210. package/schemas/proto/foxglove/Color.proto +1 -1
  211. package/schemas/proto/foxglove/CompressedImage.proto +1 -1
  212. package/schemas/proto/foxglove/FrameTransform.proto +8 -4
  213. package/schemas/proto/foxglove/GeoJSON.proto +1 -1
  214. package/schemas/proto/foxglove/Grid.proto +1 -1
  215. package/schemas/proto/foxglove/ImageAnnotations.proto +1 -1
  216. package/schemas/proto/foxglove/LaserScan.proto +1 -1
  217. package/schemas/proto/foxglove/LocationFix.proto +1 -1
  218. package/schemas/proto/foxglove/Log.proto +1 -1
  219. package/schemas/proto/foxglove/PackedElementField.proto +2 -2
  220. package/schemas/proto/foxglove/Point2.proto +1 -1
  221. package/schemas/proto/foxglove/Point3.proto +1 -1
  222. package/schemas/proto/foxglove/PointCloud.proto +1 -1
  223. package/schemas/proto/foxglove/PointsAnnotation.proto +10 -4
  224. package/schemas/proto/foxglove/Pose.proto +1 -1
  225. package/schemas/proto/foxglove/PoseInFrame.proto +1 -1
  226. package/schemas/proto/foxglove/PosesInFrame.proto +1 -1
  227. package/schemas/proto/foxglove/Quaternion.proto +1 -1
  228. package/schemas/proto/foxglove/RawImage.proto +1 -1
  229. package/schemas/proto/foxglove/Vector2.proto +1 -1
  230. package/schemas/proto/foxglove/Vector3.proto +1 -1
  231. package/schemas/ros1/CameraCalibration.msg +4 -1
  232. package/schemas/ros1/CircleAnnotation.msg +4 -1
  233. package/schemas/ros1/Color.msg +4 -1
  234. package/schemas/ros1/CompressedImage.msg +4 -1
  235. package/schemas/ros1/FrameTransform.msg +9 -3
  236. package/schemas/ros1/GeoJSON.msg +4 -1
  237. package/schemas/ros1/Grid.msg +4 -1
  238. package/schemas/ros1/ImageAnnotations.msg +4 -1
  239. package/schemas/ros1/LaserScan.msg +4 -1
  240. package/schemas/ros1/LocationFix.msg +4 -1
  241. package/schemas/ros1/Log.msg +4 -1
  242. package/schemas/ros1/PackedElementField.msg +4 -1
  243. package/schemas/ros1/Point2.msg +4 -1
  244. package/schemas/ros1/PointCloud.msg +4 -1
  245. package/schemas/ros1/PointsAnnotation.msg +11 -2
  246. package/schemas/ros1/PoseInFrame.msg +4 -1
  247. package/schemas/ros1/PosesInFrame.msg +4 -1
  248. package/schemas/ros1/RawImage.msg +4 -1
  249. package/schemas/ros1/Vector2.msg +4 -1
  250. package/schemas/ros2/CameraCalibration.msg +4 -1
  251. package/schemas/ros2/CircleAnnotation.msg +4 -1
  252. package/schemas/ros2/Color.msg +4 -1
  253. package/schemas/ros2/CompressedImage.msg +4 -1
  254. package/schemas/ros2/FrameTransform.msg +9 -3
  255. package/schemas/ros2/GeoJSON.msg +4 -1
  256. package/schemas/ros2/Grid.msg +4 -1
  257. package/schemas/ros2/ImageAnnotations.msg +4 -1
  258. package/schemas/ros2/LaserScan.msg +4 -1
  259. package/schemas/ros2/LocationFix.msg +4 -1
  260. package/schemas/ros2/Log.msg +4 -1
  261. package/schemas/ros2/PackedElementField.msg +4 -1
  262. package/schemas/ros2/Point2.msg +4 -1
  263. package/schemas/ros2/PointCloud.msg +4 -1
  264. package/schemas/ros2/PointsAnnotation.msg +11 -2
  265. package/schemas/ros2/PoseInFrame.msg +4 -1
  266. package/schemas/ros2/PosesInFrame.msg +4 -1
  267. package/schemas/ros2/RawImage.msg +4 -1
  268. package/schemas/ros2/Vector2.msg +4 -1
  269. package/schemas/typescript/CameraCalibration.ts +1 -1
  270. package/schemas/typescript/CircleAnnotation.ts +1 -1
  271. package/schemas/typescript/Color.ts +1 -1
  272. package/schemas/typescript/CompressedImage.ts +1 -1
  273. package/schemas/typescript/FrameTransform.ts +8 -4
  274. package/schemas/typescript/GeoJSON.ts +1 -1
  275. package/schemas/typescript/Grid.ts +1 -1
  276. package/schemas/typescript/ImageAnnotations.ts +1 -1
  277. package/schemas/typescript/LaserScan.ts +1 -1
  278. package/schemas/typescript/LocationFix.ts +1 -1
  279. package/schemas/typescript/Log.ts +1 -1
  280. package/schemas/typescript/LogLevel.ts +1 -1
  281. package/schemas/typescript/NumericType.ts +1 -1
  282. package/schemas/typescript/PackedElementField.ts +2 -2
  283. package/schemas/typescript/Point2.ts +1 -1
  284. package/schemas/typescript/Point3.ts +1 -1
  285. package/schemas/typescript/PointCloud.ts +1 -1
  286. package/schemas/typescript/PointsAnnotation.ts +8 -2
  287. package/schemas/typescript/PointsAnnotationType.ts +1 -1
  288. package/schemas/typescript/Pose.ts +1 -1
  289. package/schemas/typescript/PoseInFrame.ts +1 -1
  290. package/schemas/typescript/PosesInFrame.ts +1 -1
  291. package/schemas/typescript/PositionCovarianceType.ts +1 -1
  292. package/schemas/typescript/Quaternion.ts +1 -1
  293. package/schemas/typescript/RawImage.ts +1 -1
  294. package/schemas/typescript/Vector2.ts +1 -1
  295. package/schemas/typescript/Vector3.ts +1 -1
  296. package/schemas/typescript/index.ts +0 -1
  297. package/scripts/updateGeneratedFiles.ts +21 -10
  298. package/src/generateJsonSchema.test.ts +6 -8
  299. package/src/generateJsonSchema.ts +4 -3
  300. package/src/generateMarkdown.ts +88 -0
  301. package/src/generateProto.test.ts +1 -1
  302. package/src/generateProto.ts +1 -1
  303. package/src/generateRos.test.ts +464 -7
  304. package/src/generateRos.ts +14 -5
  305. package/src/generateTypeScript.test.ts +2 -2
  306. package/src/generateTypeScript.ts +1 -1
  307. package/src/schemas.ts +22 -30
  308. package/dist/cjs/schemas/typescript/Transform.d.ts +0 -13
  309. package/dist/cjs/schemas/typescript/Transform.d.ts.map +0 -1
  310. package/dist/cjs/schemas/typescript/Transform.js +0 -4
  311. package/dist/cjs/schemas/typescript/Transform.js.map +0 -1
  312. package/dist/esm/schemas/typescript/Transform.d.ts +0 -13
  313. package/dist/esm/schemas/typescript/Transform.d.ts.map +0 -1
  314. package/dist/esm/schemas/typescript/Transform.js +0 -3
  315. package/dist/esm/schemas/typescript/Transform.js.map +0 -1
  316. package/schemas/jsonschema/Transform.json +0 -68
  317. package/schemas/proto/foxglove/Transform.proto +0 -21
  318. package/schemas/ros1/Transform.msg +0 -10
  319. package/schemas/ros2/Transform.msg +0 -10
  320. package/schemas/typescript/Transform.ts +0 -17
@@ -0,0 +1,1711 @@
1
+ # Foxglove schemas
2
+
3
+ See [Foxglove Schemas documentation](https://foxglove.dev/docs/studio/messages).
4
+
5
+ All schemas are generated from [schemas.ts](/src/schemas.ts).
6
+
7
+ ## Contents
8
+
9
+ - [enum LogLevel](#enum-loglevel)
10
+ - [enum NumericType](#enum-numerictype)
11
+ - [enum PointsAnnotationType](#enum-pointsannotationtype)
12
+ - [enum PositionCovarianceType](#enum-positioncovariancetype)
13
+ - [CameraCalibration](#cameracalibration)
14
+ - [CircleAnnotation](#circleannotation)
15
+ - [Color](#color)
16
+ - [CompressedImage](#compressedimage)
17
+ - [FrameTransform](#frametransform)
18
+ - [GeoJSON](#geojson)
19
+ - [Grid](#grid)
20
+ - [ImageAnnotations](#imageannotations)
21
+ - [LaserScan](#laserscan)
22
+ - [LocationFix](#locationfix)
23
+ - [Log](#log)
24
+ - [PackedElementField](#packedelementfield)
25
+ - [Point2](#point2)
26
+ - [Point3](#point3)
27
+ - [PointCloud](#pointcloud)
28
+ - [PointsAnnotation](#pointsannotation)
29
+ - [Pose](#pose)
30
+ - [PoseInFrame](#poseinframe)
31
+ - [PosesInFrame](#posesinframe)
32
+ - [Quaternion](#quaternion)
33
+ - [RawImage](#rawimage)
34
+ - [Vector2](#vector2)
35
+ - [Vector3](#vector3)
36
+
37
+ ----
38
+
39
+ ## enum LogLevel
40
+
41
+ Log level
42
+
43
+ name | value | description
44
+ ---- | ----- | -----------
45
+ `UNKNOWN` | 0 |
46
+ `DEBUG` | 1 |
47
+ `INFO` | 2 |
48
+ `WARNING` | 3 |
49
+ `ERROR` | 4 |
50
+ `FATAL` | 5 |
51
+
52
+
53
+
54
+ ## enum NumericType
55
+
56
+ Numeric type
57
+
58
+ name | value | description
59
+ ---- | ----- | -----------
60
+ `UNKNOWN` | 0 |
61
+ `UINT8` | 1 |
62
+ `INT8` | 2 |
63
+ `UINT16` | 3 |
64
+ `INT16` | 4 |
65
+ `UINT32` | 5 |
66
+ `INT32` | 6 |
67
+ `FLOAT32` | 7 |
68
+ `FLOAT64` | 8 |
69
+
70
+
71
+
72
+ ## enum PointsAnnotationType
73
+
74
+ Type of points annotation
75
+
76
+ name | value | description
77
+ ---- | ----- | -----------
78
+ `UNKNOWN` | 0 |
79
+ `POINTS` | 1 |
80
+ `LINE_LOOP` | 2 |
81
+ `LINE_STRIP` | 3 |
82
+ `LINE_LIST` | 4 |
83
+
84
+
85
+
86
+ ## enum PositionCovarianceType
87
+
88
+ Type of position covariance
89
+
90
+ name | value | description
91
+ ---- | ----- | -----------
92
+ `UNKNOWN` | 0 |
93
+ `APPROXIMATED` | 1 |
94
+ `DIAGONAL_KNOWN` | 2 |
95
+ `KNOWN` | 3 |
96
+
97
+
98
+
99
+ ## CameraCalibration
100
+
101
+ Camera calibration parameters
102
+
103
+ <table>
104
+ <tr>
105
+ <th>field</th>
106
+ <th>type</th>
107
+ <th>description</th>
108
+ </tr>
109
+ <tr>
110
+ <td><code>timestamp</code></td>
111
+ <td>
112
+
113
+ time
114
+
115
+ </td>
116
+ <td>
117
+
118
+ Timestamp of calibration data
119
+
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td><code>width</code></td>
124
+ <td>
125
+
126
+ uint32
127
+
128
+ </td>
129
+ <td>
130
+
131
+ Image width
132
+
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td><code>height</code></td>
137
+ <td>
138
+
139
+ uint32
140
+
141
+ </td>
142
+ <td>
143
+
144
+ Image height
145
+
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td><code>distortion_model</code></td>
150
+ <td>
151
+
152
+ string
153
+
154
+ </td>
155
+ <td>
156
+
157
+ Name of distortion model
158
+
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <td><code>D</code></td>
163
+ <td>
164
+
165
+ float64[]
166
+
167
+ </td>
168
+ <td>
169
+
170
+ Distortion parameters
171
+
172
+ </td>
173
+ </tr>
174
+ <tr>
175
+ <td><code>K</code></td>
176
+ <td>
177
+
178
+ float64[9]
179
+
180
+ </td>
181
+ <td>
182
+
183
+ Intrinsic camera matrix (3x3 row-major matrix)
184
+
185
+ A 3x3 row-major matrix for the raw (distorted) image.
186
+
187
+ Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
188
+
189
+ ```
190
+ [fx 0 cx]
191
+ K = [ 0 fy cy]
192
+ [ 0 0 1]
193
+ ```
194
+
195
+
196
+ </td>
197
+ </tr>
198
+ <tr>
199
+ <td><code>R</code></td>
200
+ <td>
201
+
202
+ float64[9]
203
+
204
+ </td>
205
+ <td>
206
+
207
+ Rectification matrix (3x3 row-major matrix)
208
+
209
+ A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
210
+
211
+ </td>
212
+ </tr>
213
+ <tr>
214
+ <td><code>P</code></td>
215
+ <td>
216
+
217
+ float64[12]
218
+
219
+ </td>
220
+ <td>
221
+
222
+ Projection/camera matrix (3x4 row-major matrix)
223
+
224
+ ```
225
+ [fx' 0 cx' Tx]
226
+ P = [ 0 fy' cy' Ty]
227
+ [ 0 0 1 0]
228
+ ```
229
+
230
+ 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.
231
+
232
+ 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.
233
+
234
+ For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
235
+
236
+ 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.
237
+
238
+ Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
239
+
240
+ ```
241
+ [u v w]' = P * [X Y Z 1]'
242
+ x = u / w
243
+ y = v / w
244
+ ```
245
+
246
+ This holds for both images of a stereo pair.
247
+
248
+
249
+ </td>
250
+ </tr>
251
+ </table>
252
+
253
+ ## CircleAnnotation
254
+
255
+ A circle annotation on a 2D image
256
+
257
+ <table>
258
+ <tr>
259
+ <th>field</th>
260
+ <th>type</th>
261
+ <th>description</th>
262
+ </tr>
263
+ <tr>
264
+ <td><code>timestamp</code></td>
265
+ <td>
266
+
267
+ time
268
+
269
+ </td>
270
+ <td>
271
+
272
+ Timestamp of circle
273
+
274
+ </td>
275
+ </tr>
276
+ <tr>
277
+ <td><code>position</code></td>
278
+ <td>
279
+
280
+ [Point2](#point2)
281
+
282
+ </td>
283
+ <td>
284
+
285
+ Center of the circle in 2D image coordinates
286
+
287
+ </td>
288
+ </tr>
289
+ <tr>
290
+ <td><code>diameter</code></td>
291
+ <td>
292
+
293
+ float64
294
+
295
+ </td>
296
+ <td>
297
+
298
+ Circle diameter
299
+
300
+ </td>
301
+ </tr>
302
+ <tr>
303
+ <td><code>thickness</code></td>
304
+ <td>
305
+
306
+ float64
307
+
308
+ </td>
309
+ <td>
310
+
311
+ Line thickness
312
+
313
+ </td>
314
+ </tr>
315
+ <tr>
316
+ <td><code>fill_color</code></td>
317
+ <td>
318
+
319
+ [Color](#color)
320
+
321
+ </td>
322
+ <td>
323
+
324
+ Fill color
325
+
326
+ </td>
327
+ </tr>
328
+ <tr>
329
+ <td><code>outline_color</code></td>
330
+ <td>
331
+
332
+ [Color](#color)
333
+
334
+ </td>
335
+ <td>
336
+
337
+ Outline color
338
+
339
+ </td>
340
+ </tr>
341
+ </table>
342
+
343
+ ## Color
344
+
345
+ A color in RGBA format
346
+
347
+ <table>
348
+ <tr>
349
+ <th>field</th>
350
+ <th>type</th>
351
+ <th>description</th>
352
+ </tr>
353
+ <tr>
354
+ <td><code>r</code></td>
355
+ <td>
356
+
357
+ float64
358
+
359
+ </td>
360
+ <td>
361
+
362
+ Red value between 0 and 1
363
+
364
+ </td>
365
+ </tr>
366
+ <tr>
367
+ <td><code>g</code></td>
368
+ <td>
369
+
370
+ float64
371
+
372
+ </td>
373
+ <td>
374
+
375
+ Green value between 0 and 1
376
+
377
+ </td>
378
+ </tr>
379
+ <tr>
380
+ <td><code>b</code></td>
381
+ <td>
382
+
383
+ float64
384
+
385
+ </td>
386
+ <td>
387
+
388
+ Blue value between 0 and 1
389
+
390
+ </td>
391
+ </tr>
392
+ <tr>
393
+ <td><code>a</code></td>
394
+ <td>
395
+
396
+ float64
397
+
398
+ </td>
399
+ <td>
400
+
401
+ Alpha value between 0 and 1
402
+
403
+ </td>
404
+ </tr>
405
+ </table>
406
+
407
+ ## CompressedImage
408
+
409
+ A compressed image
410
+
411
+ <table>
412
+ <tr>
413
+ <th>field</th>
414
+ <th>type</th>
415
+ <th>description</th>
416
+ </tr>
417
+ <tr>
418
+ <td><code>timestamp</code></td>
419
+ <td>
420
+
421
+ time
422
+
423
+ </td>
424
+ <td>
425
+
426
+ Timestamp of image
427
+
428
+ </td>
429
+ </tr>
430
+ <tr>
431
+ <td><code>data</code></td>
432
+ <td>
433
+
434
+ bytes
435
+
436
+ </td>
437
+ <td>
438
+
439
+ Compressed image data
440
+
441
+ </td>
442
+ </tr>
443
+ <tr>
444
+ <td><code>format</code></td>
445
+ <td>
446
+
447
+ string
448
+
449
+ </td>
450
+ <td>
451
+
452
+ Image format
453
+
454
+ </td>
455
+ </tr>
456
+ </table>
457
+
458
+ ## FrameTransform
459
+
460
+ A transform between two reference frames in 3D space
461
+
462
+ <table>
463
+ <tr>
464
+ <th>field</th>
465
+ <th>type</th>
466
+ <th>description</th>
467
+ </tr>
468
+ <tr>
469
+ <td><code>timestamp</code></td>
470
+ <td>
471
+
472
+ time
473
+
474
+ </td>
475
+ <td>
476
+
477
+ Timestamp of transform
478
+
479
+ </td>
480
+ </tr>
481
+ <tr>
482
+ <td><code>parent_frame_id</code></td>
483
+ <td>
484
+
485
+ string
486
+
487
+ </td>
488
+ <td>
489
+
490
+ Name of the parent frame
491
+
492
+ </td>
493
+ </tr>
494
+ <tr>
495
+ <td><code>child_frame_id</code></td>
496
+ <td>
497
+
498
+ string
499
+
500
+ </td>
501
+ <td>
502
+
503
+ Name of the child frame
504
+
505
+ </td>
506
+ </tr>
507
+ <tr>
508
+ <td><code>translation</code></td>
509
+ <td>
510
+
511
+ [Vector3](#vector3)
512
+
513
+ </td>
514
+ <td>
515
+
516
+ Translation component of the transform
517
+
518
+ </td>
519
+ </tr>
520
+ <tr>
521
+ <td><code>rotation</code></td>
522
+ <td>
523
+
524
+ [Quaternion](#quaternion)
525
+
526
+ </td>
527
+ <td>
528
+
529
+ Rotation component of the transform
530
+
531
+ </td>
532
+ </tr>
533
+ </table>
534
+
535
+ ## GeoJSON
536
+
537
+ GeoJSON data for annotating maps
538
+
539
+ <table>
540
+ <tr>
541
+ <th>field</th>
542
+ <th>type</th>
543
+ <th>description</th>
544
+ </tr>
545
+ <tr>
546
+ <td><code>geojson</code></td>
547
+ <td>
548
+
549
+ string
550
+
551
+ </td>
552
+ <td>
553
+
554
+ GeoJSON data encoded as a UTF-8 string
555
+
556
+ </td>
557
+ </tr>
558
+ </table>
559
+
560
+ ## Grid
561
+
562
+ A 2D grid of data
563
+
564
+ <table>
565
+ <tr>
566
+ <th>field</th>
567
+ <th>type</th>
568
+ <th>description</th>
569
+ </tr>
570
+ <tr>
571
+ <td><code>timestamp</code></td>
572
+ <td>
573
+
574
+ time
575
+
576
+ </td>
577
+ <td>
578
+
579
+ Timestamp of grid
580
+
581
+ </td>
582
+ </tr>
583
+ <tr>
584
+ <td><code>frame_id</code></td>
585
+ <td>
586
+
587
+ string
588
+
589
+ </td>
590
+ <td>
591
+
592
+ Frame of reference
593
+
594
+ </td>
595
+ </tr>
596
+ <tr>
597
+ <td><code>pose</code></td>
598
+ <td>
599
+
600
+ [Pose](#pose)
601
+
602
+ </td>
603
+ <td>
604
+
605
+ Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
606
+
607
+ </td>
608
+ </tr>
609
+ <tr>
610
+ <td><code>column_count</code></td>
611
+ <td>
612
+
613
+ uint32
614
+
615
+ </td>
616
+ <td>
617
+
618
+ Number of grid columns
619
+
620
+ </td>
621
+ </tr>
622
+ <tr>
623
+ <td><code>cell_size</code></td>
624
+ <td>
625
+
626
+ [Vector2](#vector2)
627
+
628
+ </td>
629
+ <td>
630
+
631
+ Size of single grid cell along x and y axes, relative to `pose`
632
+
633
+ </td>
634
+ </tr>
635
+ <tr>
636
+ <td><code>row_stride</code></td>
637
+ <td>
638
+
639
+ uint32
640
+
641
+ </td>
642
+ <td>
643
+
644
+ Number of bytes between rows in `data`
645
+
646
+ </td>
647
+ </tr>
648
+ <tr>
649
+ <td><code>cell_stride</code></td>
650
+ <td>
651
+
652
+ uint32
653
+
654
+ </td>
655
+ <td>
656
+
657
+ Number of bytes between cells within a row in `data`
658
+
659
+ </td>
660
+ </tr>
661
+ <tr>
662
+ <td><code>fields</code></td>
663
+ <td>
664
+
665
+ [PackedElementField](#packedelementfield)[]
666
+
667
+ </td>
668
+ <td>
669
+
670
+ Fields in `data`
671
+
672
+ </td>
673
+ </tr>
674
+ <tr>
675
+ <td><code>data</code></td>
676
+ <td>
677
+
678
+ bytes
679
+
680
+ </td>
681
+ <td>
682
+
683
+ Grid cell data, interpreted using `fields`, in row-major (y-major) order
684
+
685
+ </td>
686
+ </tr>
687
+ </table>
688
+
689
+ ## ImageAnnotations
690
+
691
+ Array of annotations for a 2D image
692
+
693
+ <table>
694
+ <tr>
695
+ <th>field</th>
696
+ <th>type</th>
697
+ <th>description</th>
698
+ </tr>
699
+ <tr>
700
+ <td><code>circles</code></td>
701
+ <td>
702
+
703
+ [CircleAnnotation](#circleannotation)[]
704
+
705
+ </td>
706
+ <td>
707
+
708
+ Circle annotations
709
+
710
+ </td>
711
+ </tr>
712
+ <tr>
713
+ <td><code>points</code></td>
714
+ <td>
715
+
716
+ [PointsAnnotation](#pointsannotation)[]
717
+
718
+ </td>
719
+ <td>
720
+
721
+ Points annotations
722
+
723
+ </td>
724
+ </tr>
725
+ </table>
726
+
727
+ ## LaserScan
728
+
729
+ A single scan from a planar laser range-finder
730
+
731
+ <table>
732
+ <tr>
733
+ <th>field</th>
734
+ <th>type</th>
735
+ <th>description</th>
736
+ </tr>
737
+ <tr>
738
+ <td><code>timestamp</code></td>
739
+ <td>
740
+
741
+ time
742
+
743
+ </td>
744
+ <td>
745
+
746
+ Timestamp of scan
747
+
748
+ </td>
749
+ </tr>
750
+ <tr>
751
+ <td><code>frame_id</code></td>
752
+ <td>
753
+
754
+ string
755
+
756
+ </td>
757
+ <td>
758
+
759
+ Frame of reference
760
+
761
+ </td>
762
+ </tr>
763
+ <tr>
764
+ <td><code>pose</code></td>
765
+ <td>
766
+
767
+ [Pose](#pose)
768
+
769
+ </td>
770
+ <td>
771
+
772
+ 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
773
+
774
+ </td>
775
+ </tr>
776
+ <tr>
777
+ <td><code>start_angle</code></td>
778
+ <td>
779
+
780
+ float64
781
+
782
+ </td>
783
+ <td>
784
+
785
+ Bearing of first point, in radians
786
+
787
+ </td>
788
+ </tr>
789
+ <tr>
790
+ <td><code>end_angle</code></td>
791
+ <td>
792
+
793
+ float64
794
+
795
+ </td>
796
+ <td>
797
+
798
+ Bearing of last point, in radians
799
+
800
+ </td>
801
+ </tr>
802
+ <tr>
803
+ <td><code>ranges</code></td>
804
+ <td>
805
+
806
+ float64[]
807
+
808
+ </td>
809
+ <td>
810
+
811
+ Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
812
+
813
+ </td>
814
+ </tr>
815
+ <tr>
816
+ <td><code>intensities</code></td>
817
+ <td>
818
+
819
+ float64[]
820
+
821
+ </td>
822
+ <td>
823
+
824
+ Intensity of detections
825
+
826
+ </td>
827
+ </tr>
828
+ </table>
829
+
830
+ ## LocationFix
831
+
832
+ A navigation satellite fix for any Global Navigation Satellite System
833
+
834
+ <table>
835
+ <tr>
836
+ <th>field</th>
837
+ <th>type</th>
838
+ <th>description</th>
839
+ </tr>
840
+ <tr>
841
+ <td><code>latitude</code></td>
842
+ <td>
843
+
844
+ float64
845
+
846
+ </td>
847
+ <td>
848
+
849
+ Latitude in degrees
850
+
851
+ </td>
852
+ </tr>
853
+ <tr>
854
+ <td><code>longitude</code></td>
855
+ <td>
856
+
857
+ float64
858
+
859
+ </td>
860
+ <td>
861
+
862
+ Longitude in degrees
863
+
864
+ </td>
865
+ </tr>
866
+ <tr>
867
+ <td><code>altitude</code></td>
868
+ <td>
869
+
870
+ float64
871
+
872
+ </td>
873
+ <td>
874
+
875
+ Altitude in meters
876
+
877
+ </td>
878
+ </tr>
879
+ <tr>
880
+ <td><code>position_covariance</code></td>
881
+ <td>
882
+
883
+ float64[9]
884
+
885
+ </td>
886
+ <td>
887
+
888
+ 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.
889
+
890
+ </td>
891
+ </tr>
892
+ <tr>
893
+ <td><code>position_covariance_type</code></td>
894
+ <td>
895
+
896
+ [enum PositionCovarianceType](#enum-positioncovariancetype)
897
+
898
+ </td>
899
+ <td>
900
+
901
+ If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
902
+
903
+ </td>
904
+ </tr>
905
+ </table>
906
+
907
+ ## Log
908
+
909
+ A log message
910
+
911
+ <table>
912
+ <tr>
913
+ <th>field</th>
914
+ <th>type</th>
915
+ <th>description</th>
916
+ </tr>
917
+ <tr>
918
+ <td><code>timestamp</code></td>
919
+ <td>
920
+
921
+ time
922
+
923
+ </td>
924
+ <td>
925
+
926
+ Timestamp of log message
927
+
928
+ </td>
929
+ </tr>
930
+ <tr>
931
+ <td><code>level</code></td>
932
+ <td>
933
+
934
+ [enum LogLevel](#enum-loglevel)
935
+
936
+ </td>
937
+ <td>
938
+
939
+ Log level
940
+
941
+ </td>
942
+ </tr>
943
+ <tr>
944
+ <td><code>message</code></td>
945
+ <td>
946
+
947
+ string
948
+
949
+ </td>
950
+ <td>
951
+
952
+ Log message
953
+
954
+ </td>
955
+ </tr>
956
+ <tr>
957
+ <td><code>name</code></td>
958
+ <td>
959
+
960
+ string
961
+
962
+ </td>
963
+ <td>
964
+
965
+ Process or node name
966
+
967
+ </td>
968
+ </tr>
969
+ <tr>
970
+ <td><code>file</code></td>
971
+ <td>
972
+
973
+ string
974
+
975
+ </td>
976
+ <td>
977
+
978
+ Filename
979
+
980
+ </td>
981
+ </tr>
982
+ <tr>
983
+ <td><code>line</code></td>
984
+ <td>
985
+
986
+ uint32
987
+
988
+ </td>
989
+ <td>
990
+
991
+ Line number in the file
992
+
993
+ </td>
994
+ </tr>
995
+ </table>
996
+
997
+ ## PackedElementField
998
+
999
+ A field present within each element in a byte array of packed elements.
1000
+
1001
+ <table>
1002
+ <tr>
1003
+ <th>field</th>
1004
+ <th>type</th>
1005
+ <th>description</th>
1006
+ </tr>
1007
+ <tr>
1008
+ <td><code>name</code></td>
1009
+ <td>
1010
+
1011
+ string
1012
+
1013
+ </td>
1014
+ <td>
1015
+
1016
+ Name of the field
1017
+
1018
+ </td>
1019
+ </tr>
1020
+ <tr>
1021
+ <td><code>offset</code></td>
1022
+ <td>
1023
+
1024
+ uint32
1025
+
1026
+ </td>
1027
+ <td>
1028
+
1029
+ Byte offset from start of data buffer
1030
+
1031
+ </td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td><code>type</code></td>
1035
+ <td>
1036
+
1037
+ [enum NumericType](#enum-numerictype)
1038
+
1039
+ </td>
1040
+ <td>
1041
+
1042
+ Type of data in the field. Integers are stored using little-endian byte order.
1043
+
1044
+ </td>
1045
+ </tr>
1046
+ </table>
1047
+
1048
+ ## Point2
1049
+
1050
+ A point representing a position in 2D space
1051
+
1052
+ <table>
1053
+ <tr>
1054
+ <th>field</th>
1055
+ <th>type</th>
1056
+ <th>description</th>
1057
+ </tr>
1058
+ <tr>
1059
+ <td><code>x</code></td>
1060
+ <td>
1061
+
1062
+ float64
1063
+
1064
+ </td>
1065
+ <td>
1066
+
1067
+ x coordinate position
1068
+
1069
+ </td>
1070
+ </tr>
1071
+ <tr>
1072
+ <td><code>y</code></td>
1073
+ <td>
1074
+
1075
+ float64
1076
+
1077
+ </td>
1078
+ <td>
1079
+
1080
+ y coordinate position
1081
+
1082
+ </td>
1083
+ </tr>
1084
+ </table>
1085
+
1086
+ ## Point3
1087
+
1088
+ A point representing a position in 3D space
1089
+
1090
+ <table>
1091
+ <tr>
1092
+ <th>field</th>
1093
+ <th>type</th>
1094
+ <th>description</th>
1095
+ </tr>
1096
+ <tr>
1097
+ <td><code>x</code></td>
1098
+ <td>
1099
+
1100
+ float64
1101
+
1102
+ </td>
1103
+ <td>
1104
+
1105
+ x coordinate position
1106
+
1107
+ </td>
1108
+ </tr>
1109
+ <tr>
1110
+ <td><code>y</code></td>
1111
+ <td>
1112
+
1113
+ float64
1114
+
1115
+ </td>
1116
+ <td>
1117
+
1118
+ y coordinate position
1119
+
1120
+ </td>
1121
+ </tr>
1122
+ <tr>
1123
+ <td><code>z</code></td>
1124
+ <td>
1125
+
1126
+ float64
1127
+
1128
+ </td>
1129
+ <td>
1130
+
1131
+ z coordinate position
1132
+
1133
+ </td>
1134
+ </tr>
1135
+ </table>
1136
+
1137
+ ## PointCloud
1138
+
1139
+ A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.
1140
+
1141
+ <table>
1142
+ <tr>
1143
+ <th>field</th>
1144
+ <th>type</th>
1145
+ <th>description</th>
1146
+ </tr>
1147
+ <tr>
1148
+ <td><code>timestamp</code></td>
1149
+ <td>
1150
+
1151
+ time
1152
+
1153
+ </td>
1154
+ <td>
1155
+
1156
+ Timestamp of point cloud
1157
+
1158
+ </td>
1159
+ </tr>
1160
+ <tr>
1161
+ <td><code>frame_id</code></td>
1162
+ <td>
1163
+
1164
+ string
1165
+
1166
+ </td>
1167
+ <td>
1168
+
1169
+ Frame of reference
1170
+
1171
+ </td>
1172
+ </tr>
1173
+ <tr>
1174
+ <td><code>pose</code></td>
1175
+ <td>
1176
+
1177
+ [Pose](#pose)
1178
+
1179
+ </td>
1180
+ <td>
1181
+
1182
+ The origin of the point cloud relative to the frame of reference
1183
+
1184
+ </td>
1185
+ </tr>
1186
+ <tr>
1187
+ <td><code>point_stride</code></td>
1188
+ <td>
1189
+
1190
+ uint32
1191
+
1192
+ </td>
1193
+ <td>
1194
+
1195
+ Number of bytes between points in the `data`
1196
+
1197
+ </td>
1198
+ </tr>
1199
+ <tr>
1200
+ <td><code>fields</code></td>
1201
+ <td>
1202
+
1203
+ [PackedElementField](#packedelementfield)[]
1204
+
1205
+ </td>
1206
+ <td>
1207
+
1208
+ Fields in the `data`
1209
+
1210
+ </td>
1211
+ </tr>
1212
+ <tr>
1213
+ <td><code>data</code></td>
1214
+ <td>
1215
+
1216
+ bytes
1217
+
1218
+ </td>
1219
+ <td>
1220
+
1221
+ Point data, interpreted using `fields`
1222
+
1223
+ </td>
1224
+ </tr>
1225
+ </table>
1226
+
1227
+ ## PointsAnnotation
1228
+
1229
+ An array of points on a 2D image
1230
+
1231
+ <table>
1232
+ <tr>
1233
+ <th>field</th>
1234
+ <th>type</th>
1235
+ <th>description</th>
1236
+ </tr>
1237
+ <tr>
1238
+ <td><code>timestamp</code></td>
1239
+ <td>
1240
+
1241
+ time
1242
+
1243
+ </td>
1244
+ <td>
1245
+
1246
+ Timestamp of annotation
1247
+
1248
+ </td>
1249
+ </tr>
1250
+ <tr>
1251
+ <td><code>type</code></td>
1252
+ <td>
1253
+
1254
+ [enum PointsAnnotationType](#enum-pointsannotationtype)
1255
+
1256
+ </td>
1257
+ <td>
1258
+
1259
+ Type of points annotation to draw
1260
+
1261
+ </td>
1262
+ </tr>
1263
+ <tr>
1264
+ <td><code>points</code></td>
1265
+ <td>
1266
+
1267
+ [Point2](#point2)[]
1268
+
1269
+ </td>
1270
+ <td>
1271
+
1272
+ Points in 2D image coordinates
1273
+
1274
+ </td>
1275
+ </tr>
1276
+ <tr>
1277
+ <td><code>outline_color</code></td>
1278
+ <td>
1279
+
1280
+ [Color](#color)
1281
+
1282
+ </td>
1283
+ <td>
1284
+
1285
+ Outline color
1286
+
1287
+ </td>
1288
+ </tr>
1289
+ <tr>
1290
+ <td><code>outline_colors</code></td>
1291
+ <td>
1292
+
1293
+ [Color](#color)[]
1294
+
1295
+ </td>
1296
+ <td>
1297
+
1298
+ Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
1299
+
1300
+ </td>
1301
+ </tr>
1302
+ <tr>
1303
+ <td><code>fill_color</code></td>
1304
+ <td>
1305
+
1306
+ [Color](#color)
1307
+
1308
+ </td>
1309
+ <td>
1310
+
1311
+ Fill color
1312
+
1313
+ </td>
1314
+ </tr>
1315
+ <tr>
1316
+ <td><code>thickness</code></td>
1317
+ <td>
1318
+
1319
+ float64
1320
+
1321
+ </td>
1322
+ <td>
1323
+
1324
+ Stroke thickness
1325
+
1326
+ </td>
1327
+ </tr>
1328
+ </table>
1329
+
1330
+ ## Pose
1331
+
1332
+ A position and orientation for an object or reference frame in 3D space
1333
+
1334
+ <table>
1335
+ <tr>
1336
+ <th>field</th>
1337
+ <th>type</th>
1338
+ <th>description</th>
1339
+ </tr>
1340
+ <tr>
1341
+ <td><code>position</code></td>
1342
+ <td>
1343
+
1344
+ [Vector3](#vector3)
1345
+
1346
+ </td>
1347
+ <td>
1348
+
1349
+ Point denoting position in 3D space
1350
+
1351
+ </td>
1352
+ </tr>
1353
+ <tr>
1354
+ <td><code>orientation</code></td>
1355
+ <td>
1356
+
1357
+ [Quaternion](#quaternion)
1358
+
1359
+ </td>
1360
+ <td>
1361
+
1362
+ Quaternion denoting orientation in 3D space
1363
+
1364
+ </td>
1365
+ </tr>
1366
+ </table>
1367
+
1368
+ ## PoseInFrame
1369
+
1370
+ A timestamped pose for an object or reference frame in 3D space
1371
+
1372
+ <table>
1373
+ <tr>
1374
+ <th>field</th>
1375
+ <th>type</th>
1376
+ <th>description</th>
1377
+ </tr>
1378
+ <tr>
1379
+ <td><code>timestamp</code></td>
1380
+ <td>
1381
+
1382
+ time
1383
+
1384
+ </td>
1385
+ <td>
1386
+
1387
+ Timestamp of pose
1388
+
1389
+ </td>
1390
+ </tr>
1391
+ <tr>
1392
+ <td><code>frame_id</code></td>
1393
+ <td>
1394
+
1395
+ string
1396
+
1397
+ </td>
1398
+ <td>
1399
+
1400
+ Frame of reference for pose position and orientation
1401
+
1402
+ </td>
1403
+ </tr>
1404
+ <tr>
1405
+ <td><code>pose</code></td>
1406
+ <td>
1407
+
1408
+ [Pose](#pose)
1409
+
1410
+ </td>
1411
+ <td>
1412
+
1413
+ Pose in 3D space
1414
+
1415
+ </td>
1416
+ </tr>
1417
+ </table>
1418
+
1419
+ ## PosesInFrame
1420
+
1421
+ An array of timestamped poses for an object or reference frame in 3D space
1422
+
1423
+ <table>
1424
+ <tr>
1425
+ <th>field</th>
1426
+ <th>type</th>
1427
+ <th>description</th>
1428
+ </tr>
1429
+ <tr>
1430
+ <td><code>timestamp</code></td>
1431
+ <td>
1432
+
1433
+ time
1434
+
1435
+ </td>
1436
+ <td>
1437
+
1438
+ Timestamp of pose
1439
+
1440
+ </td>
1441
+ </tr>
1442
+ <tr>
1443
+ <td><code>frame_id</code></td>
1444
+ <td>
1445
+
1446
+ string
1447
+
1448
+ </td>
1449
+ <td>
1450
+
1451
+ Frame of reference for pose position and orientation
1452
+
1453
+ </td>
1454
+ </tr>
1455
+ <tr>
1456
+ <td><code>poses</code></td>
1457
+ <td>
1458
+
1459
+ [Pose](#pose)[]
1460
+
1461
+ </td>
1462
+ <td>
1463
+
1464
+ Poses in 3D space
1465
+
1466
+ </td>
1467
+ </tr>
1468
+ </table>
1469
+
1470
+ ## Quaternion
1471
+
1472
+ A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space
1473
+
1474
+ <table>
1475
+ <tr>
1476
+ <th>field</th>
1477
+ <th>type</th>
1478
+ <th>description</th>
1479
+ </tr>
1480
+ <tr>
1481
+ <td><code>x</code></td>
1482
+ <td>
1483
+
1484
+ float64
1485
+
1486
+ </td>
1487
+ <td>
1488
+
1489
+ x value
1490
+
1491
+ </td>
1492
+ </tr>
1493
+ <tr>
1494
+ <td><code>y</code></td>
1495
+ <td>
1496
+
1497
+ float64
1498
+
1499
+ </td>
1500
+ <td>
1501
+
1502
+ y value
1503
+
1504
+ </td>
1505
+ </tr>
1506
+ <tr>
1507
+ <td><code>z</code></td>
1508
+ <td>
1509
+
1510
+ float64
1511
+
1512
+ </td>
1513
+ <td>
1514
+
1515
+ z value
1516
+
1517
+ </td>
1518
+ </tr>
1519
+ <tr>
1520
+ <td><code>w</code></td>
1521
+ <td>
1522
+
1523
+ float64
1524
+
1525
+ </td>
1526
+ <td>
1527
+
1528
+ w value
1529
+
1530
+ </td>
1531
+ </tr>
1532
+ </table>
1533
+
1534
+ ## RawImage
1535
+
1536
+ A raw image
1537
+
1538
+ <table>
1539
+ <tr>
1540
+ <th>field</th>
1541
+ <th>type</th>
1542
+ <th>description</th>
1543
+ </tr>
1544
+ <tr>
1545
+ <td><code>timestamp</code></td>
1546
+ <td>
1547
+
1548
+ time
1549
+
1550
+ </td>
1551
+ <td>
1552
+
1553
+ Timestamp of image
1554
+
1555
+ </td>
1556
+ </tr>
1557
+ <tr>
1558
+ <td><code>width</code></td>
1559
+ <td>
1560
+
1561
+ uint32
1562
+
1563
+ </td>
1564
+ <td>
1565
+
1566
+ Image width
1567
+
1568
+ </td>
1569
+ </tr>
1570
+ <tr>
1571
+ <td><code>height</code></td>
1572
+ <td>
1573
+
1574
+ uint32
1575
+
1576
+ </td>
1577
+ <td>
1578
+
1579
+ Image height
1580
+
1581
+ </td>
1582
+ </tr>
1583
+ <tr>
1584
+ <td><code>encoding</code></td>
1585
+ <td>
1586
+
1587
+ string
1588
+
1589
+ </td>
1590
+ <td>
1591
+
1592
+ Encoding of the raw image data
1593
+
1594
+ </td>
1595
+ </tr>
1596
+ <tr>
1597
+ <td><code>step</code></td>
1598
+ <td>
1599
+
1600
+ uint32
1601
+
1602
+ </td>
1603
+ <td>
1604
+
1605
+ Byte length of a single row
1606
+
1607
+ </td>
1608
+ </tr>
1609
+ <tr>
1610
+ <td><code>data</code></td>
1611
+ <td>
1612
+
1613
+ bytes
1614
+
1615
+ </td>
1616
+ <td>
1617
+
1618
+ Raw image data
1619
+
1620
+ </td>
1621
+ </tr>
1622
+ </table>
1623
+
1624
+ ## Vector2
1625
+
1626
+ A vector in 2D space that represents a direction only
1627
+
1628
+ <table>
1629
+ <tr>
1630
+ <th>field</th>
1631
+ <th>type</th>
1632
+ <th>description</th>
1633
+ </tr>
1634
+ <tr>
1635
+ <td><code>x</code></td>
1636
+ <td>
1637
+
1638
+ float64
1639
+
1640
+ </td>
1641
+ <td>
1642
+
1643
+ x coordinate length
1644
+
1645
+ </td>
1646
+ </tr>
1647
+ <tr>
1648
+ <td><code>y</code></td>
1649
+ <td>
1650
+
1651
+ float64
1652
+
1653
+ </td>
1654
+ <td>
1655
+
1656
+ y coordinate length
1657
+
1658
+ </td>
1659
+ </tr>
1660
+ </table>
1661
+
1662
+ ## Vector3
1663
+
1664
+ A vector in 3D space that represents a direction only
1665
+
1666
+ <table>
1667
+ <tr>
1668
+ <th>field</th>
1669
+ <th>type</th>
1670
+ <th>description</th>
1671
+ </tr>
1672
+ <tr>
1673
+ <td><code>x</code></td>
1674
+ <td>
1675
+
1676
+ float64
1677
+
1678
+ </td>
1679
+ <td>
1680
+
1681
+ x coordinate length
1682
+
1683
+ </td>
1684
+ </tr>
1685
+ <tr>
1686
+ <td><code>y</code></td>
1687
+ <td>
1688
+
1689
+ float64
1690
+
1691
+ </td>
1692
+ <td>
1693
+
1694
+ y coordinate length
1695
+
1696
+ </td>
1697
+ </tr>
1698
+ <tr>
1699
+ <td><code>z</code></td>
1700
+ <td>
1701
+
1702
+ float64
1703
+
1704
+ </td>
1705
+ <td>
1706
+
1707
+ z coordinate length
1708
+
1709
+ </td>
1710
+ </tr>
1711
+ </table>