{"id":17923849,"url":"https://github.com/kevinzakka/mjctrl","last_synced_at":"2025-10-25T08:15:34.161Z","repository":{"id":212204678,"uuid":"710460799","full_name":"kevinzakka/mjctrl","owner":"kevinzakka","description":"Minimal, clean, single-file implementations of common robotics controllers in MuJoCo.","archived":false,"fork":false,"pushed_at":"2024-04-16T18:06:51.000Z","size":19984,"stargazers_count":334,"open_issues_count":3,"forks_count":22,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-26T10:19:29.659Z","etag":null,"topics":["franka-emika","inverse-kinematics","kuka-lbr-iiwa","mujoco","operational-space-control","ur5e"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinzakka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T18:32:03.000Z","updated_at":"2025-05-23T17:05:44.000Z","dependencies_parsed_at":"2023-12-22T15:06:56.560Z","dependency_job_id":"b98554ec-3dfc-4005-84f3-507651b675f4","html_url":"https://github.com/kevinzakka/mjctrl","commit_stats":null,"previous_names":["kevinzakka/mjctrl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinzakka/mjctrl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinzakka%2Fmjctrl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinzakka%2Fmjctrl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinzakka%2Fmjctrl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinzakka%2Fmjctrl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinzakka","download_url":"https://codeload.github.com/kevinzakka/mjctrl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinzakka%2Fmjctrl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280923953,"owners_count":26414347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["franka-emika","inverse-kinematics","kuka-lbr-iiwa","mujoco","operational-space-control","ur5e"],"created_at":"2024-10-28T20:45:48.967Z","updated_at":"2025-10-25T08:15:34.142Z","avatar_url":"https://github.com/kevinzakka.png","language":"Python","funding_links":[],"categories":["Learning Source"],"sub_categories":["Dev Tools"],"readme":"# MuJoCo Controllers\n\nSingle-file pedagogical implementations of common robotics controllers in MuJoCo.\n\n## Installation\n\nMuJoCo is the *only dependency* required to run the controllers.\n\n```bash\npip install \"mujoco\u003e=3.1.0\"\n```\n\n## Usage\n\n| File | Video | Description |\n|------|-------|-------------|\n|`diffik.py`|![image info](./images/ur5e.gif)|Differential IK on a 6-DOF UR5e.|\n|`diffik_nullspace.py`|![image info](./images/panda.gif)|Differential IK with nullspace control on a 7-DoF Panda.|\n|`opspace.py`|![image info](./images/iiwa.gif)|Operational space control on a 7-DOF KUKA iiwa14.|\n\n## Acknowledgements\n\nRobot models are taken from [MuJoCo Menagerie](https://github.com/google-deepmind/mujoco_menagerie).\n\n## References\n\n- Samuel R. Buss 2009. Introduction to Inverse Kinematics with Jacobian Transpose, Pseudoinverse and Damped Least Squares methods. [PDF](https://www.cs.cmu.edu/~15464-s13/lectures/lecture6/iksurvey.pdf)\n- Oussama Khatib 1987. A Unified Approach for Motion and Force Control of Robot Manipulators: the Operational Space Formulation. [PDF](https://khatib.stanford.edu/publications/pdfs/Khatib_1987_RA.pdf)\n- Russ Tedrake, 2023. Robotic Manipulation: Perception, Planning, and Control. [PDF](http://manipulation.mit.edu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinzakka%2Fmjctrl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinzakka%2Fmjctrl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinzakka%2Fmjctrl/lists"}