setId method

void setId(
  1. int i
)

set the id of the joint

Implementation

void setId(int i){
  id = i;
}