One of the themes of E-yantra 2021 was Agri-bot: An agricultural bot designed to be automated in ripe tomato collection from the yard autonomously and bring all the fruits by traversing through out the yard, picking and placing it in the basket.
Agribot (AB)
This theme inspires engineers in the area of agricultural automation. Agribot uses an autonomous Ground Vehicle (AGV) to traverse in a simulated Greenhouse environment, find the targeted yield and correctly execute pick-&-place. The AGV is retrofitted with a customized gripper to plug yields easily, and so is the created environment ensured to compile with the gripper. The theme is divided into tasks to build the AgriBot system step-by-step under the guidance of e-Yantra mentors.
Concepts used: Robot Operating System (ROS), Autonomous Navigation, Perception, Pick & Place, etc.
Implementation: Simulator based.
System Requirements:
Operating System: Ubuntu 20
Processor: more than 4 cores, x86_64 (64-bit x86 Instruction Set)
HDD or SSD storage space: 30GB or more
RAM: 8GB or more
The robot and the simulation world is provided and and completetion requires writing ROS nodes (scripts) to operate the robot to complete the task as an agribot.
The complete work was divided into 3 major tasksTask 0 - Installation and setup of all the required programs and softwares. Generating a demo script that launches turtlebot and makes infinity symbol using it.
Task 1 - Writing a script to move the robot around the 2 rows of plants so as to traverse all the plants in the rows using the wheels of the robot. - https://youtu.be/5xzdTefGpzw
Task 2 - Writing script to pluck the fruits of a single plant placed in front of the robot using the robotic gripper attached to the agri bot using move-it planner. - https://youtu.be/OiOtVyjxwQk
Task 3 -
Task 3.1 - Writing script for detection of ripe red fruits through the rgbd camera using computer vision to detect red color and then broadcast the tf coodinates and then plucking the fruits at those coordinates using the robotic gripper using move-it.
Task 3.2 - Writing script for detection of ripe red fruits through the rgbd camera using computer vision to detect red color while the robot traverses the rows of plants using the wheels.
Download the files the official github repository of the eRYC agribot from here or a small version and limited files from here.
Make a catkin package and place these files making a src folder in the workspace
To see these scipts running
First launch the world from package ebot_gazebo for the respective task -
TASK 0-
roslaunch ebot_gazebo task0.launch
TASK 1-
roslaunch ebot_gazebo task1_3.launch
TASK 2-
roslaunch ebot_gazebo task2.launch
TASK 3_1-
roslaunch ebot_gazebo task3_1.launch
TASK 3_2-
roslaunch ebot_gazebo task3_2.launch
Additionaly to run the script in the respective task -
Either build the respective package
rosrun pkg_task0 node_turtle_revolve.py
or directly run the python file from the file location using
python3 node_turtle_revolve.py
Additionally, in the src folder in
here
there are some script files in folder such as
eYRC-2021_Agribit/agri_bot_moveit/scripts
Moreover, you will find some bag files in packages such as task0
To play a bag file simply run the bag file after launching the world (.launch) file of the respective task
rosbag play bagfile_name.bag