icub-client
Classes | Functions | Variables
SAM.SAM_Core.interactionSAMModel Namespace Reference

Classes

class  interactionSAMModel
 Generic interaction function. More...
 

Functions

def exception_hook (exc_type, exc_value, exc_traceback)
 Callback function to record any errors that occur in the log files. More...
 

Variables

 precision
 
 mod = interactionSAMModel()
 
 rf = yarp.ResourceFinder()
 

Function Documentation

◆ exception_hook()

def SAM.SAM_Core.interactionSAMModel.exception_hook (   exc_type,
  exc_value,
  exc_traceback 
)

Callback function to record any errors that occur in the log files.

Documentation
Substitutes the standard python exception_hook with one that records the error into a log file. Can only work if interactionSAMModel.py is called from python and not ipython because ipython overrides this substitution.
Parameters
exc_typeException Type.
exc_valueException Value.
exc_tracebackException Traceback.
Returns
None

Definition at line 875 of file interactionSAMModel.py.

Variable Documentation

◆ mod

SAM.SAM_Core.interactionSAMModel.mod = interactionSAMModel()

Definition at line 883 of file interactionSAMModel.py.

◆ precision

SAM.SAM_Core.interactionSAMModel.precision

Definition at line 21 of file interactionSAMModel.py.

◆ rf

SAM.SAM_Core.interactionSAMModel.rf = yarp.ResourceFinder()

Definition at line 884 of file interactionSAMModel.py.