Standard types Rant comes with types for common data, so two programs that both mean "a pose" use the
same name and the same bytes. Every name below works in any schema, as a topic type or as
a field:
Waypoint { at: Transform, when: Timestamp, tag: Color }
Open a type to see its fields and their units.
Units and frames
Physical values are SI: meters, seconds, newtons and radians.
A 3D frame is right handed with z up. A 2D frame is its top view: x right, y up.
An image frame starts at the top left corner: x right, y down, in pixels.
An angle turns from +x toward +y.
m or px means meters in a physical frame and pixels in an image frame.
Time is in microseconds (us). A Timestamp counts from the Unix epoch in UTC.
Vectors and matrices Float2A 2D vector of f32 Float3A 3D vector of f32 Float4A 4D vector of f32 Field Type xf32yf32zf32wf32
Double2A 2D vector of f64 Double3A 3D vector of f64 Double4A 4D vector of f64 Field Type xf64yf64zf64wf64
Int2A 2D vector of i32, such as a pixel or a grid cell Int3A 3D vector of i32 Int4A 4D vector of i32 Field Type xi32yi32zi32wi32
Matrix3x3A 3 by 3 matrix, indexed row then column Matrix4x4A 4 by 4 matrix, indexed row then column Covariance3The covariance of three values, indexed row then column, in their units squared Covariance6The covariance of a 3D pose or twist, indexed row then column The order is x, y and z, then the turn about x, y and z
Position and orientation PoseA position and orientation in a 3D frame Pose2DA position and heading in a 2D frame, the top view of a Pose Field Type Unit Note positionDouble2 m or px anglef64rad from +x toward +y
TransformA Pose and the frame it is measured in Field Type Note posePose parentstring<30>the parent frame, empty when unstated
Transform2DA Pose2D and the frame it is measured in Field Type Note posePose2D parentstring<30>the parent frame, empty when unstated
QuaternionA 3D rotation as a unit quaternion, stored x, y, z, w Field Type xf64yf64zf64wf64
GeoPointA point on the Earth Field Type Unit Note latf64deg latitude lonf64deg longitude altf64m altitude
PoseWithCovarianceA Pose and how uncertain it is Field Type Unit Note posePose covarianceCovariance6 m^2 and rad^2 the position, then the rotation about x, y and z
Motion and force TwistLinear and angular velocity in 3D Twist2DLinear and angular velocity in 2D Field Type Unit Note linearDouble2 m/s angularf64rad/s from +x toward +y
AccelLinear and angular acceleration in 3D Field Type Unit Note linearDouble3 m/s^2 angularDouble3 rad/s^2 about each axis
Accel2DLinear and angular acceleration in 2D Field Type Unit Note linearDouble2 m/s^2 angularf64rad/s^2 from +x toward +y
WrenchA force and a torque in 3D Wrench2DA force and a torque in 2D Field Type Unit Note forceDouble2 N torquef64N m from +x toward +y
TwistWithCovarianceA Twist and how uncertain it is Field Type Unit Note twistTwist covarianceCovariance6 m^2/s^2 and rad^2/s^2 the linear part, then the angular
OdometryWhere a moving body is and how fast it moves, as dead reckoning estimates it 3D shapes AlignedBoxA box along the frame axes Field Type Unit Note minDouble3 m the corner with the lowest x, y and z maxDouble3 m the opposite corner
OrientedBoxA box at any orientation Field Type Unit Note posePose the center and orientation sizeDouble3 m the full edge lengths
PlaneAn endless flat plane Field Type Unit Note positionDouble3 m any point on the plane normalDouble3 unit length
SegmentA straight line between two points RayA straight line from a point, endless in one direction Field Type Unit Note originDouble3 m directionDouble3 unit length, away from origin
SphereA ball around a center point Field Type Unit centerDouble3 m radiusf64m
CapsuleA cylinder with rounded ends Field Type Unit Note axisSegment the centers of the rounded ends radiusf64m
CylinderA cylinder with flat ends Field Type Unit Note axisSegment the centers of the flat ends radiusf64m
ConeA cone from a round base to a tip Field Type Unit Note baseDouble3 m the center of the base tipDouble3 m radiusf64m at the base
PolygonA closed flat polygon in 3D Field Type Unit Note pointsDouble3 []m the corners in order
PrismA flat polygon raised to a height, such as a zone of a floor Field Type Unit Note posePose the frame the base lies in basePolygon2D m in the xy plane of pose heightf64m along +z of pose
PolylineAn open line through points in order PathA route of poses to follow in order 2D shapes AlignedBox2DA rectangle along the frame axes, also a region of an image Field Type Unit Note minDouble2 m or px the corner with the lowest x and y maxDouble2 m or px the opposite corner
OrientedBox2DA rectangle at any angle Field Type Unit Note posePose2D the center and angle sizeDouble2 m or px the full edge lengths
Plane2DAn endless line, the 2D form of a Plane Field Type Unit Note positionDouble2 m or px any point on the line normalDouble2 unit length
Segment2DA straight line between two points in 2D Ray2DA straight line from a point, endless in one direction, in 2D Field Type Unit Note originDouble2 m or px directionDouble2 unit length, away from origin
CircleA circle around a center point Field Type Unit centerDouble2 m or px radiusf64m or px
Capsule2DA rectangle with rounded ends Field Type Unit Note axisSegment2D the centers of the rounded ends radiusf64m or px
Polygon2DA closed polygon in 2D Field Type Unit Note pointsDouble2 []m or px the corners in order
Polyline2DAn open line through points in order in 2D Field Type Unit pointsDouble2 []m or px
Path2DA route of 2D poses to follow in order Sensors CameraIntrinsicsThe pinhole model of a camera and its lens distortion Field Type Unit Note widthu32px the resolution these values hold for heightu32px fxf64px focal length along x fyf64px focal length along y cxf64px principal point x cyf64px principal point y coeffsf64[8]OpenCV's order: k1 k2 p1 p2 k3, then k4 k5 k6 for Rational, or k1 to k4 for Fisheye, 0 past that modelDistortionModel the lens distortion model
DistortionModelA lens distortion model Option Value Note None0an ideal pinhole BrownConrady1Fisheye2Rational3
ImuOne reading of an inertial measurement unit, in its own frame A covariance with -1 first means that value is not measured
LaserScanOne sweep of a planar range sensor, its beams turning from +x toward +y Field Type Unit Note angle_minf32rad the first beam angle_stepf32rad from one beam to the next time_stepf32s from one beam to the next, 0 when unstated range_minf32m a shorter range is not valid range_maxf32m a longer range is not valid echoesu8the ranges per beam, 0 reads as 1 rangesf32[]m each beam's echoes together, +inf when nothing returns intensitiesf32[]in the order of ranges, may be empty
RangeReadingOne distance from a sensor with a single beam or cone along its +x Field Type Unit Note distancef64m +inf when nothing is in range minf64m the shortest distance it reads maxf64m the longest distance it reads field_of_viewf64rad the full angle of the cone kindRangeKind
RangeKindWhat a range sensor measures with Option Value Note Unknown0unstated Ultrasound1Infrared2Laser3Radar4
GnssFixA position from satellite navigation GnssStatusThe quality of a satellite position fix Option Value Note NoFix0the position is not valid Fix1satellites alone Differential2corrected by SBAS or DGPS RtkFloat3RTK, ambiguities not yet resolved RtkFixed4RTK, centimeter level
Detection2DAn object found in an image or a 2D frame Field Type Note boundsOrientedBox2D where it is labelstringwhat it is scoref32the confidence, 0 to 1 tracku32the same id in every frame, 0 when not tracked
Detection3DAn object found in a 3D frame Field Type Note boundsOrientedBox where it is labelstringwhat it is scoref32the confidence, 0 to 1 tracku32the same id in every frame, 0 when not tracked
Robots JointStateThe joints of a robot, in the order of its JointNames Field Type Unit Note positionf64[]rad or m rad for a turning joint, m for a sliding one velocityf64[]rad/s or m/s may be empty effortf64[]N m or N may be empty
JointNamesThe joint names a JointState follows, published once JointTrajectoryA motion of the joints over time JointTrajectoryPointWhere the joints should be at one time, in the order of their JointNames Field Type Unit Note timeDuration us from the start of the trajectory positionf64[]rad or m velocityf64[]rad/s or m/s may be empty accelerationf64[]rad/s^2 or m/s^2 may be empty effortf64[]N m or N may be empty
InertiaThe mass of a rigid body and how it resists turning Field Type Unit Note massf64kg centerDouble3 m the center of mass in the body frame ixxf64kg m^2 about the center of mass ixyf64kg m^2 ixzf64kg m^2 iyyf64kg m^2 iyzf64kg m^2 izzf64kg m^2
Point clouds, meshes and grids PointCloudPoints with any values each, packed one point after another as in PCL Field Type Unit Note originTransform the frame the points are in widthu32points per row when the cloud is an image, 0 when it has no rows fieldsPointField []what each point holds point_stepu32bytes from one point to the next denseboolno point holds an invalid value datau8[]the points, little endian
PointFieldOne value that every point of a PointCloud holds Field Type Unit Note namestringsuch as x, y, z, intensity or rgb offsetu32bytes from the start of the point kindScalarKind countu32the numbers in a row, 1 for a single number
MeshA surface of triangles Field Type Note verticesPointCloud the corners, with x, y and z among their fields trianglesu32[]three vertex indices each, counterclockwise seen from outside
GridA 2D or 3D grid of cells with any values each, such as a map Field Type Unit Note originTransform the frame, and the pose of the outer corner of cell 0 resolutionf64m the edge of a cell cells_xu32cells along x cells_yu32cells along y cells_zu32cells along z, 1 for a 2D grid fieldsGridField []what each cell holds
GridFieldOne value that every cell of a Grid holds Field Type Note namestringsuch as occupancy, height or cost, or rgba or rgb for a color as a PointField packs it kindScalarKind datau8[]one number per cell, x fastest, then y, then z, little endian
ScalarKindThe kind of number in a block of raw data, numbered as in PCL Option Value I81U82I163U164I325U326F327F648I649U6410
TensorAn array of numbers with any number of dimensions Field Type Note kindScalarKind shapeu32[]the size of each dimension, outermost first datau8[]the numbers, last dimension fastest, little endian
Images and video ImageA picture, as raw pixels or a compressed file Field Type Unit Note widthu32px heightu32px strideu32bytes from one row to the next, 0 when rows are packed formatImageFormat how data is laid out datau8[]the pixels from the top row, or the file
ImageFormatHow the data of an Image is laid out, 16 and up a compressed file Option Value Note Mono80one 8 bit channel Mono161one 16 bit channel Rgb82red, green and blue, 8 bits each Rgba83red, green, blue and alpha, 8 bits each Bgr84blue, green and red, 8 bits each Yuyv5YUV 4:2:2, two pixels in four bytes Nv126YUV 4:2:0, a Y plane then interleaved U and V Monof327one 32 bit float channel Jpeg16data is a JPEG file Png17data is a PNG file
VideoFrameOne encoded frame of a video stream Field Type Unit Note codecVideoCodec the bitstream format widthu32px the coded size, 0 when unstated heightu32px the coded size, 0 when unstated keyframebooldecodes without earlier frames ptsTimestamp us when to show the frame datau8[]the encoded bitstream
VideoCodecThe format of a video bitstream Option Value Note Unknown0unstated Mjpeg1H2642H2653Av14
ExternalVideoStreamWhere to watch a video stream, so a viewer connects to it directly Field Type Unit Note widthu32px a hint, 0 when unstated heightu32px a hint, 0 when unstated kindVideoStreamKind the protocol of url codecVideoCodec a hint, Unknown when unstated urlUri the stream address namestring<30>a label for the stream
VideoStreamKindThe protocol a video stream is served over Option Value Note Rtsp0WebrtcWhep1WebRTC set up over WHEP Hls2Srt3Rtp4HttpMjpeg5MJPEG over HTTP Other15
Time and ids TimestampA moment in time, counted from the Unix epoch in UTC DurationA length of time UuidA 16 byte unique id Type Note u8[16]RFC 4122 byte order
Other ColorAn sRGB color with straight alpha, not premultiplied Field Type Note ru8gu8bu8au8255 is opaque
UriA URL or other URI FileA whole file Field Type Note namestringthe file name with its extension media_typestring<64>such as image/png, empty when unknown datau8[]the file bytes
EmptyNo data, for a signal such as a trigger