All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SoTTalosController Class Reference

#include <sot-talos-controller.hh>

Inheritance diagram for SoTTalosController:
[legend]
Collaboration diagram for SoTTalosController:
[legend]

Public Member Functions

 SoTTalosController ()
 
 SoTTalosController (const char robotName[])
 
 SoTTalosController (std::string robotName)
 
virtual ~SoTTalosController ()
 
void setupSetSensors (std::map< std::string, dgsot::SensorValues > &sensorsIn)
 
void nominalSetSensors (std::map< std::string, dgsot::SensorValues > &sensorsIn)
 
void cleanupSetSensors (std::map< std::string, dgsot::SensorValues > &sensorsIn)
 
void getControl (std::map< std::string, dgsot::ControlValues > &anglesOut)
 
void setNoIntegration (void)
 
void setSecondOrderIntegration (void)
 
- Public Member Functions inherited from dynamicgraph::sot::AbstractSotExternalInterface
 AbstractSotExternalInterface ()
 
virtual ~AbstractSotExternalInterface ()
 

Public Attributes

boost::shared_ptr
< dynamicgraph::Interpreter > 
interpreter_
 Embedded python interpreter accessible via Corba/ros. More...
 
boost::shared_ptr
< ros::NodeHandle > 
nh_
 
boost::shared_ptr
< ros::AsyncSpinner > 
spinner_
 

Static Public Attributes

static const std::string LOG_PYTHON ="/tmp/TalosController_python.out"
 

Protected Member Functions

void updateRobotState (std::vector< double > &anglesIn)
 
void runPython (std::ostream &file, const std::string &command, dynamicgraph::Interpreter &interpreter)
 Run a python command. More...
 
virtual void startupPython ()
 
void init ()
 

Protected Attributes

SoTTalosDevicedevice_
 

Constructor & Destructor Documentation

SoTTalosController::SoTTalosController ( )
SoTTalosController::SoTTalosController ( const char  robotName[])

References init().

SoTTalosController::SoTTalosController ( std::string  robotName)

References init().

SoTTalosController::~SoTTalosController ( )
virtual

Member Function Documentation

void SoTTalosController::cleanupSetSensors ( std::map< std::string, dgsot::SensorValues > &  sensorsIn)
virtual
void SoTTalosController::getControl ( std::map< std::string, dgsot::ControlValues > &  anglesOut)
virtual
void SoTTalosController::init ( void  )
protected
void SoTTalosController::nominalSetSensors ( std::map< std::string, dgsot::SensorValues > &  sensorsIn)
virtual
void SoTTalosController::runPython ( std::ostream &  file,
const std::string &  command,
dynamicgraph::Interpreter &  interpreter 
)
protected

Run a python command.

Referenced by SoTPyreneController::startupPython(), and startupPython().

void SoTTalosController::setNoIntegration ( void  )
virtual
void SoTTalosController::setSecondOrderIntegration ( void  )
virtual
void SoTTalosController::setupSetSensors ( std::map< std::string, dgsot::SensorValues > &  sensorsIn)
virtual
void SoTTalosController::startupPython ( )
protectedvirtual
void SoTTalosController::updateRobotState ( std::vector< double > &  anglesIn)
protected

Member Data Documentation

boost::shared_ptr<dynamicgraph::Interpreter> SoTTalosController::interpreter_

Embedded python interpreter accessible via Corba/ros.

Referenced by init(), SoTPyreneController::SoTPyreneController(), SoTPyreneController::startupPython(), and startupPython().

const std::string SoTTalosController::LOG_PYTHON ="/tmp/TalosController_python.out"
static

Referenced by startupPython().

boost::shared_ptr<ros::NodeHandle> SoTTalosController::nh_
boost::shared_ptr<ros::AsyncSpinner> SoTTalosController::spinner_