Added derive fields to the Data and PID struct
This commit is contained in:
@@ -19,6 +19,7 @@ pub struct Config {
|
||||
|
||||
///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"
|
||||
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||
pub struct PID {
|
||||
pub config: Config,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user