MBSim |
Project Page |
#include <constraint.h>
Classes | |
| class | Residuum |
Public Member Functions | |
| JointConstraint (const std::string &name="") | |
| void | init (InitStage stage) |
| initialize object at start of simulation with respect to contours and frames | |
| void | initz () |
| initialize state of object at start of simulation | |
| void | connect (Frame *frame1, Frame *frame2) |
| void | setDependentBodiesFirstSide (std::vector< RigidBody * > bd) |
| void | setDependentBodiesSecondSide (std::vector< RigidBody * > bd) |
| void | setIndependentBody (RigidBody *bi) |
| virtual void | setUpInverseKinetics () |
| TODO. | |
| void | setForceDirection (const fmatvec::Mat3xV &d_) |
| void | setMomentDirection (const fmatvec::Mat3xV &d_) |
| void | setq0 (const fmatvec::Vec &q0_) |
| fmatvec::Vec | res (const fmatvec::Vec &q, const double &t) |
| void | updateStateDependentVariables (double t) |
| void | updateJacobians (double t, int j=0) |
| virtual void | initializeUsingXML (MBXMLUtils::TiXmlElement *element) |
| virtual MBXMLUtils::TiXmlElement * | writeXMLFile (MBXMLUtils::TiXmlNode *element) |
| virtual std::string | getType () const |
| void | setOpenMBVJointForceArrow (OpenMBV::Arrow *arrow) |
| Visualize a force arrow acting on frame2. | |
| void | setOpenMBVJointMomentArrow (OpenMBV::Arrow *arrow) |
| Visualize a moment arrow acting on frame2. | |
Private Attributes | |
| std::vector< RigidBody * > | bd1 |
| std::vector< RigidBody * > | bd2 |
| RigidBody * | bi |
| std::vector< Frame * > | if1 |
| std::vector< Frame * > | if2 |
| Frame * | frame1 |
| Frame * | frame2 |
| fmatvec::Mat3xV | dT |
| fmatvec::Mat3xV | dR |
| std::vector< fmatvec::Index > | Iq1 |
| std::vector< fmatvec::Index > | Iq2 |
| std::vector< fmatvec::Index > | Iu1 |
| std::vector< fmatvec::Index > | Iu2 |
| std::vector< fmatvec::Index > | Ih1 |
| std::vector< fmatvec::Index > | Ih2 |
| int | nq |
| int | nu |
| int | nh |
| fmatvec::Vec | q |
| positions, velocities | |
| fmatvec::Vec | u |
| fmatvec::Mat | J |
| fmatvec::Vec | j |
| fmatvec::Mat | JT |
| fmatvec::Mat | JR |
| fmatvec::Vec | q0 |
| initial position, velocity | |
| std::string | saved_ref1 |
| std::string | saved_ref2 |
| std::vector< std::string > | saved_RigidBodyFirstSide |
| std::vector< std::string > | saved_RigidBodySecondSide |
| std::string | saved_IndependentBody |
Joint contraint.
| virtual std::string MBSim::JointConstraint::getType | ( | ) | const [inline, virtual] |
Reimplemented from MBSim::Object.
1.8.0