newton.sim#
Submodules
Classes
Provides contact information to be consumed by a solver. |
|
Time-varying control data for a |
|
Holds the definition of the simulation model |
|
A helper class for building simulation models at runtime. |
|
Represents the geometry of a shape. |
|
Represents the contact material properties of a shape. |
|
Time-varying state data for a |
|
Style3DModel derived from newton model, contains extended simulation attributes. |
|
A helper class for building style3d simulation models at runtime. |
Functions
|
A function that generates coloring for a graph, which is represented by the number of nodes and an array of edges. |
|
Counts the maximum number of rigid contact points that need to be allocated. |
|
Evaluates the model's forward kinematics given the joint coordinates and updates the state's body information ( |
|
Evaluates the model's inverse kinematics given the state's body information ( |
|
Return the number of degrees of freedom in position and velocity for a given joint type. |
|
Plots a graph using matplotlib and networkx. |
Constants
Name |
Value |
---|---|
JOINT_BALL |
2 |
JOINT_D6 |
6 |
JOINT_DISTANCE |
5 |
JOINT_FIXED |
3 |
JOINT_FREE |
4 |
JOINT_MODE_NONE |
0 |
JOINT_MODE_TARGET_POSITION |
1 |
JOINT_MODE_TARGET_VELOCITY |
2 |
JOINT_PRISMATIC |
0 |
JOINT_REVOLUTE |
1 |
NOTIFY_FLAG_BODY_INERTIAL_PROPERTIES |
16 |
NOTIFY_FLAG_BODY_PROPERTIES |
8 |
NOTIFY_FLAG_DOF_PROPERTIES |
4 |
NOTIFY_FLAG_JOINT_AXIS_PROPERTIES |
2 |
NOTIFY_FLAG_JOINT_PROPERTIES |
1 |
NOTIFY_FLAG_SHAPE_PROPERTIES |
32 |