Added a comment for PID struct

This commit is contained in:
2026-06-07 12:50:15 -05:00
parent 897678bb26
commit 15c0512fef
+2
View File
@@ -17,6 +17,8 @@ pub struct Config {
pub accel: f32, pub accel: f32,
} }
///A PID, the config field is used to handle all the needed configuration.
/// This PID using pid_step() then attempts to output a value between -1.0 and 1.0 to attempt to make the "current_value" passed in, match the "set_point"
pub struct PID { pub struct PID {
pub config: Config, pub config: Config,