Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
visp.python.rbt.PythonRBExtensions.PythonRBExtensions Class Reference

Public Member Functions

 __init__ (self)
 parse_python_extensions (self, RBTracker tracker, Path json_path)

Public Attributes

 xfeat_backend = XFeatTrackingBackend(4096, 0.8)
list extensions = []

Detailed Description

This class is used to keep references to Python created types:
If we do not do so, Python loses track of Python types that override C++ types
and "slices" them back to pure cpp objects when calling eg. tracker.getOdometryMethod()

Definition at line 10 of file PythonRBExtensions.py.

Constructor & Destructor Documentation

◆ __init__()

visp.python.rbt.PythonRBExtensions.PythonRBExtensions.__init__ ( self)

Definition at line 16 of file PythonRBExtensions.py.

Member Function Documentation

◆ parse_python_extensions()

visp.python.rbt.PythonRBExtensions.PythonRBExtensions.parse_python_extensions ( self,
RBTracker tracker,
Path json_path )

Definition at line 20 of file PythonRBExtensions.py.

References extensions, and xfeat_backend.

Member Data Documentation

◆ extensions

list visp.python.rbt.PythonRBExtensions.PythonRBExtensions.extensions = []

Definition at line 18 of file PythonRBExtensions.py.

Referenced by parse_python_extensions().

◆ xfeat_backend