IRI ROS Specific Algorithm Class. More...
#include <tibi_dabo_guide_nav_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 57 of file tibi_dabo_guide_nav_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 4 of file tibi_dabo_guide_nav_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 51 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::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< TibiDaboGuideNavAlgorithm >.
Definition at line 679 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::hri_clientActive | ( | ) | [private] |
Definition at line 516 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::hri_clientDone | ( | const actionlib::SimpleClientGoalState & | state, |
const tibi_dabo_msgs::sequenceResultConstPtr & | result | ||
) | [private] |
Definition at line 505 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::hri_clientFeedback | ( | const tibi_dabo_msgs::sequenceFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 521 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::hri_clientMakeActionRequest | ( | ) | [private] |
Definition at line 632 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::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< TibiDaboGuideNavAlgorithm >.
Definition at line 56 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_baseActive | ( | ) | [private] |
Definition at line 609 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_baseDone | ( | const actionlib::SimpleClientGoalState & | state, |
const move_base_msgs::MoveBaseResultConstPtr & | result | ||
) | [private] |
Definition at line 598 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_baseFeedback | ( | const move_base_msgs::MoveBaseFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 614 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_baseMakeActionRequest | ( | ) | [private] |
Definition at line 650 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_guideGetFeedbackCallback | ( | tibi_dabo_msgs::guideGoalFeedbackPtr & | feedback | ) | [private] |
Definition at line 590 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_guideGetResultCallback | ( | tibi_dabo_msgs::guideGoalResultPtr & | result | ) | [private] |
Definition at line 582 of file tibi_dabo_guide_nav_alg_node.cpp.
bool TibiDaboGuideNavAlgNode::move_guideHasSucceedCallback | ( | void | ) | [private] |
Definition at line 570 of file tibi_dabo_guide_nav_alg_node.cpp.
bool TibiDaboGuideNavAlgNode::move_guideIsFinishedCallback | ( | void | ) | [private] |
Definition at line 556 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_guideStartCallback | ( | const tibi_dabo_msgs::guideGoalGoalConstPtr & | goal | ) | [private] |
Definition at line 537 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::move_guideStopCallback | ( | void | ) | [private] |
Definition at line 548 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::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< TibiDaboGuideNavAlgorithm >.
Definition at line 669 of file tibi_dabo_guide_nav_alg_node.cpp.
void TibiDaboGuideNavAlgNode::peopleSet_callback | ( | const iri_perception_msgs::peopleTrackingArray::ConstPtr & | msg | ) | [private] |
Definition at line 412 of file tibi_dabo_guide_nav_alg_node.cpp.
Definition at line 71 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 72 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 109 of file tibi_dabo_guide_nav_alg_node.h.
double TibiDaboGuideNavAlgNode::distanceThresholdFar [private] |
Definition at line 107 of file tibi_dabo_guide_nav_alg_node.h.
double TibiDaboGuideNavAlgNode::distanceThresholdNear [private] |
Definition at line 108 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 73 of file tibi_dabo_guide_nav_alg_node.h.
iri_goal_database::get_goal TibiDaboGuideNavAlgNode::get_goal_srv_ [private] |
Definition at line 74 of file tibi_dabo_guide_nav_alg_node.h.
actionlib::SimpleActionClient<tibi_dabo_msgs::sequenceAction> TibiDaboGuideNavAlgNode::hri_client_client_ [private] |
Definition at line 87 of file tibi_dabo_guide_nav_alg_node.h.
bool TibiDaboGuideNavAlgNode::hri_client_done [private] |
Definition at line 93 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 88 of file tibi_dabo_guide_nav_alg_node.h.
std::string TibiDaboGuideNavAlgNode::location_id [private] |
Definition at line 104 of file tibi_dabo_guide_nav_alg_node.h.
actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> TibiDaboGuideNavAlgNode::move_base_client_ [private] |
Definition at line 95 of file tibi_dabo_guide_nav_alg_node.h.
bool TibiDaboGuideNavAlgNode::move_base_done [private] |
Definition at line 101 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 96 of file tibi_dabo_guide_nav_alg_node.h.
IriActionServer<tibi_dabo_msgs::guideGoalAction> TibiDaboGuideNavAlgNode::move_guide_aserver_ [private] |
Definition at line 77 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 103 of file tibi_dabo_guide_nav_alg_node.h.
CMutex TibiDaboGuideNavAlgNode::peopleSet_mutex_ [private] |
Definition at line 66 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 64 of file tibi_dabo_guide_nav_alg_node.h.
double TibiDaboGuideNavAlgNode::person_distance [private] |
Definition at line 113 of file tibi_dabo_guide_nav_alg_node.h.
bool TibiDaboGuideNavAlgNode::person_lost [private] |
Definition at line 114 of file tibi_dabo_guide_nav_alg_node.h.
geometry_msgs::PoseStamped TibiDaboGuideNavAlgNode::person_pose [private] |
Definition at line 112 of file tibi_dabo_guide_nav_alg_node.h.
std::string TibiDaboGuideNavAlgNode::robot_frame [private] |
Definition at line 110 of file tibi_dabo_guide_nav_alg_node.h.
std::string TibiDaboGuideNavAlgNode::robot_id [private] |
Definition at line 105 of file tibi_dabo_guide_nav_alg_node.h.
bool TibiDaboGuideNavAlgNode::success [private] |
Definition at line 115 of file tibi_dabo_guide_nav_alg_node.h.
int TibiDaboGuideNavAlgNode::target_id [private] |
Definition at line 84 of file tibi_dabo_guide_nav_alg_node.h.
Definition at line 117 of file tibi_dabo_guide_nav_alg_node.h.