From d765b8c7ebdd610cb38c2205bd9a2fe202c81c50 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:46:35 -0400 Subject: [PATCH] Add documentation --- .../main/native/include/frc/simulation/SendableChooserSim.h | 4 ++++ .../edu/wpi/first/wpilibj/simulation/SendableChooserSim.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wpilibc/src/main/native/include/frc/simulation/SendableChooserSim.h b/wpilibc/src/main/native/include/frc/simulation/SendableChooserSim.h index 49c8c4a12d8..5cd9e251574 100644 --- a/wpilibc/src/main/native/include/frc/simulation/SendableChooserSim.h +++ b/wpilibc/src/main/native/include/frc/simulation/SendableChooserSim.h @@ -13,6 +13,10 @@ namespace frc::sim { +/** + * Class that allows you to control a SendableChooser's selected option in + * simulation. + */ class SendableChooserSim { public: /** diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/SendableChooserSim.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/SendableChooserSim.java index acf527ea8a1..250773f1a8f 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/SendableChooserSim.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/SendableChooserSim.java @@ -8,7 +8,7 @@ import edu.wpi.first.networktables.StringPublisher; import edu.wpi.first.wpilibj.RobotBase; -/** A SendableChooserSim allows you to select a SendableChooser's option from code. */ +/** Class that allows you to control a SendableChooser's selected option in simulation. */ public class SendableChooserSim implements AutoCloseable { private StringPublisher m_publisher;