Namespaces | |
drake | |
drake::multibody | |
drake::multibody::benchmarks | |
drake::multibody::benchmarks::inclined_plane | |
Functions | ||||||||||||||||||||||||
Inclined plane with a rigid body. | ||||||||||||||||||||||||
These functions create an inclined plane A and possibly a uniform-density rigid body B with user-defined geometry and surface friction properties and adds them to an existing plant. The inclined plane can be modeled as an infinite half-space or as a box with user-defined dimensions. The inclined plane's top surface is located so that it passes through point Wo (the origin of world W). Right-handed orthonormal vectors Wx, Wy, Wz are fixed in the world W. Similarly, Ax, Ay, Az are fixed in the inclined plane A and Bx, By, Bz are fixed in body B. Wz is directed vertically upward (opposite Earth's gravity). The inclined plane A is oriented by initially setting Ax=Wx, Ay=Wy, Az=Wz, and then subjecting A to a right-handed rotation about Ay=Wy. Some of these functions also add a rigid body B (e.g., a block or sphere) with user-defined mass.
| ||||||||||||||||||||||||
void | AddInclinedPlaneAndGravityToPlant (double gravity, double inclined_plane_angle, const std::optional< Vector3< double >> &inclined_plane_dimensions, const CoulombFriction< double > &coefficient_friction_inclined_plane, MultibodyPlant< double > *plant) | |||||||||||||||||||||||
Creates an inclined plane A and adds it to an existing plant. More... | ||||||||||||||||||||||||
void | AddInclinedPlaneWithBlockToPlant (double gravity, double inclined_plane_angle, const std::optional< Vector3< double >> &inclined_plane_dimensions, const CoulombFriction< double > &coefficient_friction_inclined_plane, const CoulombFriction< double > &coefficient_friction_bodyB, double massB, const Vector3< double > &block_dimensions, bool is_block_with_4Spheres, MultibodyPlant< double > *plant) | |||||||||||||||||||||||
Creates an inclined plane A and a uniform-density block (body B), optionally with 4 spheres welded to it, and adds them to an existing plant. More... | ||||||||||||||||||||||||
void | AddInclinedPlaneWithSphereToPlant (double gravity, double inclined_plane_angle, const std::optional< Vector3< double >> &inclined_plane_dimensions, const CoulombFriction< double > &coefficient_friction_inclined_plane, const CoulombFriction< double > &coefficient_friction_bodyB, double massB, double radiusB, MultibodyPlant< double > *plant) | |||||||||||||||||||||||
Creates an inclined plane A and a uniform-density sphere (body B) and adds them to an existing plant. More... | ||||||||||||||||||||||||