Fixed joint numbering for setting joint event thresholds