parameters: (self, ctrl: List[float])
docstring: Raises an exception if the control input is NaN or does not match the
          joint dimensions.
docstring_summary: Raises an exception if the control input is NaN or does not match the
          joint dimensions.
docstring_tokens: Raises an exception if the control input is NaN or does not match the joint dimensions .
function: def _validate_arm_ctrl_input(self, ctrl: List[float]):
          """
          Raises an exception if the control input is NaN or does not match the
          joint dimensions.
          """
          if len(ctrl) != len(self.params.arm_joints):
              raise ValueError("Control dimension does not match joint dimension")
          if np.any(np.isnan(ctrl)):
              raise ValueError("Control is NaN")
function_tokens: def _validate_arm_ctrl_input ( self , ctrl : List [ float ] ) : if len ( ctrl ) != len ( self . params . arm_joints ) : raise ValueError ( "Control dimension does not match joint dimension" ) if np . any ( np . isnan ( ctrl ) ) : raise ValueError ( "Control is NaN" )