#include <server.h>
|
void | GetModel (const std::string &path, robot_model::RobotModelPtr &model, const std::string &urdf="", const std::string &srdf="") |
| Get robot model. More...
|
|
robot_model::RobotModelConstPtr | GetModel (const std::string &path, const std::string &urdf="", const std::string &srdf="") |
| Get robot model. More...
|
|
std::string | GetName () |
| Get the name of ther server. More...
|
|
bool | HasModel (const std::string &path) |
| Check if a robot model exist. More...
|
|
virtual | ~Server () |
|
| Uncopyable ()=default |
|
| ~Uncopyable ()=default |
|
|
robot_model::RobotModelPtr | LoadModel (const std::string &name, const std::string &urdf="", const std::string &srdf="") |
|
void | operator= (Server const &)=delete |
|
| Server () |
|
| Server (Server const &)=delete |
| Make sure the singleton does not get copied. More...
|
|
Definition at line 61 of file server.h.
exotica::Server::~Server |
( |
| ) |
|
|
virtual |
exotica::Server::Server |
( |
| ) |
|
|
private |
exotica::Server::Server |
( |
Server const & |
| ) |
|
|
privatedelete |
Make sure the singleton does not get copied.
template<typename T , typename... Args>
void exotica::Server::Destroy |
( |
| ) |
|
|
static |
void exotica::Server::GetModel |
( |
const std::string & |
path, |
|
|
robot_model::RobotModelPtr & |
model, |
|
|
const std::string & |
urdf = "" , |
|
|
const std::string & |
srdf = "" |
|
) |
| |
Get robot model.
- Parameters
-
Definition at line 128 of file server.cpp.
robot_model::RobotModelConstPtr exotica::Server::GetModel |
( |
const std::string & |
path, |
|
|
const std::string & |
urdf = "" , |
|
|
const std::string & |
srdf = "" |
|
) |
| |
Get robot model.
- Parameters
-
- Returns
- robot model
Definition at line 140 of file server.cpp.
std::string exotica::Server::GetName |
( |
| ) |
|
template<typename T >
static bool exotica::Server::GetParam |
( |
const std::string & |
name, |
|
|
T & |
param |
|
) |
| |
|
inlinestatic |
bool exotica::Server::HasModel |
( |
const std::string & |
path | ) |
|
Check if a robot model exist.
- Parameters
-
- Returns
- True if exist, false otherwise
Definition at line 152 of file server.cpp.
static bool exotica::Server::HasParam |
( |
const std::string & |
name | ) |
|
|
inlinestatic |
static void exotica::Server::InitRos |
( |
std::shared_ptr< ros::NodeHandle > |
nh, |
|
|
int |
numThreads = 2 |
|
) |
| |
|
inlinestatic |
static std::shared_ptr<Server> exotica::Server::Instance |
( |
void |
| ) |
|
|
inlinestatic |
Get the server.
Definition at line 65 of file server.h.
static bool exotica::Server::IsRos |
( |
| ) |
|
|
inlinestatic |
robot_model::RobotModelPtr exotica::Server::LoadModel |
( |
const std::string & |
name, |
|
|
const std::string & |
urdf = "" , |
|
|
const std::string & |
srdf = "" |
|
) |
| |
|
private |
void exotica::Server::operator= |
( |
Server const & |
| ) |
|
|
privatedelete |
static void exotica::Server::SendTransform |
( |
const std::vector< tf::StampedTransform > & |
transforms | ) |
|
|
inlinestatic |
static void exotica::Server::SendTransform |
( |
const geometry_msgs::TransformStamped & |
transform | ) |
|
|
inlinestatic |
static void exotica::Server::SendTransform |
( |
const std::vector< geometry_msgs::TransformStamped > & |
transforms | ) |
|
|
inlinestatic |
template<typename T >
static ros::ServiceClient exotica::Server::ServiceClient |
( |
const std::string & |
service_name, |
|
|
bool |
persistent = false |
|
) |
| |
|
inlinestatic |
template<typename T >
static void exotica::Server::SetParam |
( |
const std::string & |
name, |
|
|
T & |
param |
|
) |
| |
|
inlinestatic |
template<typename T , typename... Args>
std::string exotica::Server::name_ |
|
private |
The name of this server.
Definition at line 180 of file server.h.
std::shared_ptr<RosNode> exotica::Server::node_ |
|
private |
std::map<std::string, robot_model::RobotModelPtr> exotica::Server::robot_models_ |
|
private |
The documentation for this class was generated from the following files: