joint_degrees_of_freedom Function

public pure function joint_degrees_of_freedom(jtype) result(rst)

Gets the number of degrees of freedom permitted by the requested joint type.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: jtype

The joint type.

Return Value integer(kind=int32)

The number of degrees of freedom. A value of -1 is returned if the joint type is not recognized.


Contents