Closedown
This commit is contained in:
@@ -46,7 +46,7 @@ class jfc(ReadonlyRegisterBase):
|
||||
def doRead(self):
|
||||
if robot.joint_forces == None:
|
||||
return None
|
||||
if not robot.powered:
|
||||
if robot.powered == False:
|
||||
return None
|
||||
return (robot.joint_forces[1]+74)/4 + (robot.joint_forces[2]+30)/4 + (robot.joint_forces[4]-0.8)/0.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user