19 #ifndef HPP_CORE_CONTINUOUS_VALIDATION_SOLID_SOLID_COLLISION_HH 20 # define HPP_CORE_CONTINUOUS_VALIDATION_SOLID_SOLID_COLLISION_HH 26 namespace continuousValidation {
76 std::string name ()
const;
78 std::ostream& print (std::ostream& os)
const;
89 return m_->coefficients;
106 return (m_->joint_a ? m_->joint_a->index() : 0);
111 return (m_->joint_b ? m_->joint_b->index() : 0);
141 void init(
const SolidSolidCollisionWkPtr_t& weak);
144 typedef std::vector<JointIndex> JointIndices_t;
149 CoefficientVelocities_t coefficients;
150 JointIndices_t computeSequenceOfJoints ()
const;
151 void computeCoefficients (
const JointIndices_t& joints);
153 boost::shared_ptr<Model> m_;
154 SolidSolidCollisionWkPtr_t weak_;
159 #endif // HPP_CORE_CONTINUOUS_VALIDATION_SOLID_SOLID_COLLISION_HH JointPtr_t joint_
Joint the degrees of freedom of which the bounds correspond to.
Definition: solid-solid-collision.hh:33
boost::shared_ptr< IntervalValidation > IntervalValidationPtr_t
Definition: fwd.hh:242
std::vector< CollisionObjectConstPtr_t > ConstObjectStdVector_t
Definition: fwd.hh:168
ObjectFactory * create(ObjectFactory *parent=NULL, const XMLElement *element=NULL)
::pinocchio::ModelTpl< value_type, 0, JointCollectionTpl > Model
pinocchio::size_type size_type
Definition: fwd.hh:156
pinocchio::JointPtr_t JointPtr_t
Definition: fwd.hh:133
boost::shared_ptr< SolidSolidCollision > SolidSolidCollisionPtr_t
Definition: fwd.hh:245
Definition: solid-solid-collision.hh:27
size_type indexJointA() const
Returns joint A index or -1 if no such joint exists.
Definition: solid-solid-collision.hh:104
const CoefficientVelocities_t & coefficients() const
Definition: solid-solid-collision.hh:87
const JointPtr_t & joint_b() const
Get joint b.
Definition: solid-solid-collision.hh:98
value_type value_
Definition: solid-solid-collision.hh:34
pinocchio::vector_t vector_t
Definition: fwd.hh:201
pinocchio::value_type value_type
Definition: fwd.hh:157
std::vector< CoefficientVelocity > CoefficientVelocities_t
Definition: solid-solid-collision.hh:36
SolidSolidCollision(const SolidSolidCollision &other)
Copy constructor.
Definition: solid-solid-collision.hh:137
const JointPtr_t & joint_a() const
Get joint a.
Definition: solid-solid-collision.hh:93
Definition: body-pair-collision.hh:51
size_type indexJointB() const
Returns joint B index or -1 if no such joint exists.
Definition: solid-solid-collision.hh:109
CoefficientVelocity()
Definition: solid-solid-collision.hh:29
Definition: solid-solid-collision.hh:47
::pinocchio::JointIndex JointIndex
pinocchio::CollisionObjectConstPtr_t CollisionObjectConstPtr_t
Definition: fwd.hh:90