Public Member Functions | Public Attributes | Protected Attributes | List of all members
robotis_framework::MotionModule Class Referenceabstract

#include <motion_module.h>

Public Member Functions

ControlMode getControlMode ()
 
bool getModuleEnable ()
 
std::string getModuleName ()
 
virtual void initialize (const int control_cycle_msec, Robot *robot)=0
 
virtual bool isRunning ()=0
 
virtual void onModuleDisable ()
 
virtual void onModuleEnable ()
 
virtual void process (std::map< std::string, Dynamixel * > dxls, std::map< std::string, double > sensors)=0
 
void setModuleEnable (bool enable)
 
virtual void stop ()=0
 
virtual ~MotionModule ()
 

Public Attributes

std::map< std::string, DynamixelState * > result_
 

Protected Attributes

ControlMode control_mode_
 
bool enable_
 
std::string module_name_
 

Detailed Description

Definition at line 45 of file motion_module.h.

Constructor & Destructor Documentation

virtual robotis_framework::MotionModule::~MotionModule ( )
inlinevirtual

Definition at line 55 of file motion_module.h.

Member Function Documentation

ControlMode robotis_framework::MotionModule::getControlMode ( )
inline

Definition at line 58 of file motion_module.h.

bool robotis_framework::MotionModule::getModuleEnable ( )
inline

Definition at line 71 of file motion_module.h.

std::string robotis_framework::MotionModule::getModuleName ( )
inline

Definition at line 57 of file motion_module.h.

virtual void robotis_framework::MotionModule::initialize ( const int  control_cycle_msec,
Robot robot 
)
pure virtual
virtual bool robotis_framework::MotionModule::isRunning ( )
pure virtual
virtual void robotis_framework::MotionModule::onModuleDisable ( )
inlinevirtual

Definition at line 74 of file motion_module.h.

virtual void robotis_framework::MotionModule::onModuleEnable ( )
inlinevirtual

Definition at line 73 of file motion_module.h.

virtual void robotis_framework::MotionModule::process ( std::map< std::string, Dynamixel * >  dxls,
std::map< std::string, double >  sensors 
)
pure virtual
void robotis_framework::MotionModule::setModuleEnable ( bool  enable)
inline

Definition at line 60 of file motion_module.h.

virtual void robotis_framework::MotionModule::stop ( )
pure virtual

Member Data Documentation

ControlMode robotis_framework::MotionModule::control_mode_
protected

Definition at line 50 of file motion_module.h.

bool robotis_framework::MotionModule::enable_
protected

Definition at line 48 of file motion_module.h.

std::string robotis_framework::MotionModule::module_name_
protected

Definition at line 49 of file motion_module.h.

std::map<std::string, DynamixelState *> robotis_framework::MotionModule::result_

Definition at line 53 of file motion_module.h.


The documentation for this class was generated from the following file:


robotis_framework_common
Author(s): Zerom , Kayman , SCH
autogenerated on Mon Jun 10 2019 14:35:11