Skip to content

Commit 1218050

Browse files
committed
Clean up doc for Valve classes.
1 parent 674b51b commit 1218050

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

src/main/java/Team4450/Lib/LibraryVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class LibraryVersion
4747
* of the Jitpack compile when requested and will be automatically made available via JitPack.
4848
*/
4949

50-
public static final String version = "4.11.0 (02.18.2025) WPILib=" + WPILibVersion.Version;
50+
public static final String version = "4.11.0 (02.19.2025) WPILib=" + WPILibVersion.Version;
5151

5252
// Private constructor means this class can't be instantiated.
5353
private LibraryVersion()

src/main/java/Team4450/Lib/MonitorCompressorPH.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
import edu.wpi.first.wpilibj.Compressor;
1212

1313
/**
14-
* Compressor monitoring task. For REV Pneumatics Hub only.
14+
* Compressor monitoring task. For REV Pneumatic Hub only.
1515
* Runs as a separate thread from our MyRobot class. Runs until our
1616
* program is terminated from the RoboRio. Displays compressor on/off
1717
* LED on DS. Can also monitor an air pressure sensor and report the
1818
* pressure to the DS. Assumes compressor is plugged into the first
19-
* PH, device id 1.
19+
* PH, CAN id 1.
2020
*/
2121

2222
public class MonitorCompressorPH extends Thread implements Sendable

src/main/java/Team4450/Lib/ValveDA.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public class ValveDA implements Sendable
4040
public double solenoidSlideTime = .02;
4141

4242
/**
43+
* Create instance of ValveDA class. Assumes CAN Id 0 for CTRE module, Id 1 for REV module.
4344
* @param port Control Module port wired to open/A side of valve. Close/B side is wired to module next port.
44-
* Assumes CAN Id 0 for CTRE module, Id 1 for REV module.
4545
* @param moduleType Pneumatic control module type.
4646
*/
4747

@@ -62,8 +62,9 @@ public ValveDA(int port, PneumaticsModuleType moduleType)
6262
}
6363

6464
/**
65+
* Create instance of ValveDA class.
6566
* @param canId Control Module CAN Id number, 0 for first CTRE module, 1 for first REV module.
66-
* @param port PCM port wired to open/A side of valve. Close/B side is wired to module next port.
67+
* @param port Control module port wired to open/A side of valve. Close/B side is wired to module next port.
6768
* @param moduleType Pneumatic control module type.
6869
*/
6970

src/main/java/Team4450/Lib/ValveSA.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ public class ValveSA implements Sendable
2222
private String name = "ValveSA";
2323

2424
/**
25-
* @param port DIO port wired to valve. Assumes Control Module CAN Id 0 for CTRE module, Id 1 for REV module.
25+
* Create instance of ValveSA class. Assumes Control Module CAN Id 0 for CTRE module,
26+
* Id 1 for REV module.
27+
* @param port Control module port wired to valve.
2628
* @param moduleType Pneumatic control module type.
2729
*/
2830
public ValveSA(int port, PneumaticsModuleType moduleType)
@@ -41,8 +43,9 @@ public ValveSA(int port, PneumaticsModuleType moduleType)
4143
}
4244

4345
/**
46+
* Create an instance of ValveSA class.
4447
* @param canId Control Module CAN Id number, 0 for first CTRE module, 1 for first REV module.
45-
* @param port DIO port wired to valve.
48+
* @param port Control module port wired to valve.
4649
* @param moduleType Pneumatic control module type.
4750
*/
4851
public ValveSA(int canId, int port, PneumaticsModuleType moduleType)

src/main/resources/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<body>
44
<h1 style="font-family: arial">FRC Team 4450 Robot Control Program Utility Library</h1>
55
<p style="font-family: arial">Provides utility classes and functions for FRC robot control programs.</p>
6-
<p style="font-family: arial">Version 4.11.0 (February 18 2025)</p>
6+
<p style="font-family: arial">Version 4.11.0 (February 19 2025)</p>
77
</body>

0 commit comments

Comments
 (0)