Files
allwpilib/wpimath/src/main/proto/trajectory.proto
PJ Reiniger bb05e20247 [wpimath] Add protobuf/struct for trivial types (#5935)
This implements de/serialization for the types that aren't templated (SwerveDriveKinematics) in C++ or where there is no trivial way to go round-trip (Splines) for the messages.
2023-11-21 10:14:06 -08:00

20 lines
354 B
Protocol Buffer

syntax = "proto3";
package wpi.proto;
import "geometry2d.proto";
option java_package = "edu.wpi.first.math.proto";
message ProtobufTrajectoryState {
double time = 1;
double velocity = 2;
double acceleration = 3;
ProtobufPose2d pose = 4;
double curvature = 5;
}
message ProtobufTrajectory {
repeated ProtobufTrajectoryState states = 2;
}