Download this repo to your src-folder in your catkin workspace.
OpenCV >= 3.4.0: https://github.com/opencv/opencv
ROS - Kinetic Kame: http://wiki.ros.org/kinetic
sudo apt install ros-kinetic-camera-info-manager
sudo apt install ros-kinetic-cv-bridge
sudo apt-get install ros-kinetic-turtlebot ros-kinetic-turtlebot-apps
ros-kinetic-turtlebot-interactions ros-kinetic-turtlebot-simulator
ros-kinetic-kobuki-ftdi
Task 1 of the competition. Uses color filtering together with contour detection by OpenCV to capture the pole(s) of the gate.
Publishes the midpoint of the detected pole(s) on the topic: pole_midpoint
.
Usage:
$ roslaunch followbot course.launch
Topics should be spesified for [topic]
.
Uses color filtering together with line detection by OpenCV to capture the direction intended by the guide post. The direction (compared to the heading of the AUV) is buffered using the "sliding window"-method before returning the average.