Skip to content

Commit

Permalink
Reintroduce payloads for battery and pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol committed Apr 12, 2023
1 parent f9a3f00 commit 2595fbb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/robot_interface/telemetry/payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ class TelemetryPosePayload(TelemetryPayload):
pose: Pose


@dataclass
class TelemetryBatteryPayload(TelemetryPayload):
battery_level: float


@dataclass
class TelemetryPressurePayload(TelemetryPayload):
pressure_level: float


@dataclass
class VideoStream:
name: str
Expand Down

0 comments on commit 2595fbb

Please sign in to comment.