Skip to content

Commit 0a3d4a4

Browse files
committed
Add Vector2d to common.proto
1 parent 639450d commit 0a3d4a4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

osi_common.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ message Vector3d
3232
optional double z = 3;
3333
}
3434

35+
///
36+
/// A cartesian 2D vector for positions, velocities or accelerations.
37+
/// Units are [m] for positions, [m/s] for velocities and [m/s^2] for accelerations.
38+
///
39+
message Vector2d
40+
{
41+
/// The x coordinate
42+
optional double x = 1;
43+
44+
/// The y coordinate
45+
optional double y = 2;
46+
}
47+
3548
///
3649
/// A timestamp.
3750
/// Names and types of fields chosen in accordance with google/protobuf/timestamp.proto to allow a possible switch in the

0 commit comments

Comments
 (0)