added combat logger

A refactor might be beneficial here, now data is being
sent to multiple streams which feels a tad off
This commit is contained in:
Andy Killorin 2025-03-08 11:40:07 -05:00
commit 95c5b50dd3
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -39,13 +39,13 @@ pub struct SensorData {
pub accel: Option<Vector3<f32>>,
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct TelemetryPacket {
pub sensors: SensorData,
pub cam_state: CamState,
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize, Debug, Clone)]
pub enum CamState {
Firing,
Charged,