/ball_tracker

ROS 2 Ball Tracking Software

Primary LanguagePython

ball_tracker

This repository contains a simple demonstration of using ROS and OpenCV to track a ball with a mobile robot via a camera feed.

The associated tutorial is available here.

Thanks very much to Tiziano Fiorenzani for his ROS 1 tutorial and corresponding code on which this repo is based (code reproduced with permission).

One other thing to be wary of: this is a ROS/ament Python package, which means the launch and config files contained will NOT be linked with the --symlink-install command for colcon, and will need to be rebuilt after changes.

Getting started

A launch file and example parameters are provided.

Nodes

TODO Document them

Known issues

  • Can't easily detect red due to hue wrap. If you need to detect red robustly you'll need to go in and mess with the HSV filtering.