218 virtual
void synchronizeGraphics(const
agxRender::RenderManager& renderManager) override;
219 virtual
void cleanup() override;
229 virtual
void setConstraint(
agx::Constraint* constraint ) override;
230 agx::UInt getConstraintSampleDof() const;
235 agx::ConstraintRef m_constraint;
236 agx::UInt m_constraintSampleDof;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGX_DECLARE_VECTOR_TYPES(type)
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Common base type for all sensors attached to a constraint between two bodies.
Sensor environment implementation where different sensors collects data given a set of added objects,...
Common interface for sensor output handlers.
Base odometer model describing the fundamental parameters, such as wheel radius, of wheel encoder bas...
Handler responsible for how the odometer readings are assembled and provided to the user.
Odometer instance class defined by an attachment constraint and a model.
Odometer(agx::SlackHingeJoint *hinge, OdometerModel *model)
Construct this odometer with the given model and attached to the given slack hinge constraint.
Odometer(agxVehicle::WheelJoint *wheel, OdometerModel *model)
Construct this odometer with the given model and attached to the given wheel joint constraint.
Odometer(agx::SlackCylindricalJoint *cylindrical, OdometerModel *model)
Construct this odometer with the given model and attached to the given slack cylindrical joint constr...
void setConstraint(agx::SlackHingeJoint *hinge)
Assign a new parent slack hinge joint to attach this odometer to.
OdometerOutputHandler * getOutputHandler() const
Odometer(agx::CylindricalJoint *cylindrical, OdometerModel *model)
Construct this odometer with the given model and attached to the given cylindrical joint constraint.
virtual agx::Constraint * getConstraint() const override
static OdometerPtrVector findAll(const Environment *environment)
Find all odometers.
Odometer(agx::SplineJoint *spline, OdometerModel *model)
Construct this odometer with the given model and attached to the given spline constraint.
void setConstraint(agx::SlackCylindricalJoint *cylindrical)
Assign a new parent slack cylindrical joint to attach this odometer to.
OdometerModel * getModel() const
static OdometerPtrVector findAll(const Environment *environment, const agx::Name &name)
Find all odometers, given name.
void setConstraint(agxVehicle::WheelJoint *wheel)
Assign a new parent wheel joint to attach this odometer to.
void setConstraint(agx::SplineJoint *spline)
Assign a new parent spline joint to attach this odometer to.
static Odometer * find(const Environment *environment, const agx::Name &name)
Find odometer given name.
void setConstraint(agx::CylindricalJoint *cylindrical)
Assign a new parent cylindrical joint to attach this odometer to.
static OdometerPtrVector findAll(const agxSDK::Simulation *simulation)
Find all odometers.
virtual ISensorOutputHandler * getOutputHandlerBase() const override
Odometer(agx::Hinge *hinge, OdometerModel *model)
Construct this odometer with the given model and attached to the given hinge constraint.
static OdometerPtrVector findAll(const agxSDK::Simulation *simulation, const agx::Name &name)
Find all odometers, given name.
void setConstraint(agx::Hinge *hinge)
Assign a new parent hinge joint to attach this odometer to.
static Odometer * find(const agxSDK::Simulation *simulation, const agx::Name &name)
Find odometer given name.
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
The base class for a constraint.
A cylindrical joint is similar to a prismatic joint but with an extra degree of freedom free (rotatio...
The hinge constraint between two rigid bodies or one rigid body and the world.
Representation of a name string.
A constraint that is equal to the.
A constraint that is equal to the.
A SplineJoint is a constraint with a motor/range/lock for translation/rotation that will restrict a b...
Vector containing 'raw' data.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Namespace containing classes for handling debug rendering of collision geometries,...
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.