|
| 1 | +# motrixsim |
| 2 | + |
| 3 | +## Classes |
| 4 | + |
| 5 | +- [`Actuator`](../symbols/motrixsim.Actuator.md) - The base Actuator class provides access to common actuator properties and control. |
| 6 | +- [`AdhesionActuator`](../symbols/motrixsim.AdhesionActuator.md) - Adhesion actuator (MJCF ``<adhesion>``). Generates adhesion force on contact surfaces. |
| 7 | +- [`Body`](../symbols/motrixsim.Body.md) - The Body object represents a rigid body in the scene. |
| 8 | +- [`Camera`](../symbols/motrixsim.Camera.md) - The Camera object in the scene. |
| 9 | +- [`CameraMgr`](../symbols/motrixsim.CameraMgr.md) |
| 10 | +- [`ContactQuery`](../symbols/motrixsim.ContactQuery.md) |
| 11 | +- [`DisjointIndices`](../symbols/motrixsim.DisjointIndices.md) |
| 12 | +- [`FloatingBase`](../symbols/motrixsim.FloatingBase.md) - The FloatingBase object represents a floating base in the scene. |
| 13 | +- [`GeneralActuator`](../symbols/motrixsim.GeneralActuator.md) - General actuator (MJCF ``<general>``). |
| 14 | +- [`Geom`](../symbols/motrixsim.Geom.md) - The Geom object represents a geometry in the scene. |
| 15 | +- [`HField`](../symbols/motrixsim.HField.md) - The HField object represents a height field terrain in the scene. |
| 16 | +- [`Joint`](../symbols/motrixsim.Joint.md) - The Joint object represents a joint in the scene. |
| 17 | +- [`Keyframe`](../symbols/motrixsim.Keyframe.md) - The Keyframe object represents a keyframe in the scene. |
| 18 | +- [`Link`](../symbols/motrixsim.Link.md) - The Link object represents a kinematic link in the scene. |
| 19 | +- [`Mocap`](../symbols/motrixsim.Mocap.md) - The Mocap object represents a motion capture body in the scene. it can will participate in the |
| 20 | +- [`MotorActuator`](../symbols/motrixsim.MotorActuator.md) - Motor actuator (MJCF ``<motor>``). Direct torque/force control with fixed gain = 1.0. |
| 21 | +- [`Options`](../symbols/motrixsim.Options.md) - The Options object represents the simulation options. |
| 22 | +- [`PositionActuator`](../symbols/motrixsim.PositionActuator.md) - Position actuator (MJCF ``<position>``). |
| 23 | +- [`SceneData`](../symbols/motrixsim.SceneData.md) - The SceneData object represents the simulation state. |
| 24 | +- [`SceneModel`](../symbols/motrixsim.SceneModel.md) - The SceneModel object represents the entire simulation world. |
| 25 | +- [`Shape`](../symbols/motrixsim.Shape.md) - The shape type of a collider. |
| 26 | +- [`Site`](../symbols/motrixsim.Site.md) - The Site object represents a reference point or marker in the scene. |
| 27 | +- [`VelocityActuator`](../symbols/motrixsim.VelocityActuator.md) - Velocity actuator (MJCF ``<velocity>``). |
| 28 | + |
| 29 | +## Functions |
| 30 | + |
| 31 | +### forward_kinematic |
| 32 | + |
| 33 | +```python |
| 34 | +def forward_kinematic(model: SceneModel, data: SceneData) -> None |
| 35 | +``` |
| 36 | + |
| 37 | +Run forward kinematic only. |
| 38 | + |
| 39 | + Args: |
| 40 | + model: The scene model. |
| 41 | + data: The scene data. |
| 42 | + |
| 43 | +### load_mjcf_str |
| 44 | + |
| 45 | +```python |
| 46 | +def load_mjcf_str(mjcf: str) -> SceneModel |
| 47 | +``` |
| 48 | + |
| 49 | +Load a model from a string containing MJCF data. |
| 50 | + |
| 51 | + Args: |
| 52 | + mjcf: The MJCF data as a string. |
| 53 | + |
| 54 | + Returns: |
| 55 | + SceneModel: The loaded scene model. |
| 56 | + |
| 57 | +### load_model |
| 58 | + |
| 59 | +```python |
| 60 | +def load_model(path: str) -> SceneModel |
| 61 | +``` |
| 62 | + |
| 63 | +Load a model from the given file path. |
| 64 | + |
| 65 | + Args: |
| 66 | + path: The path to the model file. |
| 67 | + currently mjcf and urdf are supported. |
| 68 | + |
| 69 | + Returns: |
| 70 | + SceneModel: The loaded scene model. |
| 71 | + |
| 72 | +### load_usd |
| 73 | + |
| 74 | +```python |
| 75 | +def load_usd(usd_path: str | Path, deduplicate_vertices: bool = True) -> SceneModel |
| 76 | +``` |
| 77 | + |
| 78 | +Load a USD file and return a SceneModel ready for simulation. |
| 79 | + |
| 80 | + Args: |
| 81 | + usd_path: Path to the USD file (.usd, .usda, .usdc, .usdz). |
| 82 | + deduplicate_vertices: If True (default), merge vertices with identical attributes. |
| 83 | + |
| 84 | +### step |
| 85 | + |
| 86 | +```python |
| 87 | +def step(model: SceneModel, data: SceneData) -> None |
| 88 | +``` |
| 89 | + |
| 90 | +Advance the simulation by one step. |
| 91 | + |
| 92 | + Args: |
| 93 | + model: The scene model. |
| 94 | + data: The scene data. |
0 commit comments