|
SuperDex Physics C++ API
|
Parameters for creating a prismatic joint between two rigid actors. More...
#include <mochi_structs.h>
Public Attributes | |
| ActorHandle | actorA {} |
| Actor handle identifying rigid actor A. | |
| ActorHandle | actorB {} |
| Actor handle identifying rigid actor B. | |
| Real3 | freeAxis {} |
| Axis of free translation, specified in the world frame at constraint creation time. | |
| std::optional< real > | max {} |
| Maximum translation [m] relative to rest position. | |
| std::optional< real > | min {} |
| Minimum translation [m] relative to rest position. | |
| Public Attributes inherited from superdex::ConstraintParams | |
| real | damping = 0_r |
| Constraint damping coefficient. | |
| real | saturation = -1_r |
| Saturation distance [m] or angle [rad]. | |
| real | stiffness = 1e6_r |
| Constraint stiffness coefficient. | |
Additional Inherited Members | |
| Public Member Functions inherited from superdex::ConstraintParams | |
| bool | operator== (ConstraintParams const &) const =default |
Parameters for creating a prismatic joint between two rigid actors.
Definition at line 291 of file mochi_structs.h.
| ActorHandle superdex::RigidPrismaticJointConstraintParams::actorA {} |
Actor handle identifying rigid actor A.
Definition at line 294 of file mochi_structs.h.
| ActorHandle superdex::RigidPrismaticJointConstraintParams::actorB {} |
Actor handle identifying rigid actor B.
Definition at line 296 of file mochi_structs.h.
| Real3 superdex::RigidPrismaticJointConstraintParams::freeAxis {} |
Axis of free translation, specified in the world frame at constraint creation time.
Definition at line 292 of file mochi_structs.h.
| std::optional<real> superdex::RigidPrismaticJointConstraintParams::max {} |
Maximum translation [m] relative to rest position.
Empty means unbounded.
Definition at line 298 of file mochi_structs.h.
| std::optional<real> superdex::RigidPrismaticJointConstraintParams::min {} |
Minimum translation [m] relative to rest position.
Empty means unbounded.
Definition at line 300 of file mochi_structs.h.