diff --git a/rb_ws/src/buggy/buggy/serial/host_comm.py b/rb_ws/src/buggy/buggy/serial/host_comm.py index 97b93e8..873dbb5 100644 --- a/rb_ws/src/buggy/buggy/serial/host_comm.py +++ b/rb_ws/src/buggy/buggy/serial/host_comm.py @@ -150,13 +150,12 @@ class SCSensors: # 64 bits velocity: float # double # 32 bits - # TODO: this isnt on firmware rn? steering_angle: float timestamp: int @dataclass class RoundtripTimestamp: - returned_time: int + returned_time: float # double class IncompletePacket(Exception): @@ -193,6 +192,7 @@ def send_steering(self, angle: float): def send_alarm(self, status: int): self.send_packet_raw(MSG_TYPE_ALARM, struct.pack('