Giter VIP home page Giter VIP logo

ros-perception-pipeline's Introduction

Installation

Make a new workspace

mkdir -p percep_ws/src

Clone the ROS-Perception-Pipeline repository

Now go ahead and clone this repository inside the "src" folder of the workspace you just created.

cd percep_ws/src

git clone [email protected]:atom-robotics-lab/ros-perception-pipeline.git

Make the package

We'll need to "make" everything in our catkin workspace so that the ROS environment knows about our new package. (This will also compile any necessary code in the package). Execute the given commands in your terminal.

colcon build --symlink-install

Now you will need to source your workspace

source install/local_setup.bash

Usage


1. Launch the Playground simulation

We have made a demo playground world to test our pipeline. To launch this world, follow the steps given below

ros2 launch perception_bringup playground.launch.py 

The above command will launch the playground world as shown below :


Don't forget to click on the play button on the bottom left corner of the Ignition Gazebo window


2. Launch the Object Detection node


Use the pip install command as shown below to install the required packages.

pip install -r src/ros-perception-pipeline/object_detection/requirements.txt

Use the command given below to run the ObjectDetection node. Remember to change the path of the object_detection.yaml file according to your present working directory

ros2 run object_detection ObjectDetection --ros-args --params-file src/ros-perception-pipeline/object_detection/config/object_detection.yaml

3. Changing the Detector

To change the object detector being used, you can change the parameters inside the object_detection.yaml file location inside the config folder.


Testing

Now to see the inference results, open a new terminal and enter the given command

ros2 run rqt_image_view rqt_image_view


ros-perception-pipeline's People

Contributors

jasmeet0915 avatar noemoji041 avatar sanchayvashist avatar topguns837 avatar wolfmyths 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.