IRI ROS Specific Algorithm Class. More...
#include <tibi_dabo_haod_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 60 of file tibi_dabo_haod_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 41 of file tibi_dabo_haod_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 161 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::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< TibiDaboHaodAlgorithm >.
Definition at line 640 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::execute_hri_action | ( | hri_actions | action | ) | [protected] |
Definition at line 102 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::follow_targetActive | ( | ) | [private] |
Definition at line 478 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::follow_targetDone | ( | const actionlib::SimpleClientGoalState & | state, |
const iri_nav_msgs::followTargetResultConstPtr & | result | ||
) | [private] |
Definition at line 467 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::follow_targetFeedback | ( | const iri_nav_msgs::followTargetFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 483 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::follow_targetMakeActionRequest | ( | ) | [private] |
Definition at line 596 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::haod_serverGetFeedbackCallback | ( | tibi_dabo_msgs::haodFeedbackPtr & | feedback | ) | [private] |
Definition at line 551 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::haod_serverGetResultCallback | ( | tibi_dabo_msgs::haodResultPtr & | result | ) | [private] |
Definition at line 543 of file tibi_dabo_haod_alg_node.cpp.
bool TibiDaboHaodAlgNode::haod_serverHasSucceedCallback | ( | void | ) | [private] |
Definition at line 531 of file tibi_dabo_haod_alg_node.cpp.
bool TibiDaboHaodAlgNode::haod_serverIsFinishedCallback | ( | void | ) | [private] |
Definition at line 519 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::haod_serverStartCallback | ( | const tibi_dabo_msgs::haodGoalConstPtr & | goal | ) | [private] |
Definition at line 499 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::haod_serverStopCallback | ( | void | ) | [private] |
Definition at line 510 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::hri_clientActive | ( | ) | [private] |
Definition at line 573 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::hri_clientDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 562 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::hri_clientFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 578 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::hri_clientMakeActionRequest | ( | ) | [private] |
Definition at line 614 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::joy_callback | ( | const sensor_msgs::Joy::ConstPtr & | msg | ) | [private] |
Definition at line 432 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::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< TibiDaboHaodAlgorithm >.
Definition at line 166 of file tibi_dabo_haod_alg_node.cpp.
void TibiDaboHaodAlgNode::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< TibiDaboHaodAlgorithm >.
Definition at line 633 of file tibi_dabo_haod_alg_node.cpp.
actionlib::SimpleActionClient<iri_nav_msgs::followTargetAction> TibiDaboHaodAlgNode::follow_target_client_ [private] |
Definition at line 107 of file tibi_dabo_haod_alg_node.h.
Definition at line 108 of file tibi_dabo_haod_alg_node.h.
Definition at line 80 of file tibi_dabo_haod_alg_node.h.
Definition at line 81 of file tibi_dabo_haod_alg_node.h.
Definition at line 82 of file tibi_dabo_haod_alg_node.h.
Definition at line 83 of file tibi_dabo_haod_alg_node.h.
Definition at line 78 of file tibi_dabo_haod_alg_node.h.
Definition at line 79 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::haod_need_help [private] |
Definition at line 94 of file tibi_dabo_haod_alg_node.h.
Definition at line 86 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::hri_action_done [private] |
Definition at line 105 of file tibi_dabo_haod_alg_node.h.
actionlib::SimpleActionClient<tibi_dabo_msgs::sequenceAction> TibiDaboHaodAlgNode::hri_client_client_ [private] |
Definition at line 99 of file tibi_dabo_haod_alg_node.h.
Definition at line 100 of file tibi_dabo_haod_alg_node.h.
int TibiDaboHaodAlgNode::init_x [private] |
Definition at line 96 of file tibi_dabo_haod_alg_node.h.
int TibiDaboHaodAlgNode::init_y [private] |
Definition at line 96 of file tibi_dabo_haod_alg_node.h.
trajectory_msgs::JointTrajectoryPoint TibiDaboHaodAlgNode::JointTrajectoryPoint_msg_ [private] |
Definition at line 65 of file tibi_dabo_haod_alg_node.h.
joy_actions TibiDaboHaodAlgNode::joy_action [private] |
Definition at line 72 of file tibi_dabo_haod_alg_node.h.
CMutex TibiDaboHaodAlgNode::joy_mutex_ [private] |
Definition at line 70 of file tibi_dabo_haod_alg_node.h.
Definition at line 68 of file tibi_dabo_haod_alg_node.h.
languages TibiDaboHaodAlgNode::language [private] |
Definition at line 73 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::new_haod_action [private] |
Definition at line 93 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::new_joy_msg [private] |
Definition at line 71 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::stop_haod [private] |
Definition at line 95 of file tibi_dabo_haod_alg_node.h.
Definition at line 64 of file tibi_dabo_haod_alg_node.h.
bool TibiDaboHaodAlgNode::tracking_head [private] |
Definition at line 113 of file tibi_dabo_haod_alg_node.h.