A weeding robot that can autonomously navigate in the field between obstacles, identify different kinds of weeds and then spray at them in a Gazebo simulation environment. Originally a Master's course project from the University of Lincoln.
To use this package you need to have:
- Ubuntu 18.04 LTS
- OpenCV 4.5.1
- ROS Melodic
To use this package you first have to install the L-CAS Ubuntu/ROS software distribution. To do so, do:
sudo ls
(this is just to cache you admin password for the next steps)sudo apt-get update && sudo apt-get install curl
(curl is required for the next step)curl https://raw.githubusercontent.com/LCAS/rosdistro/master/lcas-rosdistro-setup.sh | bash -
(should install everything required)
Then clone the main CMP9767M package, and our package in your catkin workspace:
cd ~/catkin_ws/src
git clone https://github.com/LCAS/CMP9767M
git clone https://github.com/NekSfyris/weeding_bot
cd ..
catkin_make
After you are done with that with no erros, do:
pip install scipy==1.2.0
In case any other package is missing, you can install it with:
sudo apt-get install ros-melodic-<package_name>
To run our system, do the followings in different terminals in this sequence:
roscore
roslaunch weeding_bot our_sim.launch
(wait for the whole simulation to load before running the next step's command)roslaunch weeding_bot system_nodes.launch