#include <topological_action_manager.h>
Public Member Functions | |
boost::shared_ptr < TopologicalNode > | getCurrentNode () |
boost::shared_ptr < TopologicalNode > | getGoalNodeForLabel (const std::string &connection_label) |
boost::shared_ptr < TopologicalNode > | getGoalNodeForLabel (const std::string &connection_label, const std::string &origin_name) |
geometry_msgs::Pose | getGoalPoseForLabel (const std::string &connection_label) |
geometry_msgs::Pose | getGoalPoseForLabel (const std::string &connection_label, const std::string &origin_name) |
bool | isInitialized () |
TopologicalActionManager (const std::string &map_file, ros::CallbackQueueInterface *queue=NULL) | |
TopologicalActionManager (TopologicalMap &tm, ros::CallbackQueueInterface *queue=NULL) | |
Private Member Functions | |
void | predicateMapCallback (const predicate_manager::PredicateInfoMapConstPtr &msg) |
void | predicateUpdatesCallback (const predicate_manager::PredicateUpdateConstPtr &msg) |
void | predicateUpdatesInternal (const predicate_manager::PredicateUpdate &msg) |
Private Attributes | |
std::string | current_node_name_ |
Agent ID as seen by the Predicate Manager. | |
ros::NodeHandle | nh_ |
int | pm_id_ |
std::map< uint32_t, std::string > | pred_id_node_map_ |
ros::Subscriber | pred_map_sub_ |
ros::Subscriber | pred_updates_sub_ |
predicate_manager::PredicateUpdate | requested_update_ |
For initialization purposes: | |
TopologicalMap | tm_ |
Definition at line 41 of file topological_action_manager.h.
TopologicalActionManager::TopologicalActionManager | ( | const std::string & | map_file, |
ros::CallbackQueueInterface * | queue = NULL |
||
) |
Definition at line 68 of file topological_action_manager.cpp.
TopologicalActionManager::TopologicalActionManager | ( | TopologicalMap & | tm, |
ros::CallbackQueueInterface * | queue = NULL |
||
) |
Definition at line 46 of file topological_action_manager.cpp.
boost::shared_ptr< TopologicalNode > TopologicalActionManager::getCurrentNode | ( | ) |
Definition at line 160 of file topological_action_manager.cpp.
boost::shared_ptr< TopologicalNode > TopologicalActionManager::getGoalNodeForLabel | ( | const std::string & | connection_label | ) |
Definition at line 125 of file topological_action_manager.cpp.
boost::shared_ptr< TopologicalNode > TopologicalActionManager::getGoalNodeForLabel | ( | const std::string & | connection_label, |
const std::string & | origin_name | ||
) |
Definition at line 140 of file topological_action_manager.cpp.
geometry_msgs::Pose TopologicalActionManager::getGoalPoseForLabel | ( | const std::string & | connection_label | ) |
Definition at line 91 of file topological_action_manager.cpp.
geometry_msgs::Pose TopologicalActionManager::getGoalPoseForLabel | ( | const std::string & | connection_label, |
const std::string & | origin_name | ||
) |
Definition at line 106 of file topological_action_manager.cpp.
Definition at line 175 of file topological_action_manager.cpp.
void TopologicalActionManager::predicateMapCallback | ( | const predicate_manager::PredicateInfoMapConstPtr & | msg | ) | [private] |
Definition at line 184 of file topological_action_manager.cpp.
void TopologicalActionManager::predicateUpdatesCallback | ( | const predicate_manager::PredicateUpdateConstPtr & | msg | ) | [private] |
Got an update before the map
Definition at line 207 of file topological_action_manager.cpp.
void TopologicalActionManager::predicateUpdatesInternal | ( | const predicate_manager::PredicateUpdate & | msg | ) | [private] |
Definition at line 232 of file topological_action_manager.cpp.
std::string topological_tools::TopologicalActionManager::current_node_name_ [private] |
Agent ID as seen by the Predicate Manager.
Definition at line 70 of file topological_action_manager.h.
Definition at line 60 of file topological_action_manager.h.
int topological_tools::TopologicalActionManager::pm_id_ [private] |
Definition at line 69 of file topological_action_manager.h.
std::map<uint32_t, std::string> topological_tools::TopologicalActionManager::pred_id_node_map_ [private] |
Definition at line 67 of file topological_action_manager.h.
Definition at line 63 of file topological_action_manager.h.
Definition at line 62 of file topological_action_manager.h.
predicate_manager::PredicateUpdate topological_tools::TopologicalActionManager::requested_update_ [private] |
For initialization purposes:
Definition at line 72 of file topological_action_manager.h.
Definition at line 65 of file topological_action_manager.h.