mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
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.
20 lines
354 B
Protocol Buffer
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;
|
|
}
|