We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76437ba + 2d4f45c commit 6d26e99Copy full SHA for 6d26e99
ait/gui/static/js/ait/gui/index.js
@@ -173,6 +173,7 @@ function init () {
173
})
174
175
ait.tlm = {dict: {}}
176
+
177
ait.tlm.promise = m.request({ url: '/tlm/dict' })
178
ait.tlm.promise.then((dict) => {
179
const proto = location.protocol === 'https:' ? 'wss' : 'ws'
@@ -181,9 +182,9 @@ function init () {
181
182
ait.tlm.dict = TelemetryDictionary.parse(dict)
183
ait.tlm.stream = new TelemetryStream(url, ait.tlm.dict)
184
- ait.events.on('ait:tlm:packet', () => {
185
+ setInterval(() => {
186
m.redraw()
- })
187
+ }, 1000)
188
189
190
m.request({url: '/limits/dict'}).then((dict) => {
0 commit comments