Skip to content

AerialRobotics-IITK/2022_tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracking

This respository contains ROS packages for autonomous tracking of an object using Kernalized Centralized Filter(KCF).

Dependencies

  • sudo apt-get install ros-noetic-husky-gazebo ros-noetic-teleop-twist-keyboard
  • sudo apt-get install ros-noetic-cv-bridge ros-noetic-image-transposrt ros-noetic-eigen-conversions

Other Dependencies

OpenCV C++ version atleast 3.x.x required

Procedure to install openCV 3.4.2 from source

git clone https://github.com/opencv/opencv.git
cd opencv && git checkout 3.4.2
cd ..
git clone https://github.com/opencv/opencv_contrib.git
cd opencv_contrib && git checkout 3.4.2
cd ..
cd opencv 
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE \
      -D CMAKE_INSTALL_PREFIX=/usr/local \
      -D INSTALL_C_EXAMPLES=ON \
      -D INSTALL_PYTHON_EXAMPLES=ON \
      -D WITH_TBB=ON \
      -D WITH_V4L=ON \
      -D WITH_QT=ON \
      -D WITH_OPENGL=ON \
      -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \
      -D BUILD_EXAMPLES=ON ..
make -j4
sudo make install
sudo sh -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/opencv.conf'
sudo ldconfig

Installation Instructions:

mkdir -p ~/tracking_ws/src
cd ~/tracking_ws/src
catkin init
git clone [email protected]:AerialRobotics-IITK/2022_tracking.git
wstool init
wstool merge 2022_tracking/install/install_ssh.rosinstall
wstool update
cd ..
catkin build
echo "source ~/tracking_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc

How to run the simulation

roslaunch simulator simulation.launch

Different packages

pose_estimate:

This package is used to find the pose of the tracked object in world frame.

tracking:

This package is used to track the object using KCF. A ROI is selected manually by the user and the node tracks the object (husky) inside the ROI.

simulation:

This package contains all the urdf, world and the launch files used to run the simulation environment.

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published