Drake
drake::examples::double_pendulum::test Namespace Reference

Functions

::testing::AssertionResult AreElementsEquivalent (const DrakeShapes::Element &elem1, const DrakeShapes::Element &elem2)
 Checks if elem1 and elem2 are equivalent, where equivalence means equality of elements' geometries and local transforms. More...
 
::testing::AssertionResult AreBodiesEquivalent (const RigidBody< double > &body1, const RigidBody< double > &body2)
 Checks if body1 and body2 are equivalent, where equivalence means equality of bodies' naming, inertial characteritics, collisions and visuals. More...
 

Function Documentation

testing::AssertionResult AreBodiesEquivalent ( const RigidBody< double > &  body1,
const RigidBody< double > &  body2 
)

Checks if body1 and body2 are equivalent, where equivalence means equality of bodies' naming, inertial characteritics, collisions and visuals.

Returns
::testing::AssertionSuccess if bodies are equivalent, otherwise ::testing::AssertionFailure.

Here is the call graph for this function:

testing::AssertionResult AreElementsEquivalent ( const DrakeShapes::Element elem1,
const DrakeShapes::Element elem2 
)

Checks if elem1 and elem2 are equivalent, where equivalence means equality of elements' geometries and local transforms.

Returns
::testing::AssertionSuccess if elements are equivalent, otherwise ::testing::AssertionFailure.

Here is the call graph for this function:

Here is the caller graph for this function: