Giter Club home page Giter Club logo

jetson-rrbotcam's Introduction

jetson-rrbotcam

Control a camera platform (2DOF Revolute-Revolute Joints Robot) using camera feed to follow object. Using Hardware:

  • Jetson nano
  • Arduino
  • 2x Servos
  • CSI Camera Software:
  • ROS2 humble
  • Docker container

Setup

cd ~
git clone --recursive --depth=1 https://github.com/elsayedelsheikh/jetson-rrbotcam

Project

This project is divided into 3 main parts:

  • bringup_robot to communicate with the Arduino & control the hardware (2x Servos)
  • object_detector to fire up the camera and detect the object to follow using various computer vision techniques (HSV, Deep learning)
  • object_follower to control the hardware to follow the object centroid (x,y) using PID controller

bringup_robot

  • Uses ros_arduino_bridge to communicate with the Arduino through USB-Serial port
  • Uses ros2_control to control the 2x Servos positions (Command & State interface) with custom Hardware interface

object_detector

  • Uses ros-deep-learning package to fire up the camera Multiple detectors are available:
  • HSV detector node to detect a specific color range
  • detectnet node to detect a specific object using deep learning models (SSD-Mobilenet by default) from jetson-inference

Future work

  • Track a person while removing the background

RUN

Start ros2_control (robot_bringup)

./bringup_robot/bringup.sh

Start Object Tracking

cd ~/jetson-inference
docker/run.sh --ros humble -v ~/jetson-rrbotcam/object_detector_follower:/object_detector_follower/
cd /object_detector_follower && colcon build --symlink-install
source /object_detector_follower/install/setup.bash

ros2 launch rrbot_cam_object_detector jetson_detector.launch
ros2 launch rrbot_cam_object_follower object_follower.launch.py

jetson-rrbotcam's People

Contributors

elsayedelsheikh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.