Added derive for PID config fields.

This is so these config fields can be stored as JSON
This commit is contained in:
2026-06-07 12:43:57 -05:00
parent 35fd1e8532
commit 897678bb26
+3
View File
@@ -1,4 +1,7 @@
use serde::{Deserialize, Serialize};
///The Config for the PID system used by the controller
#[derive(Serialize, Deserialize, Debug, Default, Clone, Copy, PartialEq)]
pub struct Config {
///The Proportional value for the controller
pub kp: f32,