|
This class can be used to visualize object instances from working memory to ArViz. More...
#include <MemoryX/libraries/helpers/VirtualRobotHelpers/ObjectInstanceToRobotNodeAttachments.h>
Public Member Functions | |
void | attachObjectToRobotNode (const memoryx::AttachObjectToRobotNodeInput &attachment) |
void | detachObjectFromRobotNode (const memoryx::DetachObjectFromRobotNodeInput &detachment) |
std::string | getMatchingObjectID (const memoryx::ObjectIdOrClass &object) |
ObjectInstancePtr | getMatchingObjectInstance (const memoryx::ObjectIdOrClass &object) |
Eigen::Matrix4f | getObjectPoseInFrame (ObjectInstancePtr object, const std::string &frame) |
void | initFromProxies (const WorkingMemoryInterfacePrx &workingMemory, const armarx::RobotStateComponentInterfacePrx &robotStateComponent) |
Set the proxies. More... | |
bool | isObjectAttached (const std::string &id) const |
ObjectInstanceToRobotNodeAttachments () | |
std::vector< ObjectInstancePtr > | queryObjects () |
Get all entities from objectInstanceSegment and cast them to ObjectInstance . More... | |
This class can be used to visualize object instances from working memory to ArViz.
Definition at line 23 of file ObjectInstanceToRobotNodeAttachments.h.
Definition at line 15 of file ObjectInstanceToRobotNodeAttachments.cpp.
void attachObjectToRobotNode | ( | const memoryx::AttachObjectToRobotNodeInput & | attachment | ) |
Definition at line 34 of file ObjectInstanceToRobotNodeAttachments.cpp.
void detachObjectFromRobotNode | ( | const memoryx::DetachObjectFromRobotNodeInput & | detachment | ) |
Definition at line 62 of file ObjectInstanceToRobotNodeAttachments.cpp.
std::string getMatchingObjectID | ( | const memoryx::ObjectIdOrClass & | object | ) |
Definition at line 184 of file ObjectInstanceToRobotNodeAttachments.cpp.
ObjectInstancePtr getMatchingObjectInstance | ( | const memoryx::ObjectIdOrClass & | object | ) |
Definition at line 200 of file ObjectInstanceToRobotNodeAttachments.cpp.
Eigen::Matrix4f getObjectPoseInFrame | ( | ObjectInstancePtr | object, |
const std::string & | frame | ||
) |
Definition at line 102 of file ObjectInstanceToRobotNodeAttachments.cpp.
void initFromProxies | ( | const WorkingMemoryInterfacePrx & | workingMemory, |
const armarx::RobotStateComponentInterfacePrx & | robotStateComponent | ||
) |
Set the proxies.
Definition at line 20 of file ObjectInstanceToRobotNodeAttachments.cpp.
bool isObjectAttached | ( | const std::string & | id | ) | const |
Definition at line 179 of file ObjectInstanceToRobotNodeAttachments.cpp.
std::vector< ObjectInstancePtr > queryObjects | ( | ) |
Get all entities from objectInstanceSegment
and cast them to ObjectInstance
.
Definition at line 85 of file ObjectInstanceToRobotNodeAttachments.cpp.