Closedown

This commit is contained in:
gac-S_Changer
2017-03-01 16:09:14 +01:00
parent 142dfb9acb
commit 31a4833498

View File

@@ -46,6 +46,8 @@ class jfc(ReadonlyRegisterBase):
def doRead(self):
if robot.joint_forces == None:
return None
if not robot.powered:
return None
return (robot.joint_forces[1]+74)/4 + (robot.joint_forces[2]+30)/4 + (robot.joint_forces[4]-0.8)/0.2
add_device(jf1(), force = True)