Skip to content

Commit d98e34f

Browse files
committed
Final commit
1 parent c01086a commit d98e34f

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

control-station/src/services/PodSocketClient.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Dispatch, SetStateAction } from "react";
22
import { Socket } from "socket.io-client";
33
import { ioNamespace } from "./socketHandler";
44

5-
65
export enum State {
76
Disconnected = "Disconnected",
87
Init = "Init",

pod-operation/src/state_machine.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ impl StateMachine {
154154

155155
// Full JSON object
156156
let full_json = json!({
157-
"gyroscope": 20,
158-
"wheel_encoder": 30,
159-
"downstream_pressure_transducer": 40,
160-
"upstream_pressure_transducer": 30,
161-
"lim_temperature_port": 11,
162-
"lim_temperature_starboard": 13,
157+
"gyroscope": gyro_data,
158+
"wheel_encoder": wheel_encoder_data,
159+
"downstream_pressure_transducer": downstream_pressure_data,
160+
"upstream_pressure_transducer": upstream_pressure_data,
161+
"lim_temperature_port": lim_temp_port_data,
162+
"lim_temperature_starboard": lim_temp_starboard_data,
163163
});
164164

165165
self.io

0 commit comments

Comments
 (0)