Public Member Functions | Public Attributes | List of all members
PxD6JointDrive Class Reference

parameters for configuring the drive model of a PxD6Joint More...

#include <PxD6Joint.h>

Inheritance diagram for PxD6JointDrive:
Inheritance graph
[legend]
Collaboration diagram for PxD6JointDrive:
Collaboration graph
[legend]

Public Member Functions

 PxD6JointDrive ()
 default constructor for PxD6JointDrive. More...
 
 PxD6JointDrive (PxReal driveStiffness, PxReal driveDamping, PxReal driveForceLimit, bool isAcceleration=false)
 constructor a PxD6JointDrive. More...
 
bool isValid () const
 returns true if the drive is valid More...
 
- Public Member Functions inherited from PxSpring
 PxSpring (PxReal stiffness_, PxReal damping_)
 

Public Attributes

PxReal forceLimit
 the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES More...
 
PxD6JointDriveFlags flags
 the joint drive flags More...
 
- Public Attributes inherited from PxSpring
PxReal stiffness
 the spring strength of the drive: that is, the force proportional to the position error More...
 
PxReal damping
 the damping strength of the drive: that is, the force proportional to the velocity error More...
 

Detailed Description

parameters for configuring the drive model of a PxD6Joint

See Also
PxD6Joint

Constructor & Destructor Documentation

PxD6JointDrive::PxD6JointDrive ( )
inline

default constructor for PxD6JointDrive.

PxD6JointDrive::PxD6JointDrive ( PxReal  driveStiffness,
PxReal  driveDamping,
PxReal  driveForceLimit,
bool  isAcceleration = false 
)
inline

constructor a PxD6JointDrive.

Parameters
[in]driveStiffnessthe stiffness of the drive spring.
[in]driveDampingthe damping of the drive spring
[in]driveForceLimitthe maximum impulse or force that can be exerted by the drive
[in]isAccelerationwhether the drive is an acceleration drive or a force drive

Member Function Documentation

bool PxD6JointDrive::isValid ( ) const
inline

returns true if the drive is valid

References damping, PxIsFinite(), and stiffness.

Member Data Documentation

PxD6JointDriveFlags PxD6JointDrive::flags

the joint drive flags

PxReal PxD6JointDrive::forceLimit

the force limit of the drive - may be an impulse or a force depending on PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES


The documentation for this class was generated from the following file:


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com