#include <RosWrapperBase.h>
RosWrapperBase::RosWrapperBase |
( |
const std::string & |
robot_name, |
|
|
const std::string & |
controller_name = "" , |
|
|
const std::string & |
obj_name = "" , |
|
|
const std::string & |
generic_prefix = "" |
|
) |
| |
RosWrapperBase::~RosWrapperBase |
( |
| ) |
|
|
virtual |
std::string RosWrapperBase::getControllerName |
( |
| ) |
|
Gets the name of the controller in which the task is being used
- Returns
- String controller in which the task is being used name
std::string RosWrapperBase::getGenericPrefix |
( |
| ) |
|
Gets the name of the generic prefix which is either 'tasks' or 'constraints'
- Returns
- String generic prefix
std::string RosWrapperBase::getNamespacePrefix |
( |
| ) |
|
Get a string with the appropriate namspace prefix for topics and services
- Returns
- String with the namespace prefix and a trailing '/' for convenience.
std::shared_ptr< ros::NodeHandle > RosWrapperBase::getNodeHandle |
( |
| ) |
|
Gets a shared pointer to the public NodeHandle
- Returns
- shared pointer to the public NodeHandle
std::string RosWrapperBase::getObjectName |
( |
| ) |
|
Gets the name of the wrapped object
- Returns
- String wrapped object name
std::string RosWrapperBase::getRobotName |
( |
| ) |
|
Gets the name of the robot
- Returns
- String robot name
std::string RosWrapperBase::getRobotNamespacePrefix |
( |
| ) |
|
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/orca-ros/checkouts/latest/include/orca_ros/common/RosWrapperBase.h
- /home/docs/checkouts/readthedocs.org/user_builds/orca-ros/checkouts/latest/src/common/RosWrapperBase.cc