#include <GazeboGripper.h>
Public Member Functions | |
GazeboGripper () | |
virtual void | Init () |
virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
void | onUpdate () |
~GazeboGripper () | |
Private Member Functions | |
void | handleAttach (physics::LinkPtr linkPtr) |
void | handleContacts (const std::vector< physics::Contact * > &contacts) |
void | handleDetach () |
Private Attributes | |
bool | attached |
double | attachWait |
std::vector< std::string > | collisionNames |
double | contactDuration |
double | detachWait |
physics::JointPtr | fixedJointPtr |
std::string | gripperAttachLink |
double | maxRelativeMotionRate |
physics::ModelPtr | modelPtr |
double | nonContactDuration |
std::string | pluginName |
common::Time | prevContactUpdateTime |
math::Pose | prevDiff |
common::Time | prevUpdateTime |
double | updateTime |
event::ConnectionPtr | worldUpdateEvent |
Definition at line 22 of file GazeboGripper.h.
Definition at line 7 of file GazeboGripper.cpp.
Definition at line 15 of file GazeboGripper.cpp.
void GazeboGripper::handleAttach | ( | physics::LinkPtr | linkPtr | ) | [private] |
Definition at line 289 of file GazeboGripper.cpp.
void GazeboGripper::handleContacts | ( | const std::vector< physics::Contact * > & | contacts | ) | [private] |
Definition at line 198 of file GazeboGripper.cpp.
void GazeboGripper::handleDetach | ( | ) | [private] |
Definition at line 301 of file GazeboGripper.cpp.
void GazeboGripper::Init | ( | ) | [virtual] |
Definition at line 164 of file GazeboGripper.cpp.
void GazeboGripper::Load | ( | physics::ModelPtr | _model, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Definition at line 19 of file GazeboGripper.cpp.
void GazeboGripper::onUpdate | ( | ) |
Definition at line 170 of file GazeboGripper.cpp.
bool gazebo::GazeboGripper::attached [private] |
Definition at line 55 of file GazeboGripper.h.
double gazebo::GazeboGripper::attachWait [private] |
Definition at line 57 of file GazeboGripper.h.
std::vector<std::string> gazebo::GazeboGripper::collisionNames [private] |
Definition at line 52 of file GazeboGripper.h.
double gazebo::GazeboGripper::contactDuration [private] |
Definition at line 70 of file GazeboGripper.h.
double gazebo::GazeboGripper::detachWait [private] |
Definition at line 59 of file GazeboGripper.h.
physics::JointPtr gazebo::GazeboGripper::fixedJointPtr [private] |
Definition at line 48 of file GazeboGripper.h.
std::string gazebo::GazeboGripper::gripperAttachLink [private] |
Definition at line 65 of file GazeboGripper.h.
double gazebo::GazeboGripper::maxRelativeMotionRate [private] |
Definition at line 63 of file GazeboGripper.h.
physics::ModelPtr gazebo::GazeboGripper::modelPtr [private] |
Definition at line 46 of file GazeboGripper.h.
double gazebo::GazeboGripper::nonContactDuration [private] |
Definition at line 72 of file GazeboGripper.h.
std::string gazebo::GazeboGripper::pluginName [private] |
Definition at line 78 of file GazeboGripper.h.
common::Time gazebo::GazeboGripper::prevContactUpdateTime [private] |
Definition at line 74 of file GazeboGripper.h.
math::Pose gazebo::GazeboGripper::prevDiff [private] |
Definition at line 76 of file GazeboGripper.h.
common::Time gazebo::GazeboGripper::prevUpdateTime [private] |
Definition at line 68 of file GazeboGripper.h.
double gazebo::GazeboGripper::updateTime [private] |
Definition at line 61 of file GazeboGripper.h.
Definition at line 50 of file GazeboGripper.h.