Change scan time according to change of joint state