#include <BeliefstateROS.h>
Public Member Functions | |
BeliefstateROS (int argc, char **argv) | |
virtual std::string | findTokenReplacement (std::string strToken) |
virtual std::string | workspaceDirectory () |
Returns the current ROS workspace directory. | |
~BeliefstateROS () |
Definition at line 52 of file BeliefstateROS.h.
beliefstate::BeliefstateROS::BeliefstateROS | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 44 of file BeliefstateROS.cpp.
Definition at line 48 of file BeliefstateROS.cpp.
std::string beliefstate::BeliefstateROS::findTokenReplacement | ( | std::string | strToken | ) | [virtual] |
Reimplemented from beliefstate::Beliefstate.
Definition at line 51 of file BeliefstateROS.cpp.
std::string beliefstate::BeliefstateROS::workspaceDirectory | ( | ) | [virtual] |
Returns the current ROS workspace directory.
Searches the environmental variables ROS_WORKSPACE, CMAKE_PREFIX_PATH, and ROS_PACKAGE_PATH (in that order) for the current ROS workspace. The semantics are as follows:
If all of this fails, return an empty string. During initialization of the belief state system, this value will be checked. If it is empty at that time, a warning will be printed. The configuration file allows for manual override of this in case the workspace directory cannot be detected properly.
Reimplemented from beliefstate::Beliefstate.
Definition at line 71 of file BeliefstateROS.cpp.