How toolmanip/toolmanip works
ToolManip is a pre-release robotic tool-manipulation project. Its apparent workflow combines staged VLM task reasoning with image/keypoint processing, conversion of image coordinates into robot-world points, and calculation of a robot end-effector alignment pose. The source excerpts show the VLM agents calling a shared inference layer and show keypoint conversion using depth data; several intermediate scripts are not connected by evidence shown here. The README is only a pre-release notice, so the broader product workflow is inferred from the sampled modules and filenames.
Main entry points: VLM1_TaskPlanning.py Task planning · utils.py Inference and memory · VLM2_AfordanceReasoning.py Affordance reasoning · S3_keypointToWorld.py Keypoints to world
Components 15
VLM reasoning
- Task planning
VLM/VLM_agents/VLM1_TaskPlanning.py - Affordance reasoning
VLM/VLM_agents/VLM2_AfordanceReasoning.py - Motion planning
VLM/VLM_agents/VLM3_MotionPlanning.py - Step checking
VLM/VLM_agents/VLM4_StepChecking.py - Inference and memory
VLM/utils.py
Image and keypoints
- Image URL setup
keypoint_gen/S0_OriginalURL.py - Bounding boxes
keypoint_gen/S1_boundingBox.py - Dotted prompts
keypoint_gen/S2_dotPrompt.py
Robot geometry
- Keypoints to world
keypoint_gen/S3_keypointToWorld.py - Depth lookup
keypoint_gen/utils/getDepth.py - Robot pose alignment
keypoint_gen/S4_Robot_PoseAlign.py
External services
- Image upload helper
keypoint_gen/utils/updateURL.py - VLM API
- GitHub image hosting
Other components
- Task operator
Connections 15
- Task operator → Task planning: provides task
- Task planning → Inference and memory: runs dialog
VLM/VLM_agents/VLM1_TaskPlanning.py - Affordance reasoning → Inference and memory: runs inference
VLM/VLM_agents/VLM2_AfordanceReasoning.py - Motion planning → Inference and memory: runs inference
VLM/VLM_agents/VLM3_MotionPlanning.py - Step checking → Inference and memory: runs inference
VLM/VLM_agents/VLM4_StepChecking.py - Inference and memory → VLM API: calls API
VLM/utils.py - Task planning → Affordance reasoning: provides plan
VLM/VLM_agents/VLM2_AfordanceReasoning.py - Task planning → Motion planning: provides steps
VLM/VLM_agents/VLM3_MotionPlanning.py - Task planning → Step checking: provides steps
VLM/VLM_agents/VLM4_StepChecking.py - Affordance reasoning → Keypoints to world: provides keypoints
keypoint_gen/S3_keypointToWorld.py - Image URL setup → Image upload helper: uploads images
keypoint_gen/S0_OriginalURL.py - Image upload helper → GitHub image hosting: stores images
keypoint_gen/utils/updateURL.py - Keypoints to world → Depth lookup: reads depth
keypoint_gen/S3_keypointToWorld.py - Keypoints to world → Robot pose alignment: writes world points
- Affordance reasoning → Robot pose alignment: provides direction
keypoint_gen/S4_Robot_PoseAlign.py