added missing exception print
This commit is contained in:
parent
887d1c9e35
commit
6c92acf385
|
@ -40,7 +40,8 @@ class URSentry:
|
||||||
self.robot.get_joint_speeds()
|
self.robot.get_joint_speeds()
|
||||||
except KeyboardInterrupt as ki:
|
except KeyboardInterrupt as ki:
|
||||||
raise ki
|
raise ki
|
||||||
except:
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
print("########################################################")
|
print("########################################################")
|
||||||
print("#### MODBUS HEALTHCHECK FAILED ####")
|
print("#### MODBUS HEALTHCHECK FAILED ####")
|
||||||
print("########################################################")
|
print("########################################################")
|
||||||
|
@ -314,7 +315,7 @@ class URSentry:
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
host = "172.22.114.160"
|
host = "172.22.114.160"
|
||||||
sentry = URSentry(host)
|
sentry = URSentry(host)
|
||||||
#sentry.sentry_position()
|
sentry.sentry_position()
|
||||||
# sleep(3)
|
# sleep(3)
|
||||||
#sentry.robot.movej(sentry.looking_down_pose, a=0.5, v=1.5)
|
#sentry.robot.movej(sentry.looking_down_pose, a=0.5, v=1.5)
|
||||||
#sleep(3)
|
#sleep(3)
|
||||||
|
|
Loading…
Reference in New Issue