|
Mujoco KDL Wrapper
0.2.2
MuJoCo + KDL bridge for robot kinematics and dynamics
|
Functions | |
| str | cabinet_path () |
| mjk.Scene | build_scene () |
| None | run_headless (mjk.Scene scene) |
| None | run_gui (mjk.Scene scene) |
| int | main () |
Variables | |
| list | GRASPS = ["cabinet_grasp1", "cabinet_grasp2", "cabinet_grasp3"] |
Load the 3-drawer cabinet asset into a robot-less scene. The cabinet is a mesh SceneObject (no robot). Headless prints each drawer's grasp-site pose; --gui opens it in the wrapper's simulate UI. The drawers are passive slide joints -- drag one open in the viewer and it stays put.
| mjk.Scene ex_cabinet.build_scene | ( | ) |
| str ex_cabinet.cabinet_path | ( | ) |
Definition at line 18 of file ex_cabinet.py.
Referenced by build_scene().
| int ex_cabinet.main | ( | ) |
Definition at line 53 of file ex_cabinet.py.
References build_scene(), main(), run_gui(), and run_headless().
Referenced by main().
| None ex_cabinet.run_gui | ( | mjk.Scene | scene | ) |
Definition at line 43 of file ex_cabinet.py.
Referenced by main().
| None ex_cabinet.run_headless | ( | mjk.Scene | scene | ) |
Definition at line 36 of file ex_cabinet.py.
Referenced by main().
| list ex_cabinet.GRASPS = ["cabinet_grasp1", "cabinet_grasp2", "cabinet_grasp3"] |
Definition at line 15 of file ex_cabinet.py.