# mingchaoqi/skill_transfer architecture

> Architecture diagram of the GitHub repository mingchaoqi/skill_transfer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mingchaoqi/skill_transfer
- Repository: https://github.com/mingchaoqi/skill_transfer

## Overview

This repository implements robot-manipulation skill transfer across simulation and a KUKA iiwa14 with GelSight Mini tactile sensing. The principal workflow is to define or select a manipulation skill, transfer and execute its trajectory in a Robosuite task, then use tactile-derived object pose and ROS2 pose-alignment commands during real-robot operation. The graph also preserves the documented RL-transfer and kitchen/task-zoo branches. Some ROS nodes and simulation subsystems are represented from the README or tree because their implementation was not sampled; those links are marked as unverified.

Main entry points: [`envs/robosuite/robosuite/environments/manipulation`](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/environments/manipulation) (Robosuite Tasks), [`Hierarchical_transfer_of_skills/trajectory_transfer/main.py`](https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/trajectory_transfer/main.py) (Trajectory Transfer), [`gel_boundary/gel_boundary/orientation_publisher.py`](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/orientation_publisher.py) (Object Pose), [`gel_boundary/gel_boundary/pose_planning_node.py`](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/pose_planning_node.py) (Pose Alignment)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skills["Skill Transfer"]
  node_skill_library["Skill Library<br/>[hammer_place_v2.py]"]
  node_knowledge_graph["Skill Knowledge<br/>[knowledge_graph.py]"]
  node_trajectory["Trajectory Transfer<br/>[main.py]"]
  node_motion_planning["Motion Planning<br/>[motion_planning.py]"]
  node_rl_transfer["RL Transfer"]
end

subgraph group_simulation["Simulation Tasks"]
  node_robosuite["Robosuite Tasks"]
  node_task_zoo["Task Zoo"]
  node_controllers["Robot Controllers"]
  node_robot_models["Robot Models"]
  node_scene_models["Scene Models"]
  node_simulation_utils["Simulation Utilities"]
end

subgraph group_tactile["Tactile Perception"]
  node_tactile_capture["GelSight Capture<br/>[gs3drecon.py]"]
  node_image_flow["Image Flow<br/>[image_flow.py]"]
  node_boundary_texture["Boundary and Texture<br/>[texture.py]"]
  node_pose_estimation["Object Pose"]
end

subgraph group_robot["Robot Execution"]
  node_pose_planning["Pose Alignment"]
  node_pose_listener["Arm Pose Listener<br/>[listener.py]"]
  node_physical_transfer["Physical Tactile Transfer"]
end

node_operator(("Engineer"))
node_ros2{{"ROS2 and LBR"}}
node_iiwa{{"KUKA iiwa14"}}
node_gelsight{{"GelSight Mini"}}

node_operator -.->|"selects skill"| node_skill_library
node_operator -.->|"runs transfer"| node_trajectory
node_trajectory -->|"calls planner"| node_motion_planning
node_trajectory -->|"creates task"| node_task_zoo
node_trajectory -->|"configures control"| node_controllers
node_skill_library -->|"extends environment"| node_robosuite
node_task_zoo -->|"uses arm base"| node_robosuite
node_robosuite -.->|"selects controllers"| node_controllers
node_robosuite -.->|"simulates robots"| node_robot_models
node_robosuite -.->|"builds scenes"| node_scene_models
node_robosuite -.->|"uses utilities"| node_simulation_utils
node_operator -.->|"evaluates transfer"| node_rl_transfer
node_gelsight -.->|"supplies images"| node_tactile_capture
node_tactile_capture -.->|"tracks image motion"| node_image_flow
node_image_flow -.->|"supports tactile analysis"| node_boundary_texture
node_pose_estimation -->|"publishes object pose"| node_gelsight
node_pose_listener -->|"subscribes arm pose"| node_iiwa
node_pose_planning -->|"publishes alignment"| node_ros2
node_pose_estimation -.->|"provides pose"| node_pose_planning
node_physical_transfer -.->|"supports pose workflow"| node_pose_estimation
node_physical_transfer -.->|"supports alignment"| node_pose_planning
node_operator -->|"starts node"| node_pose_listener
node_operator -->|"starts node"| node_pose_estimation
node_operator -->|"starts node"| node_pose_planning

click node_skill_library "https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/skill_library/hammer_place_v2.py"
click node_knowledge_graph "https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/skill_library/knowledge_graph.py"
click node_trajectory "https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/trajectory_transfer/main.py"
click node_motion_planning "https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/trajectory_transfer/motion_planning.py"
click node_rl_transfer "https://github.com/mingchaoqi/skill_transfer/tree/main/experiments/RL_direct_transfer"
click node_robosuite "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/environments/manipulation"
click node_task_zoo "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite-task-zoo/robosuite_task_zoo/environments/manipulation"
click node_controllers "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/controllers"
click node_robot_models "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/models/robots"
click node_scene_models "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/models"
click node_simulation_utils "https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/utils"
click node_tactile_capture "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/gs3drecon.py"
click node_image_flow "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/image_flow.py"
click node_boundary_texture "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/texture.py"
click node_pose_estimation "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/orientation_publisher.py"
click node_pose_planning "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/pose_planning_node.py"
click node_pose_listener "https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/listener.py"
click node_physical_transfer "https://github.com/mingchaoqi/skill_transfer/tree/main/Hierarchical_transfer_of_skills/Physical_level_tactile_transfer/tac3d"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill_library,node_knowledge_graph,node_trajectory,node_motion_planning,node_rl_transfer toneBlue
class node_robosuite,node_task_zoo,node_controllers,node_robot_models,node_scene_models,node_simulation_utils toneAmber
class node_tactile_capture,node_image_flow,node_boundary_texture,node_pose_estimation toneMint
class node_pose_planning,node_pose_listener,node_physical_transfer toneRose
class node_operator,node_ros2,node_iiwa,node_gelsight toneIndigo
```

## Components

### Skill Transfer

- [Skill Library](https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/skill_library/hammer_place_v2.py): `Hierarchical_transfer_of_skills/skill_library/hammer_place_v2.py`
- [Skill Knowledge](https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/skill_library/knowledge_graph.py): `Hierarchical_transfer_of_skills/skill_library/knowledge_graph.py`
- [Trajectory Transfer](https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/trajectory_transfer/main.py): `Hierarchical_transfer_of_skills/trajectory_transfer/main.py`
- [Motion Planning](https://github.com/mingchaoqi/skill_transfer/blob/main/Hierarchical_transfer_of_skills/trajectory_transfer/motion_planning.py): `Hierarchical_transfer_of_skills/trajectory_transfer/motion_planning.py`
- [RL Transfer](https://github.com/mingchaoqi/skill_transfer/tree/main/experiments/RL_direct_transfer): `experiments/RL_direct_transfer`

### Simulation Tasks

- [Robosuite Tasks](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/environments/manipulation): `envs/robosuite/robosuite/environments/manipulation`
- [Task Zoo](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite-task-zoo/robosuite_task_zoo/environments/manipulation): `envs/robosuite-task-zoo/robosuite_task_zoo/environments/manipulation`
- [Robot Controllers](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/controllers): `envs/robosuite/robosuite/controllers`
- [Robot Models](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/models/robots): `envs/robosuite/robosuite/models/robots`
- [Scene Models](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/models): `envs/robosuite/robosuite/models`
- [Simulation Utilities](https://github.com/mingchaoqi/skill_transfer/tree/main/envs/robosuite/robosuite/utils): `envs/robosuite/robosuite/utils`

### Tactile Perception

- [GelSight Capture](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/gs3drecon.py): `gel_boundary/gel_boundary/gs3drecon.py`
- [Image Flow](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/image_flow.py): `gel_boundary/gel_boundary/image_flow.py`
- [Boundary and Texture](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/texture.py): `gel_boundary/gel_boundary/texture.py`
- [Object Pose](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/orientation_publisher.py): `gel_boundary/gel_boundary/orientation_publisher.py`

### Robot Execution

- [Pose Alignment](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/pose_planning_node.py): `gel_boundary/gel_boundary/pose_planning_node.py`
- [Arm Pose Listener](https://github.com/mingchaoqi/skill_transfer/blob/main/gel_boundary/gel_boundary/listener.py): `gel_boundary/gel_boundary/listener.py`
- [Physical Tactile Transfer](https://github.com/mingchaoqi/skill_transfer/tree/main/Hierarchical_transfer_of_skills/Physical_level_tactile_transfer/tac3d): `Hierarchical_transfer_of_skills/Physical_level_tactile_transfer/tac3d`

### Other components

- **Engineer**
- **ROS2 and LBR**
- **KUKA iiwa14**
- **GelSight Mini**

## Connections

- Engineer → Skill Library: selects skill
- Engineer → Trajectory Transfer: runs transfer
- Trajectory Transfer → Motion Planning: calls planner (evidence: `Hierarchical_transfer_of_skills/trajectory_transfer/main.py`)
- Trajectory Transfer → Task Zoo: creates task (evidence: `Hierarchical_transfer_of_skills/trajectory_transfer/main.py`)
- Trajectory Transfer → Robot Controllers: configures control (evidence: `Hierarchical_transfer_of_skills/trajectory_transfer/main.py`)
- Skill Library → Robosuite Tasks: extends environment (evidence: `Hierarchical_transfer_of_skills/skill_library/hammer_place_v2.py`)
- Task Zoo → Robosuite Tasks: uses arm base (evidence: `envs/robosuite-task-zoo/robosuite_task_zoo/environments/manipulation/multitask_kitchen.py`)
- Robosuite Tasks → Robot Controllers: selects controllers
- Robosuite Tasks → Robot Models: simulates robots
- Robosuite Tasks → Scene Models: builds scenes
- Robosuite Tasks → Simulation Utilities: uses utilities (evidence: `envs/robosuite/robosuite/environments/manipulation/single_arm_env.py`)
- Engineer → RL Transfer: evaluates transfer
- GelSight Mini → GelSight Capture: supplies images
- GelSight Capture → Image Flow: tracks image motion
- Image Flow → Boundary and Texture: supports tactile analysis
- Object Pose → GelSight Mini: publishes object pose
- Arm Pose Listener → KUKA iiwa14: subscribes arm pose
- Pose Alignment → ROS2 and LBR: publishes alignment
- Object Pose → Pose Alignment: provides pose
- Physical Tactile Transfer → Object Pose: supports pose workflow
- Physical Tactile Transfer → Pose Alignment: supports alignment
- Engineer → Arm Pose Listener: starts node
- Engineer → Object Pose: starts node
- Engineer → Pose Alignment: starts node
