#include <SuctionGripper.h>
Definition at line 119 of file SuctionGripper.h.
◆ SuctionCupInteraction()
| agxModel::SuctionCupInteraction::SuctionCupInteraction |
( |
| ) |
|
A class for collecting and computing information for one RigidBody nearby a suction cup.
◆ ~SuctionCupInteraction()
| virtual agxModel::SuctionCupInteraction::~SuctionCupInteraction |
( |
| ) |
|
|
protectedvirtual |
◆ addTemporaryGeometryContact()
◆ getCalculatedForce()
| agx::Vec3 agxModel::SuctionCupInteraction::getCalculatedForce |
( |
| ) |
const |
◆ getCalculatedScalarForce()
| agx::Real agxModel::SuctionCupInteraction::getCalculatedScalarForce |
( |
| ) |
const |
◆ getCenterDistance()
| agx::Real agxModel::SuctionCupInteraction::getCenterDistance |
( |
| ) |
const |
- Returns
- distance to object along a vector considered positioned at the center of the suction cup, normal to the suction cup plane. Note that the distance is only valid if also getCentered() returns true.
◆ getCentered()
| bool agxModel::SuctionCupInteraction::getCentered |
( |
| ) |
const |
- Returns
- if the rigid body of the interaction is centered under the suction cup.
◆ getCenterNormalWorld()
| agx::Vec3 agxModel::SuctionCupInteraction::getCenterNormalWorld |
( |
| ) |
const |
- Returns
- the surface normal of the object at the point at the center under the suction cup. Note that the normal is only valid if also getCentered() returns true.
◆ getCurrentContactNormalForce()
| agx::Vec3 agxModel::SuctionCupInteraction::getCurrentContactNormalForce |
( |
| ) |
const |
- Returns
- the accumulated normal forces (from solver) between the suction cup and the body which is in interaction with.
◆ getCurrentFrictionForce()
| agx::Vec3 agxModel::SuctionCupInteraction::getCurrentFrictionForce |
( |
| ) |
const |
- Returns
- the accumulated friction forces (from solver) between the suction cup and the body which is in interaction with.
◆ getCurrentRelativeVelocity()
| agx::Real agxModel::SuctionCupInteraction::getCurrentRelativeVelocity |
( |
| ) |
const |
- Returns
- the maximal found velocity between the suction cup and the body which is in interaction with.
◆ getFoundSurfacePositionWorld()
| agx::Vec3 agxModel::SuctionCupInteraction::getFoundSurfacePositionWorld |
( |
| ) |
const |
◆ getRigidBody()
- Returns
- the rigid body which will be affected by the vacuum force.
◆ getSealCount()
| size_t agxModel::SuctionCupInteraction::getSealCount |
( |
| ) |
const |
- Returns
- the number of seal sensors any of the Geometries of the RigidBody is colliding with.
◆ getSealDepth()
| agx::Real agxModel::SuctionCupInteraction::getSealDepth |
( |
size_t |
sealIndex | ) |
const |
|
protected |
◆ hasSealInteraction()
| bool agxModel::SuctionCupInteraction::hasSealInteraction |
( |
size_t |
sealIndex | ) |
const |
|
protected |
◆ renderInteraction()
| void agxModel::SuctionCupInteraction::renderInteraction |
( |
const SuctionCup * |
cup | ) |
|
|
protected |
◆ reset()
| void agxModel::SuctionCupInteraction::reset |
( |
| ) |
|
|
protected |
◆ setCalculatedForce()
| void agxModel::SuctionCupInteraction::setCalculatedForce |
( |
agx::Vec3 |
force | ) |
|
|
protected |
◆ setCalculatedScalarForce()
| void agxModel::SuctionCupInteraction::setCalculatedScalarForce |
( |
agx::Real |
scalarForce | ) |
|
|
protected |
◆ setCenterDistance()
| void agxModel::SuctionCupInteraction::setCenterDistance |
( |
agx::Real |
distance | ) |
|
|
protected |
Set distance to object along a vector considered positioned at the center of the suction cup, normal to the suction cup plane.
◆ setCenterNormalWorld()
| void agxModel::SuctionCupInteraction::setCenterNormalWorld |
( |
agx::Vec3 |
normal | ) |
|
|
protected |
Set the surface normal of the object at the point at the center under the suction cup.
◆ setFoundSurfacePositionWorld()
| void agxModel::SuctionCupInteraction::setFoundSurfacePositionWorld |
( |
agx::Vec3 |
worldPosition | ) |
|
|
protected |
◆ setRigidBody()
| void agxModel::SuctionCupInteraction::setRigidBody |
( |
agx::RigidBody * |
body | ) |
|
|
protected |
- Parameters
-
| - | body, the rigid body which will be affected by the calculated vacuum force. |
◆ updateEstimatedForcePosition()
| void agxModel::SuctionCupInteraction::updateEstimatedForcePosition |
( |
const SuctionCup * |
cup, |
|
|
agx::Real |
depth |
|
) |
| |
|
protected |
Updates the surface position of an interacting object where to apply the force.
Will always be along the suction cup normal, but only updated with the depth is shorter than any previous registrated depth.
◆ updateInteractedSeals()
| void agxModel::SuctionCupInteraction::updateInteractedSeals |
( |
size_t |
sealIndex, |
|
|
agx::Real |
depth |
|
) |
| |
|
protected |
◆ updateVacuumForce()
Function responsible for updating the force from the vacuum.
By calling setCalculatedScalarForce and setCalculatedForce
- Parameters
-
| cup | - the suction cup interacting with objects |
| vacuumSystem | - the vacuum system for the suction gripper where this suction cup is attached |
| fraction | - the fraction of the total force that this interaction is allowed to use, given seal sensor interactions |
◆ m_body
◆ m_calculatedForce
| agx::Vec3 agxModel::SuctionCupInteraction::m_calculatedForce |
|
protected |
◆ m_calculatedForcePosition
| agx::Vec3 agxModel::SuctionCupInteraction::m_calculatedForcePosition |
|
protected |
◆ m_calculatedScalarForce
| agx::Real agxModel::SuctionCupInteraction::m_calculatedScalarForce |
|
protected |
◆ m_centerDistance
| agx::Real agxModel::SuctionCupInteraction::m_centerDistance |
|
protected |
◆ m_centered
| bool agxModel::SuctionCupInteraction::m_centered |
|
protected |
◆ m_centerNormalWorld
| agx::Vec3 agxModel::SuctionCupInteraction::m_centerNormalWorld |
|
protected |
◆ m_foundSurfacePosition
| agx::Vec3 agxModel::SuctionCupInteraction::m_foundSurfacePosition |
|
protected |
◆ m_interactedSealDepth
◆ m_tempContacts
The documentation for this class was generated from the following file: