parameters: (
        self,
        action: typing.Sequence[float],
        control_mode: robot_config.MotorControlMode,
    )
docstring: Validate the action w.r.t to the motor states.
  
      Args:
        action: The motor commands sent to the robot.
        control_mode: The motor control mode.
  
      Raises:
        A safety exception if action checking fails.
docstring_summary: Validate the action w.r.t to the motor states.
docstring_tokens: Validate the action w . r . t to the motor states .
function: def check_motor_action(
        self,
        action: typing.Sequence[float],
        control_mode: robot_config.MotorControlMode,
    ) -> None:
      """Validate the action w.r.t to the motor states.
  
      Args:
        action: The motor commands sent to the robot.
        control_mode: The motor control mode.
  
      Raises:
        A safety exception if action checking fails.
      """
      motor_action_list = utilities.convert_to_motor_action(
          self._robot, action, control_mode)
      for motor_id, validator in enumerate(self._motor_action_validators):
        validator.on_action(motor_action_list[motor_id], control_mode)
function_tokens: def check_motor_action ( self , action : typing . Sequence [ float ] , control_mode : robot_config . MotorControlMode , ) -> None : motor_action_list = utilities . convert_to_motor_action ( self . _robot , action , control_mode ) for motor_id , validator in enumerate ( self . _motor_action_validators ) : validator . on_action ( motor_action_list [ motor_id ] , control_mode )