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

Classes

class  SamSupervisorModule
 Model management and supervisor. 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

 samMod = SamSupervisorModule()
 
 yrf = yarp.ResourceFinder()
 

Function Documentation

◆ exception_hook()

def SAM.SAM_Core.samSupervisor.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 1742 of file samSupervisor.py.

Variable Documentation

◆ samMod

SAM.SAM_Core.samSupervisor.samMod = SamSupervisorModule()

Definition at line 1751 of file samSupervisor.py.

◆ yrf

SAM.SAM_Core.samSupervisor.yrf = yarp.ResourceFinder()

Definition at line 1752 of file samSupervisor.py.