Skip to content

Semester 5 Project - Circular Image filter detector to identify the circular objects and calculate the distance to the object

Notifications You must be signed in to change notification settings

PRO-GUNE/DynamicallyAdjustableColorFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamically adjustable color filter package

Overview

Basic Kinect-v1 (for the Xbox 360) node, with IPC support, based on libfreenect. For now, it only supports a single Kinect device. (If multiple devices present, the first one listed by the freenect_num_devices will be selected). Use the

Published topics

Instalation

1. Install libfreenect

The package was tested using a manual build from the libfreenect github because the Kinect used, had a firmware version that requires specific build flags.

2. Copy the repo

Copy the repo to your workspace source folder.

cd ~/ws/src
git clone https://github.com/fadlio/kinect_ros2RGB

3. Install any missing ROS packages

Use rosdep from the top directory of your workspace to install any missing ROS related dependency.

cd ~/ws
rosdep install --from-paths src --ignore-src -r -y

4. Build your workspace

From the top directory of your workspace, use colcon to build your packages.

cd ~/ws
colcon build

Usage

Use the following bash commands and the launch file to execute this package

  1. Open 2 terminals and source the setup file in each terminal
source install/setup.bash
  1. In one terminal execute the launch file showfilteredimage.launch.py In the other terminal execute the color filter controller node
ros2 run kinect_ros2 kinect_color_filter_controller_node
ros2 run kinect_ros2 kinect_color_filter_controller_node
  1. Specify the filter required to be used using the keys as comma seperated values. Eg: r1,r2,bl, Note: Do not have spaces in the key names, spaces between the item and the comma.

About

Semester 5 Project - Circular Image filter detector to identify the circular objects and calculate the distance to the object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •