Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, jstat, jnum):
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
def __init__(self, jstat, jnum):
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
def __init__(self, jstat, jnum):
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
def __init__(self, jstat, jnum):
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
def __init__(self, jstat, jnum):
super(_Joint, self).__init__()
self.jstat = jstat
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)
self.jnum = jnum
# `linuxcnc.stat.join[n]` attribute signals
self.jointType = JointStatusItem(jnum, 'jointType', int) # reflects [JOINT_n]TYPE
self.backlash = JointStatusItem(jnum, 'backlash', float) # backlash in machine units
self.enabled = JointStatusItem(jnum, 'enabled', bool) # enabled flag
self.fault = JointStatusItem(jnum, 'fault', bool) # active fault flag
self.ferror_current = JointStatusItem(jnum, 'ferror_current', float) # current following error
self.ferror_highmark = JointStatusItem(jnum, 'ferror_highmark', float) # magnitude of max following error
self.homed = JointStatusItem(jnum, 'homed', bool) # homed flag
self.homing =JointStatusItem(jnum, 'homing', bool) # currently homing flag
self.inpos = JointStatusItem(jnum, 'inpos', bool) # in position flag
self.input = JointStatusItem(jnum, 'input', bool) # current input position
self.max_ferror = JointStatusItem(jnum, 'max_ferror', bool) # reflects [JOINT_n]FERROR
self.max_hard_limit = JointStatusItem(jnum, 'max_hard_limit', bool) # max hard limit exceeded flag
self.max_soft_limit = JointStatusItem(jnum, 'max_soft_limit', bool) # max soft limit exceeded flag
self.min_hard_limit = JointStatusItem(jnum, 'min_hard_limit', bool) # min hard limit exceeded flag
self.min_soft_limit = JointStatusItem(jnum, 'min_soft_limit', bool) # max soft limit exceeded flag
self.output = JointStatusItem(jnum, 'output', float) # commanded output position
self.override_limits = JointStatusItem(jnum, 'override_limits', bool) # override limits flag
self.velocity = JointStatusItem(jnum, 'velocity', float) # current velocity
self.units = JointStatusItem(jnum, 'units', float)
self.min_ferror= JointStatusItem(jnum, 'min_ferror', float)
self.max_position_limit = JointStatusItem(jnum, 'max_position_limit', float)
self.min_position_limit = JointStatusItem(jnum, 'min_position_limit', float)