|
Cheetah Software
1.0
|
#include <ContactConstraint.h>
Inheritance diagram for ContactConstraint< T >:
Collaboration diagram for ContactConstraint< T >:Public Member Functions | |
| ContactConstraint (FloatingBaseModel< T > *model) | |
| virtual | ~ContactConstraint () |
| void | AddCollision (Collision< T > *collision) |
| virtual void | UpdateExternalForces (T K, T D, T dt)=0 |
| virtual void | UpdateQdot (FBModelState< T > &state)=0 |
| const vectorAligned< Vec3< T > > & | getContactPosList () |
| const Vec3< T > & | getGCForce (size_t idx) |
Protected Member Functions | |
| void | _groundContactWithOffset (T K, T D) |
| size_t | _CheckContact () |
Protected Attributes | |
| vectorAligned< Vec2< T > > | deflectionRate |
| vectorAligned< Vec2< T > > | _tangentialDeflections |
| size_t | _nContact |
| size_t | _nCollision |
| FloatingBaseModel< T > * | _model |
| std::vector< Collision< T > * > | _collision_list |
| std::vector< size_t > | _idx_list |
| std::vector< T > | _cp_resti_list |
| std::vector< T > | _cp_mu_list |
| std::vector< T > | _cp_penetration_list |
| vectorAligned< Vec3< T > > | _cp_force_list |
| vectorAligned< Vec3< T > > | _cp_local_force_list |
| vectorAligned< Vec3< T > > | _cp_pos_list |
| vectorAligned< Mat3< T > > | _cp_frame_list |
Definition at line 20 of file ContactConstraint.h.
|
inline |
Definition at line 22 of file ContactConstraint.h.
|
inlinevirtual |
Definition at line 30 of file ContactConstraint.h.
|
protected |
Definition at line 8 of file ContactConstraint.cpp.
|
protected |
|
inline |
Add collision object
| collision | : collision objects |
Definition at line 36 of file ContactConstraint.h.
|
inline |
For visualization
Definition at line 60 of file ContactConstraint.h.
|
inline |
For visualization
Definition at line 67 of file ContactConstraint.h.
|
pure virtual |
Used for spring damper based contact constraint method
| K | : Spring constant |
| D | : Damping constant |
| dt | : time step (sec) |
Implemented in ContactSpringDamper< T >, and ContactImpulse< T >.
Here is the caller graph for this function:
|
pure virtual |
Used for impulse based contact constraint method
| state | : full state of a floating system full state |
Implemented in ContactImpulse< T >, and ContactSpringDamper< T >.
Here is the caller graph for this function:
|
protected |
Definition at line 82 of file ContactConstraint.h.
|
protected |
Definition at line 88 of file ContactConstraint.h.
|
protected |
Definition at line 91 of file ContactConstraint.h.
|
protected |
Definition at line 89 of file ContactConstraint.h.
|
protected |
Definition at line 85 of file ContactConstraint.h.
|
protected |
Definition at line 87 of file ContactConstraint.h.
|
protected |
Definition at line 90 of file ContactConstraint.h.
|
protected |
Definition at line 84 of file ContactConstraint.h.
|
protected |
Definition at line 83 of file ContactConstraint.h.
|
protected |
Definition at line 80 of file ContactConstraint.h.
|
protected |
Definition at line 78 of file ContactConstraint.h.
|
protected |
Definition at line 77 of file ContactConstraint.h.
|
protected |
Definition at line 75 of file ContactConstraint.h.
|
protected |
Definition at line 70 of file ContactConstraint.h.