|
Mujoco KDL Wrapper
0.2.2
MuJoCo + KDL bridge for robot kinematics and dynamics
|
Functions | |
| tuple[mjk.Scene, mjk.Robot] | build_scene (str model_path) |
| int | main () |
Variables | |
| list | HOME_POSE = [0.0, 0.2618, 3.1416, -2.2689, 0.0, 0.9599, 1.5708] |
| int | FPS = 60 |
| float | DURATION = 5.0 |
| float | GRAVITY_Z = -9.81 |
| dict | RESOLUTIONS |
Headless recording example ported from src/examples/ex_record.cpp. Records the Kinova GEN3 arm holding the home pose via KDL gravity compensation (TORQUE mode) for 5 s at 60 fps, with the camera slowly orbiting the arm. No display or GLFW window is needed.
| tuple[mjk.Scene, mjk.Robot] ex_record.build_scene | ( | str | model_path | ) |
Definition at line 31 of file ex_record.py.
Referenced by main().
| int ex_record.main | ( | ) |
Definition at line 44 of file ex_record.py.
References build_scene(), and main().
Referenced by main().
| float ex_record.DURATION = 5.0 |
Definition at line 18 of file ex_record.py.
| int ex_record.FPS = 60 |
Definition at line 17 of file ex_record.py.
| float ex_record.GRAVITY_Z = -9.81 |
Definition at line 19 of file ex_record.py.
| list ex_record.HOME_POSE = [0.0, 0.2618, 3.1416, -2.2689, 0.0, 0.9599, 1.5708] |
Definition at line 16 of file ex_record.py.
| dict ex_record.RESOLUTIONS |
Definition at line 21 of file ex_record.py.