Classes | Defines | Functions | Variables
pytf.cpp File Reference
#include <Python.h>
#include "tf/tf.h"
Include dependency graph for pytf.cpp:

Go to the source code of this file.

Classes

struct  transformer_t

Defines

#define WRAP(x)

Functions

static PyObject * allFramesAsDot (PyObject *self, PyObject *args)
static PyObject * allFramesAsString (PyObject *self, PyObject *args)
static PyObject * asListOfStrings (std::vector< std::string > los)
static PyObject * canTransform (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * canTransformFull (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * chain (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * clear (PyObject *self, PyObject *args)
static PyObject * frameExists (PyObject *self, PyObject *args)
static PyObject * getFrameStrings (PyObject *self, PyObject *args)
static PyObject * getLatestCommonTime (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * getTFPrefix (PyObject *self, PyObject *args)
void init_tf ()
static PyObject * lookupTransform (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * lookupTransformFull (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * lookupTwist (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * lookupTwistFull (PyObject *self, PyObject *args)
static PyObject * PyObject_BorrowAttrString (PyObject *o, const char *name)
static int rosduration_converter (PyObject *obj, ros::Duration *rt)
static int rostime_converter (PyObject *obj, ros::Time *rt)
static PyObject * setTransform (PyObject *self, PyObject *args)
static PyObject * setUsingDedicatedThread (PyObject *self, PyObject *args)
static int Transformer_init (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * waitForTransform (PyObject *self, PyObject *args, PyObject *kw)
static PyObject * waitForTransformFull (PyObject *self, PyObject *args, PyObject *kw)

Variables

static PyMethodDef module_methods []
static PyObject * pModulerospy = NULL
static PyObject * tf_connectivityexception = NULL
static PyObject * tf_exception = NULL
static PyObject * tf_extrapolationexception = NULL
static PyObject * tf_lookupexception = NULL
static struct PyMethodDef transformer_methods []
static PyTypeObject transformer_Type

Define Documentation

#define WRAP (   x)
Value:
do { \
  try \
  { \
    x; \
  }  \
  catch (const tf::ConnectivityException &e) \
  { \
    PyErr_SetString(tf_connectivityexception, e.what()); \
    return NULL; \
  } \
  catch (const tf::LookupException &e) \
  { \
    PyErr_SetString(tf_lookupexception, e.what()); \
    return NULL; \
  } \
  catch (const tf::ExtrapolationException &e) \
  { \
    PyErr_SetString(tf_extrapolationexception, e.what()); \
    return NULL; \
  } \
  } while (0)

Definition at line 7 of file pytf.cpp.


Function Documentation

static PyObject* allFramesAsDot ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 114 of file pytf.cpp.

static PyObject* allFramesAsString ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 120 of file pytf.cpp.

static PyObject* asListOfStrings ( std::vector< std::string >  los) [static]

Definition at line 219 of file pytf.cpp.

static PyObject* canTransform ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 126 of file pytf.cpp.

static PyObject* canTransformFull ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 138 of file pytf.cpp.

static PyObject* chain ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 229 of file pytf.cpp.

static PyObject* clear ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 394 of file pytf.cpp.

static PyObject* frameExists ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 401 of file pytf.cpp.

static PyObject* getFrameStrings ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 410 of file pytf.cpp.

static PyObject* getLatestCommonTime ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 251 of file pytf.cpp.

static PyObject* getTFPrefix ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 106 of file pytf.cpp.

void init_tf ( )

Definition at line 446 of file pytf.cpp.

static PyObject* lookupTransform ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 274 of file pytf.cpp.

static PyObject* lookupTransformFull ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 292 of file pytf.cpp.

static PyObject* lookupTwist ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 317 of file pytf.cpp.

static PyObject* lookupTwistFull ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 335 of file pytf.cpp.

static PyObject* PyObject_BorrowAttrString ( PyObject *  o,
const char *  name 
) [static]

Definition at line 46 of file pytf.cpp.

static int rosduration_converter ( PyObject *  obj,
ros::Duration rt 
) [static]

Definition at line 67 of file pytf.cpp.

static int rostime_converter ( PyObject *  obj,
ros::Time rt 
) [static]

Definition at line 54 of file pytf.cpp.

static PyObject* setTransform ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 361 of file pytf.cpp.

static PyObject* setUsingDedicatedThread ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 96 of file pytf.cpp.

static int Transformer_init ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 80 of file pytf.cpp.

static PyObject* waitForTransform ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 157 of file pytf.cpp.

static PyObject* waitForTransformFull ( PyObject *  self,
PyObject *  args,
PyObject *  kw 
) [static]

Definition at line 186 of file pytf.cpp.


Variable Documentation

PyMethodDef module_methods[] [static]
Initial value:
 {
  
  {NULL, NULL, NULL},
}

Definition at line 441 of file pytf.cpp.

PyObject* pModulerospy = NULL [static]

Definition at line 30 of file pytf.cpp.

PyObject* tf_connectivityexception = NULL [static]

Definition at line 32 of file pytf.cpp.

PyObject* tf_exception = NULL [static]

Definition at line 31 of file pytf.cpp.

PyObject * tf_extrapolationexception = NULL [static]

Definition at line 32 of file pytf.cpp.

PyObject * tf_lookupexception = NULL [static]

Definition at line 32 of file pytf.cpp.

struct PyMethodDef transformer_methods[] [static]
Initial value:
{
  {"allFramesAsDot", allFramesAsDot, METH_VARARGS},
  {"allFramesAsString", allFramesAsString, METH_VARARGS},
  {"setTransform", setTransform, METH_VARARGS},
  {"canTransform", (PyCFunction)canTransform, METH_KEYWORDS},
  {"canTransformFull", (PyCFunction)canTransformFull, METH_KEYWORDS},
  {"waitForTransform", (PyCFunction)waitForTransform, METH_KEYWORDS},
  {"waitForTransformFull", (PyCFunction)waitForTransformFull, METH_KEYWORDS},
  {"chain", (PyCFunction)chain, METH_KEYWORDS},
  {"clear", (PyCFunction)clear, METH_KEYWORDS},
  {"frameExists", (PyCFunction)frameExists, METH_VARARGS},
  {"getFrameStrings", (PyCFunction)getFrameStrings, METH_VARARGS},
  {"getLatestCommonTime", (PyCFunction)getLatestCommonTime, METH_VARARGS},
  {"lookupTransform", (PyCFunction)lookupTransform, METH_KEYWORDS},
  {"lookupTransformFull", (PyCFunction)lookupTransformFull, METH_KEYWORDS},
  {"lookupTwist", (PyCFunction)lookupTwist, METH_KEYWORDS},
  {"lookupTwistFull", lookupTwistFull, METH_VARARGS},
  {"setUsingDedicatedThread", (PyCFunction)setUsingDedicatedThread, METH_VARARGS},
  {"getTFPrefix", (PyCFunction)getTFPrefix, METH_VARARGS},
  {NULL,          NULL}
}

Definition at line 418 of file pytf.cpp.

PyTypeObject transformer_Type [static]
Initial value:
 {
  PyObject_HEAD_INIT(&PyType_Type)
  0,                               
  "_tf.Transformer",                
  sizeof(transformer_t),           
}

Definition at line 39 of file pytf.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Aug 22 2013 11:29:01