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 35 of file pytf.cpp.


Function Documentation

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

Definition at line 142 of file pytf.cpp.

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

Definition at line 148 of file pytf.cpp.

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

Definition at line 247 of file pytf.cpp.

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

Definition at line 154 of file pytf.cpp.

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

Definition at line 166 of file pytf.cpp.

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

Definition at line 257 of file pytf.cpp.

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

Definition at line 422 of file pytf.cpp.

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

Definition at line 429 of file pytf.cpp.

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

Definition at line 438 of file pytf.cpp.

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

Definition at line 279 of file pytf.cpp.

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

Definition at line 134 of file pytf.cpp.

void init_tf ( )

Definition at line 474 of file pytf.cpp.

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

Definition at line 302 of file pytf.cpp.

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

Definition at line 320 of file pytf.cpp.

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

Definition at line 345 of file pytf.cpp.

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

Definition at line 363 of file pytf.cpp.

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

Definition at line 74 of file pytf.cpp.

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

Definition at line 95 of file pytf.cpp.

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

Definition at line 82 of file pytf.cpp.

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

Definition at line 389 of file pytf.cpp.

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

Definition at line 124 of file pytf.cpp.

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

Definition at line 108 of file pytf.cpp.

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

Definition at line 185 of file pytf.cpp.

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

Definition at line 214 of file pytf.cpp.


Variable Documentation

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

Definition at line 469 of file pytf.cpp.

PyObject* pModulerospy = NULL [static]

Definition at line 58 of file pytf.cpp.

PyObject* tf_connectivityexception = NULL [static]

Definition at line 60 of file pytf.cpp.

PyObject* tf_exception = NULL [static]

Definition at line 59 of file pytf.cpp.

PyObject * tf_extrapolationexception = NULL [static]

Definition at line 60 of file pytf.cpp.

PyObject * tf_lookupexception = NULL [static]

Definition at line 60 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 446 of file pytf.cpp.

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

Definition at line 67 of file pytf.cpp.



tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Aug 27 2015 13:02:09