#include <PyBody.h>
Public Types | |
enum | { STRUCTURE, KINEMATICS } |
Public Member Functions | |
PyObject * | calcCM () |
void | calcForwardKinematics () |
std::string | getName () |
PyObject * | getPosition () |
PyObject * | getPosture () |
PyObject * | getRotation () |
PyLink * | joint (int i) |
PyObject * | joints () |
PyLink * | link (std::string name) |
PyObject * | links () |
void | notifyChanged (int change) |
PyBody (RTC::Manager *manager=&RTC::Manager::instance()) | |
PyLink * | rootLink () |
void | setListener (PySimulator *i_sim) |
void | setPosition (PyObject *v) |
void | setPosture (PyObject *v) |
void | setRotation (PyObject *v) |
virtual | ~PyBody () |
Static Public Member Functions | |
static void | moduleInit (RTC::Manager *) |
Private Attributes | |
PySimulator * | simulator |
Static Private Attributes | |
static const char * | pybody_spec [] |
PyBody::PyBody | ( | RTC::Manager * | manager = &RTC::Manager::instance() | ) |
Definition at line 26 of file PyBody.cpp.
PyBody::~PyBody | ( | ) | [virtual] |
Definition at line 30 of file PyBody.cpp.
PyObject * PyBody::calcCM | ( | ) |
Reimplemented from hrp::Body.
Definition at line 120 of file PyBody.cpp.
Definition at line 76 of file PyBody.cpp.
std::string PyBody::getName | ( | void | ) |
Definition at line 115 of file PyBody.cpp.
PyObject * PyBody::getPosition | ( | ) |
Definition at line 55 of file PyBody.cpp.
PyObject * PyBody::getPosture | ( | ) |
Definition at line 65 of file PyBody.cpp.
PyObject * PyBody::getRotation | ( | ) |
Definition at line 60 of file PyBody.cpp.
PyLink * PyBody::joint | ( | int | i | ) |
Definition at line 101 of file PyBody.cpp.
PyObject * PyBody::joints | ( | ) |
Definition at line 105 of file PyBody.cpp.
PyLink * PyBody::link | ( | std::string | name | ) |
Definition at line 86 of file PyBody.cpp.
PyObject * PyBody::links | ( | ) |
Definition at line 91 of file PyBody.cpp.
void PyBody::moduleInit | ( | RTC::Manager * | manager | ) | [static] |
Reimplemented from BodyRTC.
Definition at line 153 of file PyBody.cpp.
void PyBody::notifyChanged | ( | int | change | ) |
Definition at line 130 of file PyBody.cpp.
PyLink * PyBody::rootLink | ( | ) |
Definition at line 81 of file PyBody.cpp.
void PyBody::setListener | ( | PySimulator * | i_sim | ) |
Definition at line 143 of file PyBody.cpp.
void PyBody::setPosition | ( | PyObject * | v | ) |
Definition at line 35 of file PyBody.cpp.
void PyBody::setPosture | ( | PyObject * | v | ) |
Definition at line 45 of file PyBody.cpp.
void PyBody::setRotation | ( | PyObject * | v | ) |
Definition at line 40 of file PyBody.cpp.
const char * PyBody::pybody_spec [static, private] |
{ "implementation_id", "PyBody", "type_name", "PyBody", "description", "PyBody component", "version", "0.1", "vendor", "AIST", "category", "Generic", "activity_type", "DataFlowComponent", "max_instance", "10", "language", "C++", "lang_type", "compile", "" }
PySimulator* PyBody::simulator [private] |