#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 | handleContact () |
void | handleDetach () |
void | onContact (const std::string &_collisionName, const physics::Contact &_contact) |
Private Attributes | |
bool | attached |
double | attachWait |
std::map< std::string, physics::CollisionPtr > | collisionPtrs |
std::vector< event::ConnectionPtr > | connectionPtrs |
double | contactDuration |
std::vector< physics::Contact > | contacts |
double | detachWait |
physics::JointPtr | fixedJointPtr |
std::string | gripperAttachLink |
std::vector< physics::JointPtr > | jointPtrs |
std::vector< physics::LinkPtr > | linkPtrs |
double | maxRelativeMotionRate |
physics::ModelPtr | modelPtr |
double | nonContactDuration |
common::Time | prevContactUpdateTime |
math::Pose | prevDiff |
common::Time | prevUpdateTime |
double | updateTime |
Definition at line 14 of file GazeboGripper.h.
Definition at line 12 of file GazeboGripper.cpp.
Definition at line 20 of file GazeboGripper.cpp.
void GazeboGripper::handleAttach | ( | physics::LinkPtr | linkPtr | ) | [private] |
Definition at line 268 of file GazeboGripper.cpp.
void GazeboGripper::handleContact | ( | ) | [private] |
Definition at line 171 of file GazeboGripper.cpp.
void GazeboGripper::handleDetach | ( | ) | [private] |
Definition at line 280 of file GazeboGripper.cpp.
void GazeboGripper::Init | ( | void | ) | [virtual] |
Definition at line 152 of file GazeboGripper.cpp.
void GazeboGripper::Load | ( | physics::ModelPtr | _model, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Definition at line 24 of file GazeboGripper.cpp.
void GazeboGripper::onContact | ( | const std::string & | _collisionName, |
const physics::Contact & | _contact | ||
) | [private] |
Definition at line 287 of file GazeboGripper.cpp.
void GazeboGripper::onUpdate | ( | ) |
Definition at line 157 of file GazeboGripper.cpp.
bool gazebo::GazeboGripper::attached [private] |
Definition at line 51 of file GazeboGripper.h.
double gazebo::GazeboGripper::attachWait [private] |
Definition at line 52 of file GazeboGripper.h.
std::map<std::string, physics::CollisionPtr> gazebo::GazeboGripper::collisionPtrs [private] |
Definition at line 48 of file GazeboGripper.h.
Definition at line 46 of file GazeboGripper.h.
double gazebo::GazeboGripper::contactDuration [private] |
Definition at line 60 of file GazeboGripper.h.
std::vector<physics::Contact> gazebo::GazeboGripper::contacts [private] |
Definition at line 49 of file GazeboGripper.h.
double gazebo::GazeboGripper::detachWait [private] |
Definition at line 53 of file GazeboGripper.h.
physics::JointPtr gazebo::GazeboGripper::fixedJointPtr [private] |
Definition at line 42 of file GazeboGripper.h.
std::string gazebo::GazeboGripper::gripperAttachLink [private] |
Definition at line 57 of file GazeboGripper.h.
std::vector<physics::JointPtr> gazebo::GazeboGripper::jointPtrs [private] |
Definition at line 44 of file GazeboGripper.h.
std::vector<physics::LinkPtr> gazebo::GazeboGripper::linkPtrs [private] |
Definition at line 45 of file GazeboGripper.h.
double gazebo::GazeboGripper::maxRelativeMotionRate [private] |
Definition at line 55 of file GazeboGripper.h.
physics::ModelPtr gazebo::GazeboGripper::modelPtr [private] |
Definition at line 41 of file GazeboGripper.h.
double gazebo::GazeboGripper::nonContactDuration [private] |
Definition at line 61 of file GazeboGripper.h.
common::Time gazebo::GazeboGripper::prevContactUpdateTime [private] |
Definition at line 62 of file GazeboGripper.h.
math::Pose gazebo::GazeboGripper::prevDiff [private] |
Definition at line 63 of file GazeboGripper.h.
common::Time gazebo::GazeboGripper::prevUpdateTime [private] |
Definition at line 59 of file GazeboGripper.h.
double gazebo::GazeboGripper::updateTime [private] |
Definition at line 54 of file GazeboGripper.h.