Skip to content

Commit 8365c48

Browse files
committed
new coach topic
1 parent 0d412e9 commit 8365c48

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

docs/crew_chief_mqtt_telemetry.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Password": "crewchief",
66
"Port": 30883,
77
"UpdateRateLimit": 0,
8-
"SubscribeTopic": "/coach",
8+
"SubscribeTopic": "coach",
99
"UseTLS": true,
1010
"AllowSoundDownload": false,
1111
"DebugResponse": false,

docs/new-architecture.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
You're a software architect. We need to design a system around telemetry data of games.
2+
3+
There will be multiple games. A local agent running on the game windows machine or on the game
4+
server will send telemetry data to our system.
5+
The telemetry data stream can
6+
7+
8+
https://www.kai-waehner.de/blog/2024/06/15/the-shift-left-architecture-from-batch-and-lakehouse-to-real-time-data-products-with-data-streaming/

telemetry/pitcrew/coach_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CoachApp(LoggingMixin):
1616
def __init__(self, history: History, coach_model: Coach, debug=False):
1717
self.history = history
1818
self.coach_model = coach_model
19-
self.response_topic = f"/coach/{coach_model.driver.name}"
19+
self.response_topic = f"coach/{coach_model.driver.name}"
2020
self.init_variables()
2121

2222
def init_variables(self):

telemetry/pitcrew/coach_copilots_no_history.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class CoachCopilotsNoHistory(LoggingMixin):
1515
def __init__(self, coach_model: Coach, debug=False):
1616
self.coach_model = coach_model
17-
self.response_topic = f"/coach/{coach_model.driver.name}"
17+
self.response_topic = f"coach/{coach_model.driver.name}"
1818
driver = coach_model.driver
1919
self.persister = PersisterDb(driver, debug=debug)
2020
self.init_variables()

0 commit comments

Comments
 (0)