How sudhirpratapyadav/pick-place-robot works
Main Components
• PyBullet Simulation & Controller: Represented by key Python scripts such as custom_robot.py, exp1.py, ur5.py, and ur5_debug.py that set up and interact with the simulation environment.
• Robot Models:
• UR5 Arm: Its URDF files (under the urdf directory), along with its meshes (meshes/ur5 folder), define the robot’s structure and appearance.
• Robotiq 2F-85 Gripper: Similarly defined with its URDF files (e.g., urdf/robotiq_2f_85.urdf, urdf/robotiq_2f_85_actual_mesh.urdf) and associated mesh directories (meshes/robotiq_2f_85 and meshes/robotiq_2f_85_original).
• Environment/Objects: The meshes/objects directory contains various object models (block, cup, lego, plate, etc.) that will be manipulated by the robot.
• URDF and Mesh Resources: These directories are key to the visual and collision aspects of both the robot and objects. They highlight the modular reuse of models from other projects.
• The central component is the PyBullet simulation engine which loads the URDF descriptions—these in turn refer to the mesh files that visually represent each robot link and object.
• Interactions between the simulation controller (custom_robot.py and the other Python scripts) and the physical robot components (the UR5 and gripper models).
• Connections showing that the simulated robot (arm + gripper) interacts with objects taken from the objects' mesh models.
Architectural Patterns and Design Principles
• Separation of concerns: simulation control, robot kinematics/dynamics, and the modeling of environmental objects.
Specific Technologies and Libraries
• PyBullet: Acts as the physics simulation engine.
• URDF: Used to describe both the UR5 robot and the Robotiq gripper.
• Mesh formats (OBJ, STL, MTL, DAE): Provide the visual and collision properties for all components.
• As this is not a full-stack web application but a specialized simulation project, focus on the mapping between code (Python scripts), robot configuration (URDF and meshes) and simulation execution.
• That every element from the file tree that plays a role in the simulation is represented, especially the subdirectories under meshes and urdf which highlight the detailed configuration of both the arm and the gripper.