Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configs/sim/axis/plasma/plasmac2/lib/sim/sim_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def estop_pressed(event):
CALL(['halcmd', 'net', 'sim:arc-voltage-in', 'sim-torch.voltage-out', 'plasmac.arc-voltage-in'])
# connect to existing z axis height
simStepConf = False
for sig in hal.get_info_signals():
if sig['NAME'] == 'Zjoint-pos-fb':
for sig in hal.query.signals():
if sig['name'] == 'Zjoint-pos-fb':
simStepconf = True
break
if simStepConf:
Expand Down
10 changes: 5 additions & 5 deletions configs/sim/axis/plasma/plasmac2/plasmac2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2414,8 +2414,8 @@ def critical_button_check():
def validate_hal_pin(halpin, button, usage):
valid = pBit = False
for pin in halPinList:
if halpin in pin['NAME']:
pBit = isinstance(pin['VALUE'], bool)
if halpin in pin['name']:
pBit = isinstance(pin['value'], bool)
valid = True
break
if not valid:
Expand Down Expand Up @@ -5734,8 +5734,8 @@ def user_hal_pins():
hal.connect('axisui.led-torch','plasmac:torch-on')
# connect laser-on if it exists
laser = False
for signal in hal.get_info_signals():
if signal['NAME'] == 'plasmac:laser-on':
for signal in hal.query.signals():
if signal['name'] == 'plasmac:laser-on':
laser = True
break
if laser:
Expand All @@ -5747,7 +5747,7 @@ def user_hal_pins():
materialReloadPin = comp['material-reload']
materialTempPin = comp['material-temp']
# do user button setup after hal pin creation
halPinList = hal.get_info_pins()
halPinList = hal.query.pins()
user_button_setup()
# load materials when setup is complete
load_materials(-1, False)
Expand Down
1 change: 1 addition & 0 deletions debian/control.top.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Build-Depends:
psmisc,
python3,
python3-dev,
python3-pybind11,
python3-tk,
python3-xlib,
tcl,
Expand Down
Loading
Loading