|
DYNAMICS C API
C-compatible interface to the DYNAMICS library
|
Linear spring between body-fixed points; body zero denotes ground. More...
#include <dynamics.h>
Public Attributes | |
| int | body_1 |
| First moving-body index, or zero for ground. | |
| int | body_2 |
| Second moving-body index, or zero for ground. | |
| double | point_1 [3] |
| First attachment in body coordinates, or world coordinates for ground. | |
| double | point_2 [3] |
| Second attachment in body coordinates, or world coordinates for ground. | |
| double | stiffness |
| Linear stiffness. | |
| double | free_length |
| Zero-force length; values below/above this produce compression/tension. | |
Linear spring between body-fixed points; body zero denotes ground.
| int c_linear_spring::body_1 |
First moving-body index, or zero for ground.
| int c_linear_spring::body_2 |
Second moving-body index, or zero for ground.
| double c_linear_spring::point_1[3] |
First attachment in body coordinates, or world coordinates for ground.
| double c_linear_spring::point_2[3] |
Second attachment in body coordinates, or world coordinates for ground.
| double c_linear_spring::stiffness |
Linear stiffness.
| double c_linear_spring::free_length |
Zero-force length; values below/above this produce compression/tension.