Skip to main content

Vector2

A vector in 2D space that represents a direction only

Parent schema

Vector2 appears in the Grid message schema.

Schema

fieldtypedescription
xfloat64x coordinate length
yfloat64y coordinate length

Reference implementations

Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:

encodingschema
ROS 1foxglove_msgs/Vector2
ROS 2foxglove_msgs/msg/Vector2
JSONfoxglove.Vector2
Protobuffoxglove.Vector2
FlatBuffersfoxglove.Vector2
OMG IDLfoxglove::Vector2

You must use the schema names specified above for Foxglove to recognize the schema.