Compensation of coulomb friction in joint