Closedown

This commit is contained in:
gac-S_Changer
2017-03-01 16:15:13 +01:00
parent 0c9168cb77
commit 7dbdb64b0a

View File

@@ -45,12 +45,9 @@ class jf6(ReadonlyRegisterBase):
class jfc(ReadonlyRegisterBase):
def doRead(self):
if robot.joint_forces == None:
print "*",
return float('NaN')
if robot.powered == False:
print ".",
return float('NaN')
print "!",
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)