From 16bdc2bd52a75a55fa4387285d98d59301616d8e Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Tue, 2 Jan 2024 07:21:47 -0500 Subject: [PATCH] Remove optional --- wpilibj/src/main/proto/mechanism2d.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpilibj/src/main/proto/mechanism2d.proto b/wpilibj/src/main/proto/mechanism2d.proto index 184d7b68670..1a0659adae5 100644 --- a/wpilibj/src/main/proto/mechanism2d.proto +++ b/wpilibj/src/main/proto/mechanism2d.proto @@ -7,7 +7,7 @@ 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 { @@ -15,12 +15,12 @@ message MechanismLigament2d { 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; }