Classes | |
class | Object |
Class to store information about each object to be dropped. More... | |
Public Attributes | |
bool | attached = false |
True if the gripper has an object. More... | |
int | attachSteps |
Steps touching before engaging fixed joint. More... | |
std::map< std::string, physics::CollisionPtr > | collisions |
The collisions for the links in the gripper. More... | |
event::ConnectionPtr | connection |
Connection event. More... | |
std::vector< msgs::Contact > | contacts |
The current contacts. More... | |
transport::SubscriberPtr | contactSub |
Subscription to contact messages from the physics engine. More... | |
int | detachSteps |
Steps not touching before disengaging fixed joint. More... | |
physics::ModelPtr | dropAttachedModel |
Attached model to be dropped. More... | |
Object | dropCurrentObject |
The current object scheduled for dropping. More... | |
bool | dropPending = false |
Whether there's an ongoing drop. More... | |
math::Box | dropRegion |
If the attached object is scheduled to be dropped, the drop will occur when the object enters inside this box. More... | |
std::vector< Object > | drops |
Collection of objects to be dropped. More... | |
bool | enabled = false |
Whether the suction is enabled or not. More... | |
physics::JointPtr | fixedJoint |
A fixed joint to connect the gripper to an object. More... | |
unsigned int | minContactCount |
Minimum number of links touching. More... | |
physics::ModelPtr | model |
Model that contains this gripper. More... | |
std::mutex | mutex |
Mutex used to protect reading/writing the sonar message. More... | |
std::string | name |
Name of the gripper. More... | |
transport::NodePtr | node |
Node for communication. More... | |
int | posCount |
Number of iterations the gripper was contacting the same object. More... | |
common::Time | prevUpdateTime |
Previous time when the gripper was updated. More... | |
physics::LinkPtr | suctionCupLink |
The suction cup link. More... | |
common::Time | updateRate |
Rate at which to update the gripper. More... | |
physics::WorldPtr | world |
Pointer to the world. More... | |
int | zeroCount |
Number of iterations the gripper was not contacting the same object. More... | |
Definition at line 46 of file VacuumGripperPlugin.cc.
bool gazebo::VacuumGripperPluginPrivate::attached = false |
True if the gripper has an object.
Definition at line 106 of file VacuumGripperPlugin.cc.
int gazebo::VacuumGripperPluginPrivate::attachSteps |
Steps touching before engaging fixed joint.
Definition at line 126 of file VacuumGripperPlugin.cc.
std::map<std::string, physics::CollisionPtr> gazebo::VacuumGripperPluginPrivate::collisions |
The collisions for the links in the gripper.
Definition at line 97 of file VacuumGripperPlugin.cc.
event::ConnectionPtr gazebo::VacuumGripperPluginPrivate::connection |
Connection event.
Definition at line 94 of file VacuumGripperPlugin.cc.
std::vector<msgs::Contact> gazebo::VacuumGripperPluginPrivate::contacts |
The current contacts.
Definition at line 100 of file VacuumGripperPlugin.cc.
transport::SubscriberPtr gazebo::VacuumGripperPluginPrivate::contactSub |
Subscription to contact messages from the physics engine.
Definition at line 138 of file VacuumGripperPlugin.cc.
int gazebo::VacuumGripperPluginPrivate::detachSteps |
Steps not touching before disengaging fixed joint.
Definition at line 129 of file VacuumGripperPlugin.cc.
physics::ModelPtr gazebo::VacuumGripperPluginPrivate::dropAttachedModel |
Attached model to be dropped.
Definition at line 147 of file VacuumGripperPlugin.cc.
Object gazebo::VacuumGripperPluginPrivate::dropCurrentObject |
The current object scheduled for dropping.
Definition at line 154 of file VacuumGripperPlugin.cc.
bool gazebo::VacuumGripperPluginPrivate::dropPending = false |
Whether there's an ongoing drop.
Definition at line 144 of file VacuumGripperPlugin.cc.
math::Box gazebo::VacuumGripperPluginPrivate::dropRegion |
If the attached object is scheduled to be dropped, the drop will occur when the object enters inside this box.
Definition at line 151 of file VacuumGripperPlugin.cc.
std::vector<Object> gazebo::VacuumGripperPluginPrivate::drops |
Collection of objects to be dropped.
Definition at line 79 of file VacuumGripperPlugin.cc.
bool gazebo::VacuumGripperPluginPrivate::enabled = false |
Whether the suction is enabled or not.
Definition at line 141 of file VacuumGripperPlugin.cc.
physics::JointPtr gazebo::VacuumGripperPluginPrivate::fixedJoint |
A fixed joint to connect the gripper to an object.
Definition at line 88 of file VacuumGripperPlugin.cc.
unsigned int gazebo::VacuumGripperPluginPrivate::minContactCount |
Minimum number of links touching.
Definition at line 123 of file VacuumGripperPlugin.cc.
physics::ModelPtr gazebo::VacuumGripperPluginPrivate::model |
Model that contains this gripper.
Definition at line 82 of file VacuumGripperPlugin.cc.
std::mutex gazebo::VacuumGripperPluginPrivate::mutex |
Mutex used to protect reading/writing the sonar message.
Definition at line 103 of file VacuumGripperPlugin.cc.
std::string gazebo::VacuumGripperPluginPrivate::name |
Name of the gripper.
Definition at line 132 of file VacuumGripperPlugin.cc.
transport::NodePtr gazebo::VacuumGripperPluginPrivate::node |
Node for communication.
Definition at line 135 of file VacuumGripperPlugin.cc.
int gazebo::VacuumGripperPluginPrivate::posCount |
Number of iterations the gripper was contacting the same object.
Definition at line 116 of file VacuumGripperPlugin.cc.
common::Time gazebo::VacuumGripperPluginPrivate::prevUpdateTime |
Previous time when the gripper was updated.
Definition at line 112 of file VacuumGripperPlugin.cc.
physics::LinkPtr gazebo::VacuumGripperPluginPrivate::suctionCupLink |
The suction cup link.
Definition at line 91 of file VacuumGripperPlugin.cc.
common::Time gazebo::VacuumGripperPluginPrivate::updateRate |
Rate at which to update the gripper.
Definition at line 109 of file VacuumGripperPlugin.cc.
physics::WorldPtr gazebo::VacuumGripperPluginPrivate::world |
Pointer to the world.
Definition at line 85 of file VacuumGripperPlugin.cc.
int gazebo::VacuumGripperPluginPrivate::zeroCount |
Number of iterations the gripper was not contacting the same object.
Definition at line 120 of file VacuumGripperPlugin.cc.