The purpose of this project consits on detecting the marbles that appear on the image visualized in the camera of the Gazebo simulation given by the repository related to the project. Appart of the camera, the 2D LIDAR will also be used for detecting the depth towards walls and the marbles that are being followed in that moment.
Basic image processing, such as Gaussian filtering, median filtering, or laplacian for edge detection are used for the marble detection section.
This project requires the following packages to be installed
Package | Installation guide |
---|---|
Gazebo 11 and development tools | Install |
OpenCV 4.2 | Install |
The first thing you will need to do is build the package. The conventional way to do this is:
- Clone the repository:
git clone [email protected]:PabloDavidAR/marble-detection-SDU.git
- Go to the repository folder:
cd marble-detection-SDU
- Create a build folder and go to it:
mkdir build && cd build
- Generate the makefiles:
cmake ..
- Build the package:
make
Once this is done, you can either use the package with your own project (you will need to modify the name of the node that this package is communicating with) or use it in combination with the package that this project depended on.
- Since this package is based in the previously mentioned repository, to make this package work you would need to first clone that repository.
- Run
./gazebo_server.sh nameOfTheWorld.world
, wherenameOfTheWorld
referes to the name of the file that contains the world to be ran. - Go to the build folder of the package:
cd /path/to/marble-detection-SDU/build
- Execute the command with the desired flags and inputs:
./robot_control
When using this package for your own projects, remember that some of the implementations used, such as the pattern matching implementation is dependant on the image used as template. You will need to use you own image if you intend to use this feature.