This repository contains the simulation setup and hardware implementation codes for the Krishi Cobot (eYantra Robotics Competition 2025-26).
Krishi Cobot (KC) is a ROS2-based autonomous agricultural automation system developed as part of the e-Yantra Robotics Competition (eYRC 2025–26). The project focuses on building a coordinated mobile manipulation pipeline for a smart vertical farm environment.
The system integrates an autonomous mobile robot (eBot) and a UR5 robotic arm to perform crop monitoring, plant health inspection, fertilizer coordination, and defective fruit removal. The mobile robot navigates greenhouse lanes using LiDAR-based localization and shape detection, while the UR5 arm performs vision-based object pose estimation and precise pick-and-place manipulation.
This project combines perception, navigation, manipulation, and inter-robot coordination into a unified ROS2 architecture. The perception pipeline uses ArUco marker detection and depth-based 3D localization, while the control layer integrates waypoint navigation, servo-based arm motion, and state-driven task execution.
The Krishi Cobot system is built on a modular ROS2 architecture integrating perception, navigation, manipulation, and coordination layers. The system consists of two primary robotic subsystems:
- LiDAR-based autonomous navigation
- Waypoint tracking inside greenhouse lanes
- Real-time shape detection during motion
- Publishes plant condition and task triggers
- ArUco marker detection using OpenCV
- Depth-assisted 3D pose estimation for detected objects
- TF2-based frame transformations (camera → base → world)
- Servo-based end-effector control
- Pick-and-place execution for defective fruit removal
- State-driven task sequencing
- ROS2 topic-based communication between eBot and UR5
- Trigger-based collaboration logic
- Execution Flow: Navigate to Waypoint → Detect Target (LiDAR / Vision) → Compute 3D Pose (TF Transform) → Execute Manipulation → Update System State
The architecture enables an end-to-end autonomous workflow where the mobile robot navigates and detects plant conditions, then coordinates with the UR5 arm for corrective actions, completing a full agricultural automation cycle.
1A- LiDAR-Based Waypoint Navigation1B- Vision-Based Pose Estimation (ArUco + Fruit Detection)1C- Waypoint-Based Servo Control for Robotic Arm Manipulation
2A- Autonomous Navigation with Shape Detection2B- Pick and Place Operations3B- eBot-UR5 Arm Collaboration4C– Full Simulation Run
3A- Remote Hardware Task - Object Pose Estimation4A- Remote Hardware: UR5 Arm Pick and Place4B- Remote Hardware: Autonomous Navigation with Shape Detection5- Hardware Mini-Theme Run6- Full Hardware System Run
HW_5076_eBot_nav/- Hardware AMR filesHW_5076_ur5_control/- Hardware ARM filesSW_5076_eBot_nav/- Simulation AMR filesSW_5076_ur5_control/- Simulation ARM fileseBot_description/- Contains eBot robot description, launch files, and configurationseyantra_warehouse/- Warehouse simulation environment and modelsur_description/- Universal Robots arm descriptionur_simulation_gz/- Gazebo simulation for Universal Robots arm and its controllersur5_control/- Control packages for UR5 armlinkattacher_msgs/- Custom messages for link attacher
- Ubuntu 22.04 (Jammy Jellyfish)
- ROS 2 Humble
- Gazebo Fortress
cd ~/eyrc/src
git clone https://github.com/NSGourav/eYRC-2025-26-krishi-cobot.gitcd ~/eyrc
colcon build
source install/setup.bash- ROS Bag for Testing Hardware: Download ROS Bag
To launch Gazebo World for Task 4C:
ros2 launch eyantra_warehouse task4c.launch.pyLaunch Navigation Module
ros2 launch ebot_nav eBot.launch.pyLaunch Manipulation Module
ros2 launch ur5_control arm.launch.pyRun Control file
ros2 run ebot_nav main.py- Successfully implemented a complete autonomous mobile–manipulator pipeline in simulation and hardware environments
- Achieved stable LiDAR-based navigation with real-time shape detection
- Implemented reliable ArUco-based 3D pose estimation with TF frame transformations
- Executed coordinated pick-and-place operations using UR5 with servo-based control
- Validated end-to-end greenhouse workflow from navigation to manipulation
Competition Outcome: Ranked 16th out of 400+ teams in the e-Yantra Robotics Competition 2025–26
- Implemented vision-based bad fruit detection and ArUco marker detection with depth-assisted 3D pose estimation
- Built TF2 frame transformation pipeline for accurate coordinate mapping
- Implemented servo-based manipulation logic for UR5 pick-and-place
- Integrated ROS2 topic-based communication between navigation and manipulation modules
- Executed simulation-to-hardware transition and system validation