How spvce028/applied-robotics works
Applied-Robotics is a ROS 2 application for operating a DOBOT Magician in a depalletizing pick-and-place task. An operator supplies required parameters, confirms homing, then starts the workflow; the node coordinates picking, optional waypoint transport, and placing through asynchronous robot and gripper operations. Shared interfaces define poses, results, errors, and workflow/waypoint coordination. The README documents simulated PTP support, while the excerpts show a separate fake gripper service. Some wiring is omitted from the sampled node excerpt, so uncertain connections are not asserted as verified calls.
Main entry points: main_node.py Depalletizing Node · robot_driver.py Dobot Action Driver · gripper_client.py Gripper Client · models.py Pose and Results
Components 14
ROS Control
- Runtime Parameters
ros2_ws/src/depalletizing_pick_place/config/depalletizing.yaml - Depalletizing Node
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/main_node.py
Robot Operations
- Pick Place Primitives
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/pick_place.py - Dobot Action Driver
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/robot_driver.py - Gripper Client
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/gripper_client.py
Shared Interfaces
- Pick Place Workflow
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/workflow.py - Waypoint Executor
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/waypoints.py - Pose and Results
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/models.py - Shared Errors
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/errors.py
Simulation
- Fake PTP Server
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/fake_ptp_action_server.py - Fake Gripper Service
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/fake_gripper_service.py
Other components
- Operator
- PTP Action Server
- Gripper Service
Connections 17
- Operator → Depalletizing Node: confirms and starts
README.md - Runtime Parameters → Depalletizing Node: configures
README.md - Depalletizing Node → Pick Place Workflow: executes workflow
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/main_node.py - Depalletizing Node → Pick Place Primitives: constructs operations
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/main_node.py - Depalletizing Node → Dobot Action Driver: dispatches cancellation
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/main_node.py - Depalletizing Node → Gripper Client: creates client
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/main_node.py - Pick Place Workflow → Waypoint Executor: runs transport
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/workflow.py - Pick Place Primitives → Dobot Action Driver: moves robot
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/pick_place.py - Pick Place Primitives → Gripper Client: operates gripper
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/pick_place.py - Dobot Action Driver → PTP Action Server: sends action goals
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/robot_driver.py - Gripper Client → Gripper Service: sends commands
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/gripper_client.py - Fake PTP Server → PTP Action Server: simulates server
README.md - Fake Gripper Service → Gripper Service: provides simulation
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/fake_gripper_service.py - Pick Place Workflow → Pose and Results: uses poses and results
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/workflow.py - Waypoint Executor → Pose and Results: uses poses and results
ros2_ws/src/depalletizing_interfaces/depalletizing_interfaces/waypoints.py - Dobot Action Driver → Pose and Results: returns operation results
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/robot_driver.py - Gripper Client → Pose and Results: returns operation results
ros2_ws/src/depalletizing_pick_place/depalletizing_pick_place/gripper_client.py