AuboCaps
0.6.0
|
#include <set_payload_node.h>
Public Types | |
enum | ConfigType { PAYLOAD_SELECTION, CUSTOM_PARAMETERS } |
This base interface represents a configuration of the Set Payload program node (i.e. More... | |
Public Member Functions | |
SetPayloadNode (SetPayloadNode &f) | |
SetPayloadNode (SetPayloadNode &&f) | |
virtual | ~SetPayloadNode () |
ConfigType | getConfigType () |
This method returns the type of configuration. More... | |
void | setConfigType (ConfigType type) |
double | getMass () |
void | setMass (double mass) |
std::vector< double > | getCenterOfGravity () |
Gets the payload's center of gravity (CoG), also referred to as center of mass. More... | |
void | setCenterOfGravity (const std::vector< double > &cog) |
Public Member Functions inherited from arcs::aubo_scope::ProgramNode | |
ProgramNode (ProgramNode &f) | |
ProgramNode (ProgramNode &&f) | |
virtual | ~ProgramNode () |
ProgramNodeContributionPtr | getProgramNodeContribution () |
不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren More... | |
Private Member Functions | |
SetPayloadNode () | |
Private Attributes | |
void * | d_ { nullptr } |
Friends | |
class | DataSwitch |
Additional Inherited Members | |
Protected Member Functions inherited from arcs::aubo_scope::ProgramNode | |
ProgramNode () | |
Definition at line 11 of file set_payload_node.h.
This base interface represents a configuration of the Set Payload program node (i.e.
a SetPayloadNode instance).
Enumerator | |
---|---|
PAYLOAD_SELECTION |
A payload (from the installation) is selected. The config instance can be cast to SelectionPayloadNodeConfig. |
CUSTOM_PARAMETERS |
Custom payload parameters are specified. The config instance can be cast to CustomParametersPayloadNodeConfig. |
Definition at line 19 of file set_payload_node.h.
arcs::aubo_scope::SetPayloadNode::SetPayloadNode | ( | SetPayloadNode & | f | ) |
arcs::aubo_scope::SetPayloadNode::SetPayloadNode | ( | SetPayloadNode && | f | ) |
|
virtual |
|
private |
std::vector<double> arcs::aubo_scope::SetPayloadNode::getCenterOfGravity | ( | ) |
Gets the payload's center of gravity (CoG), also referred to as center of mass.
It is defined as the offset between the center of the tool output flange and the center of gravity of the attached payload.
ConfigType arcs::aubo_scope::SetPayloadNode::getConfigType | ( | ) |
This method returns the type of configuration.
Cast this instance appropriately to have access to specific getters.
double arcs::aubo_scope::SetPayloadNode::getMass | ( | ) |
void arcs::aubo_scope::SetPayloadNode::setCenterOfGravity | ( | const std::vector< double > & | cog | ) |
void arcs::aubo_scope::SetPayloadNode::setConfigType | ( | ConfigType | type | ) |
void arcs::aubo_scope::SetPayloadNode::setMass | ( | double | mass | ) |
|
friend |
Definition at line 73 of file set_payload_node.h.
|
private |
Definition at line 75 of file set_payload_node.h.