Handbot is a ROS2-based pick-and-place robotic system that utilizes point cloud data for planning and execution. This repository provides scripts and configurations to set up and run the pick-and-place demo.
For a detailed workflow and project overview, refer to the tutorial:
📌 Handbot Project Workflow
Before running the project, ensure you have the following installed:
✅ ROS2 Jazzy
✅ Dependencies for MoveIt and Point Cloud Processing
Clone this repository and navigate to the workspace:
cd ~/ros2_ws/src
git clone https://github.com/darshmenon/handbot.git
cd ~/ros2_ws
colcon build --symlink-install
source install/setup.bash
📂 Path to script:
~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/scripts/robot.sh
This script automates:
✅ Launching Gazebo with the MyCobot model
✅ Starting the MoveIt motion planning interface
✅ Setting up the camera view
✅ Executing the Pick-and-Place demo
✅ Running get_planning_scene_server
to process the scene
To execute:
bash robot.sh
📂 Path to script:
~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/scripts/pointcloud.sh
This script automates:
✅ Converting PCD files to point cloud messages
✅ Sending processed data to RViz for visualization
To execute:
bash pointcloud.sh
Before running the scripts, grant execution permissions if needed:
chmod +x ~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/scripts/pointcloud.sh
chmod +x ~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/scripts/robot.sh
Before running the demo, update the directory paths in the relevant files:
declare_parameter("output_directory", "/your/custom/path/", "Directory to save output PCD files");
📂 Located at:
~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/src/get_planning_scene_server.cpp
📂 File path:
~/ros2_ws/src/handbot_ros2/handbot_mtc_pick_place_demo/config/get_planning_scene_server.yaml
Modify these values with your directory:
output_directory: "/your/custom/path/"
debug_pcd_filename: "debug_cloud.pcd"
For issues or contributions, create an issue or a pull request on the GitHub repository.