Skip to content

Commit

Permalink
Update message name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 committed Jan 2, 2024
1 parent 272755c commit 88ed091
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wpilibj/src/main/proto/mechanism2d.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ package wpi.proto;

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

message MechanismRoot2d {
message ProtobufMechanismRoot2d {
double x = 1;
double y = 2;
repeated MechanismLigament2d ligaments = 3;
repeated ProtobufMechanismLigament2d ligaments = 3;
}

message MechanismLigament2d {
message ProtobufMechanismLigament2d {
double angle = 1;
string color = 2;
double length = 3;
double weight = 4;
repeated MechanismLigament2d ligaments = 5;
repeated ProtobufMechanismLigament2d ligaments = 5;
}

message Mechanism2d {
message ProtobufMechanism2d {
double x = 1;
double y = 2;
string color = 3;
repeated MechanismRoot2d roots = 4;
repeated ProtobufMechanismRoot2d roots = 4;
}

0 comments on commit 88ed091

Please sign in to comment.