RobotStateComponentPlugin Class Reference

Brief description of class RobotAPIComponentPlugins. More...

#include <RobotAPI/libraries/RobotAPIComponentPlugins/RobotStateComponentPlugin.h>

+ Inheritance diagram for RobotStateComponentPlugin:

Classes

struct  RobotData
 

Public Member Functions

VirtualRobot::RobotPtr addRobot (const std::string &id, const std::string &filename, const Ice::StringSeq packages, VirtualRobot::RobotIO::RobotDescription loadMode, const std::string &rnsName="", const std::string &nodeName="")
 
VirtualRobot::RobotPtr addRobot (const std::string &id, const VirtualRobot::RobotPtr &robot, const std::string &rnsName, const std::string &nodeName="")
 
VirtualRobot::RobotPtr addRobot (const std::string &id, const VirtualRobot::RobotPtr &robot, const VirtualRobot::RobotNodeSetPtr &rns={}, const VirtualRobot::RobotNodePtr &node={})
 
VirtualRobot::RobotPtr addRobot (const std::string &id, VirtualRobot::RobotIO::RobotDescription loadMode, const std::string &rnsName="", const std::string &nodeName="")
 
SimpleDiffIK::Result calculateRobotDiffIK (const std::string &id, const Eigen::Matrix4f &targetPose, const SimpleDiffIK::Parameters &params={}) const
 
SimpleDiffIK::Reachability calculateRobotReachability (const std::string &id, const std::vector< Eigen::Matrix4f > &targets, const Eigen::VectorXf &initialJV, const SimpleDiffIK::Parameters &params={}) const
 
void deactivate ()
 
VirtualRobot::RobotPtr getRobot (const std::string &id) const
 
RobotData getRobotData (const std::string &id) const
 
RobotNameHelperPtr getRobotNameHelper () const
 
const RobotStateComponentInterfacePrxgetRobotStateComponent () const
 
const std::string & getRobotStateComponentName () const
 
bool hasRobot (const std::string &id) const
 
void setRobotRNSAndNode (const std::string &id, const std::string &rnsName, const std::string &nodeName)
 
void setRobotStateComponent (const RobotStateComponentInterfacePrx &rsc)
 
void setRobotStateComponentName (const std::string &name)
 
bool synchronizeLocalClone (const RobotData &rdata) const
 
bool synchronizeLocalClone (const RobotData &rdata, const RobotStateConfig &state) const
 
bool synchronizeLocalClone (const RobotData &rdata, Ice::Long timestamp) const
 
bool synchronizeLocalClone (const std::string &id) const
 
bool synchronizeLocalClone (const std::string &id, const RobotStateConfig &state) const
 
bool synchronizeLocalClone (const std::string &id, Ice::Long timestamp) const
 
bool synchronizeLocalClone (const VirtualRobot::RobotPtr &robot) const
 
bool synchronizeLocalClone (const VirtualRobot::RobotPtr &robot, const RobotStateConfig &state) const
 
bool synchronizeLocalClone (const VirtualRobot::RobotPtr &robot, Ice::Long timestamp) const
 
Eigen::Matrix4f transformFromTo (const std::string &from, const std::string &to, const VirtualRobot::RobotPtr &rob)
 
- Public Member Functions inherited from ManagedIceObjectPlugin
ManagedIceObjectparent ()
 
template<class T >
Tparent ()
 
const ManagedIceObjectparent () const
 
template<class T >
const Tparent () const
 
template<class T >
bool parentDerives () const
 
virtual ~ManagedIceObjectPlugin ()=default
 

Protected Member Functions

void postCreatePropertyDefinitions (PropertyDefinitionsPtr &properties) override
 
void postOnDisconnectComponent () override
 
void preOnConnectComponent () override
 
void preOnInitComponent () override
 
- Protected Member Functions inherited from ComponentPlugin
virtual void componentPropertiesUpdated (const std::set< std::string > &changedProperties)
 
 ManagedIceObjectPlugin (ManagedIceObject &parent, std::string pre)
 
- Protected Member Functions inherited from ManagedIceObjectPlugin
template<class PluginT , class... ParamsT>
PluginT * addPlugin (const std::string prefix="", ParamsT &&...params)
 
template<class PluginT , class... ParamsT>
void addPlugin (PluginT *&targ, const std::string prefix="", ParamsT &&...params)
 
template<class PluginT , class... ParamsT>
void addPlugin (std::experimental::observer_ptr< PluginT > &targ, const std::string prefix="", ParamsT &&...params)
 
void addPluginDependency (ManagedIceObjectPlugin *dependedOn)
 
void addPluginDependency (std::experimental::observer_ptr< ManagedIceObjectPlugin > dependedOn)
 
std::string makePropertyName (const std::string &name)
 
 ManagedIceObjectPlugin (ManagedIceObject &parent, std::string pre)
 
virtual void postOnConnectComponent ()
 
virtual void postOnExitComponent ()
 
virtual void postOnInitComponent ()
 
const std::string & prefix () const
 
virtual void preOnDisconnectComponent ()
 
virtual void preOnExitComponent ()
 

Detailed Description

Brief description of class RobotAPIComponentPlugins.

Detailed description of class RobotAPIComponentPlugins.

Definition at line 52 of file RobotStateComponentPlugin.h.

Member Function Documentation

◆ addRobot() [1/4]

VirtualRobot::RobotPtr addRobot ( const std::string &  id,
const std::string &  filename,
const Ice::StringSeq  packages,
VirtualRobot::RobotIO::RobotDescription  loadMode,
const std::string &  rnsName = "",
const std::string &  nodeName = "" 
)

Definition at line 106 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ addRobot() [2/4]

VirtualRobot::RobotPtr addRobot ( const std::string &  id,
const VirtualRobot::RobotPtr robot,
const std::string &  rnsName,
const std::string &  nodeName = "" 
)

Definition at line 75 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ addRobot() [3/4]

VirtualRobot::RobotPtr addRobot ( const std::string &  id,
const VirtualRobot::RobotPtr robot,
const VirtualRobot::RobotNodeSetPtr &  rns = {},
const VirtualRobot::RobotNodePtr &  node = {} 
)

Definition at line 51 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addRobot() [4/4]

VirtualRobot::RobotPtr addRobot ( const std::string &  id,
VirtualRobot::RobotIO::RobotDescription  loadMode,
const std::string &  rnsName = "",
const std::string &  nodeName = "" 
)

Definition at line 99 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ calculateRobotDiffIK()

SimpleDiffIK::Result calculateRobotDiffIK ( const std::string &  id,
const Eigen::Matrix4f &  targetPose,
const SimpleDiffIK::Parameters params = {} 
) const

Definition at line 200 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ calculateRobotReachability()

SimpleDiffIK::Reachability calculateRobotReachability ( const std::string &  id,
const std::vector< Eigen::Matrix4f > &  targets,
const Eigen::VectorXf &  initialJV,
const SimpleDiffIK::Parameters params = {} 
) const

Definition at line 208 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ deactivate()

void deactivate ( )

Definition at line 284 of file RobotStateComponentPlugin.cpp.

◆ getRobot()

VirtualRobot::RobotPtr getRobot ( const std::string &  id) const

Definition at line 113 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRobotData()

RobotStateComponentPlugin::RobotData getRobotData ( const std::string &  id) const

Definition at line 118 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRobotNameHelper()

RobotNameHelperPtr getRobotNameHelper ( ) const

Definition at line 33 of file RobotStateComponentPlugin.cpp.

◆ getRobotStateComponent()

const RobotStateComponentInterfacePrx & getRobotStateComponent ( ) const

Definition at line 150 of file RobotStateComponentPlugin.cpp.

◆ getRobotStateComponentName()

const std::string & getRobotStateComponentName ( ) const

Definition at line 279 of file RobotStateComponentPlugin.cpp.

◆ hasRobot()

bool hasRobot ( const std::string &  id) const

Definition at line 45 of file RobotStateComponentPlugin.cpp.

+ Here is the caller graph for this function:

◆ postCreatePropertyDefinitions()

void postCreatePropertyDefinitions ( PropertyDefinitionsPtr properties)
overrideprotectedvirtual

Reimplemented from ComponentPlugin.

Definition at line 247 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ postOnDisconnectComponent()

void postOnDisconnectComponent ( )
overrideprotectedvirtual

Reimplemented from ManagedIceObjectPlugin.

Definition at line 242 of file RobotStateComponentPlugin.cpp.

◆ preOnConnectComponent()

void preOnConnectComponent ( )
overrideprotectedvirtual

Reimplemented from ManagedIceObjectPlugin.

Definition at line 230 of file RobotStateComponentPlugin.cpp.

◆ preOnInitComponent()

void preOnInitComponent ( )
overrideprotectedvirtual

Reimplemented from ManagedIceObjectPlugin.

Definition at line 217 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ setRobotRNSAndNode()

void setRobotRNSAndNode ( const std::string &  id,
const std::string &  rnsName,
const std::string &  nodeName 
)

Definition at line 125 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ setRobotStateComponent()

void setRobotStateComponent ( const RobotStateComponentInterfacePrx rsc)

Definition at line 38 of file RobotStateComponentPlugin.cpp.

◆ setRobotStateComponentName()

void setRobotStateComponentName ( const std::string &  name)

Definition at line 272 of file RobotStateComponentPlugin.cpp.

+ Here is the caller graph for this function:

◆ synchronizeLocalClone() [1/9]

bool synchronizeLocalClone ( const RobotData rdata) const

Definition at line 170 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [2/9]

bool synchronizeLocalClone ( const RobotData rdata,
const RobotStateConfig &  state 
) const

Definition at line 180 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [3/9]

bool synchronizeLocalClone ( const RobotData rdata,
Ice::Long  timestamp 
) const

Definition at line 175 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [4/9]

bool synchronizeLocalClone ( const std::string &  id) const

Definition at line 185 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [5/9]

bool synchronizeLocalClone ( const std::string &  id,
const RobotStateConfig &  state 
) const

Definition at line 195 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [6/9]

bool synchronizeLocalClone ( const std::string &  id,
Ice::Long  timestamp 
) const

Definition at line 190 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [7/9]

bool synchronizeLocalClone ( const VirtualRobot::RobotPtr robot) const

Definition at line 155 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ synchronizeLocalClone() [8/9]

bool synchronizeLocalClone ( const VirtualRobot::RobotPtr robot,
const RobotStateConfig &  state 
) const

Definition at line 165 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ synchronizeLocalClone() [9/9]

bool synchronizeLocalClone ( const VirtualRobot::RobotPtr robot,
Ice::Long  timestamp 
) const

Definition at line 160 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ transformFromTo()

Eigen::Matrix4f transformFromTo ( const std::string &  from,
const std::string &  to,
const VirtualRobot::RobotPtr rob 
)

Definition at line 289 of file RobotStateComponentPlugin.cpp.

+ Here is the call graph for this function:

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