#include <linkattacherserverimpl.h>
|
| LinkAttacherServerImpl () |
|
| ~LinkAttacherServerImpl () |
|
virtual bool | attachUnscoped (const std::string &parent_model_name, const std::string &parent_model_link_name, const std::string &child_model_name, const std::string &child_model_link_name) |
| Attach any link of the models spawned in gazebo to a link of the robot using a fixed joint.
|
|
virtual bool | detachUnscoped (const std::string &model_name, const std::string &model_link_name) |
| Detach the model link which was previously attached to the robot link through a fixed joint.
|
|
virtual bool | enableGravity (const std::string &model_name, const bool enable) |
| Enable/disables gravity for a model.
|
|
void | attachWorldPointer (gazebo::physics::WorldPtr p) |
|
void | attachModelPointer (gazebo::physics::ModelPtr p) |
|
bool | setJointType (const std::string j) |
|
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
|
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
|
bool | read (yarp::os::ConnectionReader &connection) override |
|
bool | read (yarp::os::ConnectionReader &connection) override |
|
◆ LinkAttacherServerImpl()
LinkAttacherServerImpl::LinkAttacherServerImpl |
( |
| ) |
|
◆ ~LinkAttacherServerImpl()
LinkAttacherServerImpl::~LinkAttacherServerImpl |
( |
| ) |
|
◆ attachUnscoped()
bool LinkAttacherServerImpl::attachUnscoped |
( |
const std::string & | parent_model_name, |
|
|
const std::string & | parent_model_link_name, |
|
|
const std::string & | child_model_name, |
|
|
const std::string & | child_model_link_name ) |
|
virtual |
Attach any link of the models spawned in gazebo to a link of the robot using a fixed joint.
- Parameters
-
parent_model_name | name that identifies the first model |
parent_model_link_name | name of the link in the first model you want to attach (scoped or unscoped name) |
child_model_name | name that identifies the second model |
child_model_link_name | name of the link in the second model you want to attach (scoped or unscoped name) |
- Returns
- true if success, false otherwise
Reimplemented from GazeboYarpPlugins::LinkAttacherServer.
◆ detachUnscoped()
bool LinkAttacherServerImpl::detachUnscoped |
( |
const std::string & | model_name, |
|
|
const std::string & | model_link_name ) |
|
virtual |
Detach the model link which was previously attached to the robot link through a fixed joint.
- Parameters
-
model_name | name that identifies parent model |
model_link_name | name of the link of the parent model that is attached |
- Returns
- true if success, false otherwise
Reimplemented from GazeboYarpPlugins::LinkAttacherServer.
◆ enableGravity()
bool LinkAttacherServerImpl::enableGravity |
( |
const std::string & | model_name, |
|
|
const bool | enable ) |
|
virtual |
Enable/disables gravity for a model.
- Parameters
-
model_name | name that identifies model in gazebo |
enable | 1 to enable gravity, 0 otherwise |
- Returns
- returns true or false on success failure
Reimplemented from GazeboYarpPlugins::LinkAttacherServer.
◆ attachWorldPointer()
void LinkAttacherServerImpl::attachWorldPointer |
( |
gazebo::physics::WorldPtr | p | ) |
|
|
inline |
◆ attachModelPointer()
void LinkAttacherServerImpl::attachModelPointer |
( |
gazebo::physics::ModelPtr | p | ) |
|
|
inline |
◆ setJointType()
bool LinkAttacherServerImpl::setJointType |
( |
const std::string | j | ) |
|
◆ help() [1/2]
std::vector< std::string > GazeboYarpPlugins::LinkAttacherServer::help |
( |
const std::string & | functionName = "--all" | ) |
|
|
virtualinherited |
◆ help() [2/2]
virtual std::vector< std::string > GazeboYarpPlugins::LinkAttacherServer::help |
( |
const std::string & | functionName = "--all" | ) |
|
|
virtualinherited |
◆ read() [1/2]
bool GazeboYarpPlugins::LinkAttacherServer::read |
( |
yarp::os::ConnectionReader & | connection | ) |
|
|
overrideinherited |
◆ read() [2/2]
bool GazeboYarpPlugins::LinkAttacherServer::read |
( |
yarp::os::ConnectionReader & | connection | ) |
|
|
overrideinherited |
The documentation for this class was generated from the following files: