Inhibit measuring if one of the joints is near endstop