This project integrates Contact GraspNet and ManiSkill to enable a robotic system to generate task-oriented grasps without training. The system consists of two main components:
- Contact GraspNet - Generates grasp candidates based on object geometry.
- ManiSkill - Controls the robotic arm to execute grasping actions based on task requirements.
git clone https://github.com/your_username/Training-free-Task-oriented-Grasp-Generation.git
cd Training-free-Task-oriented-Grasp-GenerationMake sure the following dependencies are installed in their respective environments:
conda env create -f cgn_environment.ymlconda env create -f mani3_environment.ymlEnsure you have Conda installed. Then, activate the required environments:
conda activate cgn_envconda activate mani3In the first terminal, navigate to the Contact GraspNet directory and launch the grasping server:
cd ./third_party/contact_graspnet/contact_graspnet/
python socket_server.pyThis starts a socket server that generates task-oriented grasping points.
In another terminal, activate the ManiSkill environment and execute the robot control script:
conda activate mani_env2
python move_robot.py --task task_1 --model gemini --task_idx 1 --visual_method gripper_one| Argument | Description |
|---|---|
--task task_1 |
Specifies the task (e.g., gripping toys). |
--model gemini |
Model used for grasp evaluation. |
--task_idx 1 |
Index of the task instance. |
--visual_method gripper_one |
Defines the visualization method for grasp execution. |