 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
73 for (
size_t j = 0; j < 2; ++j)
84 using ExecuteFilter::match;
131 size_t getSealCount()
const;
136 bool getCentered()
const;
157 agx::Real getCalculatedScalarForce()
const;
171 agx::Vec3 getFoundSurfacePositionWorld()
const;
181 agx::Vec3 getCurrentFrictionForce()
const;
186 agx::Vec3 getCurrentContactNormalForce()
const;
191 agx::Real getCurrentRelativeVelocity()
const;
203 void setFoundSurfacePositionWorld(
agx::Vec3 worldPosition);
221 void setCenterDistance(
agx::Real distance);
227 void setCenterNormalWorld(
agx::Vec3 normal);
229 void updateInteractedSeals(
size_t sealIndex,
agx::Real depth);
231 void setCalculatedForce(
agx::Vec3 force);
232 void setCalculatedScalarForce(
agx::Real scalarForce);
234 agx::Real getSealDepth(
size_t sealIndex)
const;
236 bool hasSealInteraction(
size_t sealIndex)
const;
251 void renderInteraction(
const SuctionCup* cup);
313 void setEnablePump(
const bool& enable);
318 bool getEnablePump()
const;
330 void setDesiredVacuum(
agx::Real vacuumLevel);
340 void setOutsidePressure(
agx::Real pressure);
355 void setOutsideGasDensity(
agx::Real density);
434 size_t sealResolution =
size_t(0),
471 void setMountingRadius(
agx::Real radius);
481 bool isValid()
const;
491 size_t getSealResolution()
const;
510 agx::Real getAvailableVacuumForce()
const;
527 virtual void updateLeakageArea();
532 void applyVacuumForces(
const VacuumSystem* vacuumSystem);
541 void updateVacuumForces(
const VacuumSystem* vacuumSystem);
556 void invalidateInteractions();
599 void createLineSensor();
601 void createCupSealSensors();
609 void collectCollisionGeometries();
695 bool isValid()
const;
727 virtual void updateValid();
agx::ref_ptr< agx::LockJoint > m_lock
agx::Real m_desiredVacuum
agx::Real m_currentLeakageArea
agx::RigidBodyRef m_holderBody
virtual void pre(const agx::TimeStamp &time)
Called before a step is taken in the simulation Implement this method in the derived class to get cal...
agxCollide::GeometryRefVector m_collisionGeometries
Class for filtering objects of interest nearby a suction cup.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Utility class to get step event callbacks to any class having the methods implemented.
agxCollide::GeometryRefSetVector m_sealSensors
agx::Real m_timeOfPumpStateToggled
agx::Real m_calculatedAvailableVacuumForce
agx::Real m_outsideGasDensity
The rigid body class, combining a geometric model and a frame of reference.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agx::ref_ptr< agxCollide::Line > m_line
agx::RealVector m_sealDepthMeasurements
agx::AffineMatrix4x4 m_miniSphereTransform
virtual ~SuctionCupSensorFilter()
agx::Real m_sealSensorReach
Abstract base class that implements a filter that selects which events should trigger a Listener.
virtual void post(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
agxUtil::TrimeshDeformerRef m_trimeshDeformer
agx::HashVector< size_t, agx::Real > m_interactedSealDepth
agx::HashVector< agx::RigidBody *, SuctionCupInteractionRef > m_activeInteractions
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agxCollide::GeometryRef m_trimeshGeometry
virtual void last(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
agx::Vec3 m_calculatedForcePosition
This should be considered a template class used as a base for Suction Gripper simulation models.
#define AGX_DECLARE_VECTOR_TYPES(type)
agx::RigidBodyObserver m_body
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
void clear(ClearPolicy policy=SHRINK_BUFFER_AVERAGED)
Remove all elements, optionally with maintained buffer allocation.
agx::Vec3 m_foundSurfacePosition
virtual bool match(const agxCollide::Geometry *g0, const agxCollide::Geometry *g1) const override
Inherited from agxSDK::ExecuteFilter.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agx::ref_ptr< agxUtil::GeneralContactEventListener< SuctionCup > > m_contactCallback
agx::Vec3 m_centerNormalWorld
agxCollide::TrimeshRef m_trimesh
void addGeometry(agxCollide::Geometry *geometry)
agx::Real m_centerDistance
agx::Real m_outsidePressure
The geometry representation used by the collision detection engine.
SuctionCupSensorFilterRef m_collisionFilter
Constraint that removes all 6 DOF between two bodies, or one body and the world.
agxCollide::GeometryRef m_lineSensor
Inheritance with partial specialization due to bug with ref_ptr containers.
agx::Real m_currentVacuum
agx::Real m_mountingRadius
Base class providing referencing counted objects.
#define AGX_DECLARE_POINTER_TYPES(type)
agx::Vec3 m_calculatedForce
agxCollide::SphereRef m_miniSphere
agx::Vec3 m_localLineSensorVector
VacuumSystemRef m_vacuumSystem
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
const agxCollide::GeometryRefVector & getGeometries() const
agx::Real m_calculatedScalarForce
Main material class which acts as a holder of a Surface Material and a Bulk material.
agxModel::SuctionCupRefVector m_suctionCups
Triangle mesh for geometric intersection tests.
agxCollide::GeometryContactPtrVector m_tempContacts
Basic model for a vacuum system used by a SuctionGripper.
agxCollide::GeometryRefVector m_sensors
The object defining a frame of reference and providing transformations operations.
agx::ref_ptr< agxUtil::GeneralStepListener< SuctionGripper > > m_stepCallback
agx::HashSet< SuctionCupRef > SuctionCupRefSet
The SuctionCup model owns a body which is mean to be attached somewhere on a SuctionGripper holder.
virtual void removeNotification(agxSDK::Simulation *)
Called when this assembly is removed from a simulation.
virtual void preCollide(const agx::TimeStamp &time)
Called before collision detection is performed in the simulation Implement this method in the derived...
SuctionCupInteractionRefVector m_interactionsPool
void push_back(const T2 &value)
virtual void addNotification(agxSDK::Simulation *)
Called when this assembly is added to a simulation (given that it not already is in the simulation).