wrench-based friction compensation