Namespaces | |
convert | |
debug | |
entity | |
factory | |
internal | |
pool | |
signalBase | |
Classes | |
class | Interpreter |
class | PythonSignalContainer |
class | SignalWrapper |
Typedefs | |
typedef shared_ptr< Interpreter > | InterpreterPtr_t |
typedef Eigen::MatrixXd | Matrix |
typedef Eigen::Matrix< double, 4, 4 > | Matrix4 |
typedef Eigen::Transform< double, 3, Eigen::Affine > | MatrixHomogeneous |
typedef Eigen::Matrix< double, 3, 3 > | MatrixRotation |
typedef Eigen::Matrix< double, 6, 6 > | MatrixTwist |
typedef Eigen::Quaternion< double > | Quaternion |
typedef Eigen::VectorXd | Vector |
typedef Eigen::Vector3d | Vector3 |
typedef Eigen::Matrix< double, 7, 1 > | Vector7 |
typedef Eigen::AngleAxis< double > | VectorUTheta |
Functions | |
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (PythonSignalContainer, "PythonSignalContainer") | |
void | enableTrace (bool enable, const char *filename) |
template<typename T , typename bases = boost::python::bases<dynamicgraph::Entity>, int Options = AddCommands | AddSignals> | |
auto | exposeEntity () |
template<typename T , typename Time > | |
auto | exposeSignal (const std::string &name) |
template<> | |
auto | exposeSignal< MatrixHomogeneous, sigtime_t > (const std::string &name) |
template<typename Time > | |
void | exposeSignalBase (const char *name) |
template<typename T , typename Time > | |
auto | exposeSignalPtr (const std::string &name) |
void | exposeSignals () |
template<typename T , typename Time > | |
void | exposeSignalsOfType (const std::string &name) |
template<typename T , typename Time > | |
auto | exposeSignalTimeDependent (const std::string &name) |
template<typename T , typename Time > | |
auto | exposeSignalWrapper (const std::string &name) |
bool | HandleErr (std::string &err, PyObject *globals_, int PythonInputType) |
void | plug (SignalBase< sigtime_t > *signalOut, SignalBase< sigtime_t > *signalIn) |
plug a signal into another one. More... | |
template<typename Iterator > | |
bp::list | to_py_list (Iterator begin, Iterator end) |
template<typename Iterator > | |
bp::tuple | to_py_tuple (Iterator begin, Iterator end) |
template<typename T > | |
std::vector< T > | to_std_vector (const bp::object &iterable) |
Variables | |
constexpr int | AddCommands = 2 |
constexpr int | AddSignals = 1 |
static const std::string | pythonPrefix [8] |
typedef shared_ptr<Interpreter> dynamicgraph::python::InterpreterPtr_t |
typedef Eigen::MatrixXd dynamicgraph::python::Matrix |
Definition at line 32 of file signal-base-py.cc.
typedef Eigen::Matrix<double, 4, 4> dynamicgraph::python::Matrix4 |
Definition at line 34 of file signal-base-py.cc.
typedef Eigen::Transform<double, 3, Eigen::Affine> dynamicgraph::python::MatrixHomogeneous |
Definition at line 35 of file signal-base-py.cc.
typedef Eigen::Matrix<double, 3, 3> dynamicgraph::python::MatrixRotation |
Definition at line 33 of file signal-base-py.cc.
typedef Eigen::Matrix<double, 6, 6> dynamicgraph::python::MatrixTwist |
Definition at line 36 of file signal-base-py.cc.
typedef Eigen::Quaternion<double> dynamicgraph::python::Quaternion |
Definition at line 26 of file signal-base-py.cc.
typedef Eigen::VectorXd dynamicgraph::python::Vector |
Definition at line 28 of file signal-base-py.cc.
typedef Eigen::Vector3d dynamicgraph::python::Vector3 |
Definition at line 29 of file signal-base-py.cc.
typedef Eigen::Matrix<double, 7, 1> dynamicgraph::python::Vector7 |
Definition at line 30 of file signal-base-py.cc.
typedef Eigen::AngleAxis<double> dynamicgraph::python::VectorUTheta |
Definition at line 25 of file signal-base-py.cc.
dynamicgraph::python::DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN | ( | PythonSignalContainer | , |
"PythonSignalContainer" | |||
) |
void dynamicgraph::python::enableTrace | ( | bool | enable, |
const char * | filename | ||
) |
Definition at line 39 of file dynamic-graph-py.cc.
|
inline |
Options | by default, all the signals and commands are added as attribute to the Python object. This behaviour works fine for entities that have static commands and signals. If some commands or signals are added or removed dynamiccally, then it is better to disable the default behaviour and handle it specifically. |
auto dynamicgraph::python::exposeSignal | ( | const std::string & | name | ) |
auto dynamicgraph::python::exposeSignal< MatrixHomogeneous, sigtime_t > | ( | const std::string & | name | ) |
Definition at line 89 of file signal-base-py.cc.
void dynamicgraph::python::exposeSignalBase | ( | const char * | name | ) |
Definition at line 39 of file signal-base-py.cc.
auto dynamicgraph::python::exposeSignalPtr | ( | const std::string & | name | ) |
void dynamicgraph::python::exposeSignals | ( | ) |
Definition at line 107 of file signal-base-py.cc.
void dynamicgraph::python::exposeSignalsOfType | ( | const std::string & | name | ) |
auto dynamicgraph::python::exposeSignalTimeDependent | ( | const std::string & | name | ) |
auto dynamicgraph::python::exposeSignalWrapper | ( | const std::string & | name | ) |
bool dynamicgraph::python::HandleErr | ( | std::string & | err, |
PyObject * | globals_, | ||
int | PythonInputType | ||
) |
Definition at line 39 of file interpreter.cc.
void dynamicgraph::python::plug | ( | SignalBase< sigtime_t > * | signalOut, |
SignalBase< sigtime_t > * | signalIn | ||
) |
plug a signal into another one.
Definition at line 35 of file dynamic-graph-py.cc.
|
inline |
Definition at line 21 of file dynamic-graph-py.hh.
|
inline |
Definition at line 29 of file dynamic-graph-py.hh.
|
inline |
Definition at line 34 of file dynamic-graph-py.hh.
|
constexpr |
|
constexpr |
|
static |
Definition at line 21 of file interpreter.cc.