syntax = "proto3";

package wpi.proto;

option java_package = "edu.wpi.first.math.proto";

message ProtobufTranslation2d {
  double x = 1;
  double y = 2;
}

message ProtobufRotation2d {
  double value = 1;
}

message ProtobufPose2d {
  ProtobufTranslation2d translation = 1;
  ProtobufRotation2d rotation = 2;
}

message ProtobufTransform2d {
  ProtobufTranslation2d translation = 1;
  ProtobufRotation2d rotation = 2;
}

message ProtobufTwist2d {
  double dx = 1;
  double dy = 2;
  double dtheta = 3;
}

message ProtobufRectangle2d {
  ProtobufPose2d center = 1;
  double xWidth = 2;
  double yWidth = 3;
}

message ProtobufEllipse2d {
  ProtobufPose2d center = 1;
  double xSemiAxis = 2;
  double ySemiAxis = 3;
}
