fix(aerotech): quote aerocapture channel keys so the sastt config loads
CI for csaxs_bec / test (push) Successful in 3m35s
CI for csaxs_bec / test (push) Successful in 3m35s
Integer YAML map keys made the DeviceConfigMessage undecodable on SciHub (msgpack strict_map_key), so update_session_with_file hung until timeout. A3200PositionCapture already converts the keys with int(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M8zoDzDfsCTY2o5bT3J7Wv
This commit is contained in:
1 parent
40c8d90072
commit
834e6ad4df
3 files changed
+15
-12
No files matched your search
@@ -120,11 +120,12 @@ aerocapture:
|
||||
port: 8000
|
||||
drive_axis: X
|
||||
# DATAACQ source -> axis: 0-5 local encoder counter, 6-11 MXR channel 0-5 (max. 4 kHz)
|
||||
# keys are quoted: integer map keys break the config message (msgpack strict_map_key)
|
||||
channels:
|
||||
6: X
|
||||
11: Z
|
||||
2: Y
|
||||
9: U
|
||||
"6": X
|
||||
"11": Z
|
||||
"2": Y
|
||||
"9": U
|
||||
enabled: false
|
||||
onFailure: buffer
|
||||
readOnly: false
|
||||
|
||||
@@ -110,11 +110,12 @@ aerocapture:
|
||||
port: 8000
|
||||
drive_axis: X
|
||||
# DATAACQ source -> axis: 0-5 local encoder counter, 6-11 MXR channel 0-5 (max. 4 kHz)
|
||||
# keys are quoted: integer map keys break the config message (msgpack strict_map_key)
|
||||
channels:
|
||||
6: X
|
||||
11: Z
|
||||
2: Y
|
||||
9: U
|
||||
"6": X
|
||||
"11": Z
|
||||
"2": Y
|
||||
"9": U
|
||||
enabled: false
|
||||
onFailure: buffer
|
||||
readOnly: false
|
||||
|
||||
@@ -109,11 +109,12 @@ aerocapture:
|
||||
port: 8000
|
||||
drive_axis: X
|
||||
# DATAACQ source -> axis: 0-5 local encoder counter, 6-11 MXR channel 0-5 (max. 4 kHz)
|
||||
# keys are quoted: integer map keys break the config message (msgpack strict_map_key)
|
||||
channels:
|
||||
6: X
|
||||
11: Z
|
||||
2: Y
|
||||
9: U
|
||||
"6": X
|
||||
"11": Z
|
||||
"2": Y
|
||||
"9": U
|
||||
enabled: true
|
||||
onFailure: buffer
|
||||
readOnly: false
|
||||
|
||||
Reference in new issue
Block a user