IRI ROS Specific Algorithm Class. More...
#include <tibi_dabo_hri_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 71 of file tibi_dabo_hri_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 3 of file tibi_dabo_hri_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 63 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::addNodeDiagnostics | ( | void | ) | [protected, virtual] |
node add diagnostics
In this abstract function additional ROS diagnostics applied to the specific algorithms may be added.
Implements algorithm_base::IriBaseAlgorithm< TibiDaboHriAlgorithm >.
Definition at line 667 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::cancelCurrentGoals | ( | void | ) | [protected] |
Definition at line 81 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::getFeedbackCallback | ( | tibi_dabo_msgs::sequenceFeedbackPtr & | feedback | ) | [private] |
Definition at line 396 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::getResultCallback | ( | tibi_dabo_msgs::sequenceResultPtr & | result | ) | [private] |
Definition at line 381 of file tibi_dabo_hri_alg_node.cpp.
bool TibiDaboHriAlgNode::hasSucceedCallback | ( | void | ) | [private] |
Definition at line 342 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::headActive | ( | void | ) | [private] |
Definition at line 508 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::headDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 492 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::headFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 513 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::headMakeActionRequest | ( | const tibi_dabo_msgs::sequenceGoal & | head_goal | ) | [private] |
Definition at line 619 of file tibi_dabo_hri_alg_node.cpp.
bool TibiDaboHriAlgNode::isFinishedCallback | ( | void | ) | [private] |
Definition at line 313 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ledsActive | ( | void | ) | [private] |
Definition at line 475 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ledsDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 459 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ledsFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 480 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ledsMakeActionRequest | ( | const tibi_dabo_msgs::sequenceGoal & | leds_goal | ) | [private] |
Definition at line 604 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::leftArmActive | ( | void | ) | [private] |
Definition at line 540 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::leftArmDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 524 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::leftArmFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 545 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::leftArmMakeActionRequest | ( | const tibi_dabo_msgs::sequenceGoal & | left_arm_goal | ) | [private] |
Definition at line 634 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::mainNodeThread | ( | void | ) | [protected, virtual] |
main node thread
This is the main thread node function. Code written here will be executed in every node loop while the algorithm is on running state. Loop frequency can be tuned by modifying loop_rate attribute.
Here data related to the process loop or to ROS topics (mainly data structs related to the MSG and SRV files) must be updated. ROS publisher objects must publish their data in this process. ROS client servers may also request data to the corresponding server topics.
Implements algorithm_base::IriBaseAlgorithm< TibiDaboHriAlgorithm >.
Definition at line 134 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::node_config_update | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
dynamic reconfigure server callback
This method is called whenever a new configuration is received through the dynamic reconfigure. The derivated generic algorithm class must implement it.
config | an object with new configuration from all algorithm parameters defined in the config file. |
level | integer referring the level in which the configuration has been changed. |
Implements algorithm_base::IriBaseAlgorithm< TibiDaboHriAlgorithm >.
Definition at line 663 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::rightArmActive | ( | void | ) | [private] |
Definition at line 572 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::rightArmDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 556 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::rightArmFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 577 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::rightArmMakeActionRequest | ( | const tibi_dabo_msgs::sequenceGoal & | right_arm_goal | ) | [private] |
Definition at line 649 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::speak | ( | void | ) | [protected] |
Definition at line 116 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::startCallback | ( | const tibi_dabo_msgs::sequenceGoalConstPtr & | goal | ) | [private] |
Definition at line 224 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::stopCallback | ( | void | ) | [private] |
Definition at line 305 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ttsActive | ( | void | ) | [private] |
Definition at line 439 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ttsDone | ( | const actionlib::SimpleClientGoalState & | state, |
const iri_common_drivers_msgs::ttsResultConstPtr & | result | ||
) | [private] |
Definition at line 414 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ttsFeedback | ( | const iri_common_drivers_msgs::ttsFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 444 of file tibi_dabo_hri_alg_node.cpp.
void TibiDaboHriAlgNode::ttsMakeActionRequest | ( | const iri_common_drivers_msgs::ttsGoal & | tts_goal | ) | [private] |
Definition at line 586 of file tibi_dabo_hri_alg_node.cpp.
bool TibiDaboHriAlgNode::empty_leds_sequence_ [private] |
Definition at line 129 of file tibi_dabo_hri_alg_node.h.
Definition at line 75 of file tibi_dabo_hri_alg_node.h.
TSeqClient TibiDaboHriAlgNode::head_ [private] |
Definition at line 108 of file tibi_dabo_hri_alg_node.h.
bool TibiDaboHriAlgNode::head_connected_ [private] |
Definition at line 132 of file tibi_dabo_hri_alg_node.h.
TSeqClient TibiDaboHriAlgNode::leds_ [private] |
Definition at line 101 of file tibi_dabo_hri_alg_node.h.
bool TibiDaboHriAlgNode::leds_connected_ [private] |
Definition at line 131 of file tibi_dabo_hri_alg_node.h.
TSeqClient TibiDaboHriAlgNode::left_arm_ [private] |
Definition at line 115 of file tibi_dabo_hri_alg_node.h.
bool TibiDaboHriAlgNode::left_arm_connected_ [private] |
Definition at line 133 of file tibi_dabo_hri_alg_node.h.
TSeqClient TibiDaboHriAlgNode::right_arm_ [private] |
Definition at line 122 of file tibi_dabo_hri_alg_node.h.
bool TibiDaboHriAlgNode::right_arm_connected_ [private] |
Definition at line 134 of file tibi_dabo_hri_alg_node.h.
Definition at line 84 of file tibi_dabo_hri_alg_node.h.
TTtsClient TibiDaboHriAlgNode::tts_ [private] |
Definition at line 94 of file tibi_dabo_hri_alg_node.h.
bool TibiDaboHriAlgNode::tts_connected_ [private] |
Definition at line 130 of file tibi_dabo_hri_alg_node.h.