Skip to content

Commit

Permalink
Remove optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 committed Jan 2, 2024
1 parent 41e6136 commit 16bdc2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wpilibj/src/main/proto/mechanism2d.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ option java_package = "edu.wpi.first.math.proto";
message MechanismRoot2d {
double x = 1;
double y = 2;
optional repeated MechanismLigament2d ligaments = 3;
repeated MechanismLigament2d ligaments = 3;
}

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

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

0 comments on commit 16bdc2b

Please sign in to comment.