|
signals-cpp
|
Parameters for a 2D rigid body model. More...
#include <Models.h>
Public Member Functions | |
| RigidBodyParams2D () | |
Public Attributes | |
| double | m |
| Model mass. | |
| double | J |
| Moment of inertia. | |
| Vector2d | g |
| Gravitational vector. | |
Parameters for a 2D rigid body model.
Picture a mass (not necessarily a point mass) confined to a 2D plane.
|
inline |
| Vector2d RigidBodyParams2D::g |
Gravitational vector.
Essentially defines which way is "down." Set to all zeroes if e.g., the 2D plane represents flat ground.
| double RigidBodyParams2D::J |
Moment of inertia.
The moment of inertia is about the axis coming out of the 2D plane.
| double RigidBodyParams2D::m |
Model mass.