This is my Python code:
print( BP.get_motor_encoder(motor))
time.sleep(0.7)
BP.offset_motor_encoder(motor, BP.get_motor_encoder(motor)) # reset encoder
time.sleep(0.7)
print(BP.get_motor_encoder(motor))
Result:
63
63
I’m mystified!