[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111188":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},111188,"PolicyIK","Tinaliu0123\u002FPolicyIK","Tinaliu0123","PolicyIK: High-Precision Inverse Kinematics for Robot Arms with Reinforcement Learning","https:\u002F\u002Ftinaliu0123.github.io\u002FPolicyIK\u002F",null,"Python",106,12,1,0,8,37,5,53.04,"Apache License 2.0",false,"main",true,[],"2026-11-17 21:25:27","2026-11-23 06:44:00","\u003Cdiv align=\"center\">\n\n# PolicyIK: High-Precision Inverse Kinematics for Robot Arms with Reinforcement Learning\n\nYuhan Liu\u003Csup>1*\u003C\u002Fsup>, Xinqi Liu\u003Csup>1*\u003C\u002Fsup>, Zixuan Dong\u003Csup>1*\u003C\u002Fsup>, Keith W. Ross\u003Csup>2\u003C\u002Fsup>, Shenji Wan\u003Csup>1\u003C\u002Fsup>\n\n\u003Csup>1\u003C\u002Fsup>New York University &nbsp; \u003Csup>2\u003C\u002Fsup>New York University Abu Dhabi &nbsp; \u003Csup>*\u003C\u002Fsup>Equal contribution\n\n[![arXiv](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-2611.05372-b31b1b.svg?logo=arxiv&logoColor=white)](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.05372)\n[![Project Website](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FProject-Website-1f4e9c.svg?logo=googlechrome&logoColor=white)](https:\u002F\u002Ftinaliu0123.github.io\u002FPolicyIK\u002F)\n[![X Thread](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Thread-000000.svg?logo=x&logoColor=white)](https:\u002F\u002Fx.com\u002Fl_yuhan7272\u002Fstatus\u002F2118366838719422651)\n\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fteaser.png\" alt=\"PolicyIK reaches full end-effector poses across the workspace and holds them within 1 mm and 0.2 degrees\" width=\"100%\">\n\u003C\u002Fp>\n\nPolicyIK is a goal-conditioned reinforcement learning policy for high-precision inverse kinematics (IK) of robot arms. In simulation and when trained directly on a physical OpenArm, it reaches and holds full end-effector poses within 1 mm and 0.2° on more tasks than classical IK controllers.\n\n## 📝 Table of Contents\n\n- [Project Structure](#project-structure)\n- [Simulation](#simulation)\n  - [Installation](#installation)\n  - [Data and Checkpoints](#data-and-checkpoints)\n  - [Quick Start](#quick-start)\n  - [Training](#training)\n  - [Evaluation](#evaluation)\n- [Real Robot](#real-robot)\n- [Citation](#citation)\n\n## Project Structure\n\n```\nPolicyIK\u002F\n├── simulation\u002F\n│   ├── policyik_sim\u002F      # Isaac Lab task, training, evaluation and metrics\n│   ├── scripts\u002F\n│   ├── data\u002F              # source set, training pools and evaluation tasks\n│   └── checkpoints\u002F       # released policies\n├── hardware\u002F\n│   ├── policyik_hw\u002F       # arm env, ROS 2 interface, training with HER and demonstrations, evaluation\n│   ├── flash_rl\u002F          # FlashSAC\n│   ├── ros2\u002F              # ROS 2 package that starts the arm\n│   ├── data\u002F              # evaluation tasks, demonstrations and task pool\n│   ├── scripts\u002F\n│   └── config.yaml        # the training recipe\n└── requirements\u002F\n```\n\n## Simulation\n\nIn simulation, we train PolicyIK with PPO in Isaac Lab and evaluate it on 4,120 held-out tasks. The commands in this section run from `simulation\u002F`.\n\n### Installation\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FTinaliu0123\u002FPolicyIK.git\ncd PolicyIK\u002Fsimulation\nconda create -n policyik python=3.11\nconda activate policyik\nbash install.sh\n```\n\n> [!NOTE]\n> The scripts set `OMNI_KIT_ACCEPT_EULA=YES`, which accepts the [NVIDIA Omniverse license](https:\u002F\u002Fdocs.omniverse.nvidia.com\u002Finstall-guide\u002Flatest\u002Fcommon\u002FNVIDIA_Omniverse_License_Agreement.html) of Isaac Sim.\n\n### Data and Checkpoints\n\nThe data and the checkpoints are part of the repository. All poses are end-effector poses of `openarm_hand` in the robot base frame, with quaternions in (w, x, y, z) order.\n\n| File | Content |\n|---|---|\n| `data\u002Fsource_set.npz` | 200,000 joint configurations `q` with their poses `ee_pos`, `ee_quat` and the `floor_contact` and `self_collision` labels |\n| `data\u002Ftrain_start_pool.npz` | training start configurations |\n| `data\u002Ftrain_goal_pool.npz` | training goals in the deployment workspace |\n| `data\u002Feval_tasks.npz` | 4,120 evaluation tasks `q_start`, `goal_pos`, `goal_quat` |\n| `checkpoints\u002Fpolicyik_s{1,2,3}.pth` | released policies, each an exponentially weighted average of the last 20 checkpoints of one training run |\n\n### Quick Start\n\n```bash\nbash scripts\u002Fevaluate.sh 1 checkpoints\u002Fpolicyik_s1.pth\n```\n\nThis evaluates a released policy with a single attempt and with the deployment protocol, writes the rollouts to `outputs\u002Feval\u002Fs1\u002F`, and prints the metrics.\n\n### Training\n\n```bash\nbash scripts\u002Ftrain.sh 1\n```\n\nThis trains a policy for 13,000 PPO epochs and averages its last 20 checkpoints with exponential weights into `logs\u002Frl_games\u002Fpolicyik_s1\u002Fcheckpoint_average.pth`.\n\n### Evaluation\n\n```bash\nfor s in 1 2 3; do bash scripts\u002Fevaluate.sh $s checkpoints\u002Fpolicyik_s$s.pth; done\npython -m policyik_sim.metrics --seed_dir outputs\u002Feval\u002Fs1 --seed_dir outputs\u002Feval\u002Fs2 --seed_dir outputs\u002Feval\u002Fs3\n```\n\nThis evaluates the three released policies and reports the metrics over them. Without a checkpoint argument, `bash scripts\u002Fevaluate.sh 1` evaluates the policy written by `bash scripts\u002Ftrain.sh 1`. A task succeeds when the mean position and orientation errors over the final second are below 1 mm and 0.2° (strict) or 1 cm and 2° (coarse).\n\n## Real Robot\n\nOn the real robot, we train PolicyIK directly on a physical [OpenArm](https:\u002F\u002Fdocs.openarm.dev\u002F1.0\u002F) with FlashSAC and Hindsight Experience Replay (HER), and evaluate it on 60 fixed tasks. See [hardware\u002FREADME.md](hardware\u002FREADME.md) for the installation, the robot setup, training and evaluation.\n\n## Citation\n\nIf you find this work useful, please cite our paper:\n\n```bibtex\n@article{liu2026policyik,\n  title   = {PolicyIK: High-Precision Inverse Kinematics for Robot Arms with Reinforcement Learning},\n  author  = {Liu, Yuhan and Liu, Xinqi and Dong, Zixuan and Ross, Keith W. and Wan, Shenji},\n  journal = {arXiv preprint arXiv:2611.05372},\n  year    = {2026}\n}\n```\n","PolicyIK 是一个基于强化学习的高精度机器人逆运动学（IK）求解器，专为机械臂末端执行器的全姿态控制设计。它采用目标条件化策略，在仿真与真实 OpenArm 硬件上均实现 ≤1 mm 位置误差和 ≤0.2° 姿态误差，显著优于传统解析或数值 IK 方法；支持 Isaac Lab 仿真训练与 ROS 2 实机部署，集成 PPO 和 HER 等强化学习算法，并提供预训练模型与完整评估任务集。适用于对定位精度要求严苛的服务机器人、精密装配、科研验证等场景。",2,"2026-11-24 04:40:21","CREATED_QUERY"]