This repo is focused on developing a ROS 2 based perception-pipeline.
If you’re interested in helping to improve our Project, find out how to contribute.
Report Bug
·
Request Feature
Table of Contents
Our aim is to build a one-stop solution to all the problems related to Robotics-Perception. We are creating a plug-and-play ROS 2 based perception-pipeline which can be customized for user-specific custom tasks in the blink of an eye. We are in the process of creating different components for tasks like Object Detection, Image Pre-Processing, Image Segmentation etc. These components can be stitched together to make a custom pipeline for any use-case, just like how we play with LEGO bricks.
Follow these steps to setup this project on your systm
Follow these steps to install ROS Humble and OpenCV
-
ROS Humble Refer to the official ROS 2 installation guide
-
OpenCV
pip install opencv-contrib-python
-
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
-
Compile the package
Follow this execution to compile your ROS 2 package
colcon build --symlink-install
-
Source your workspace
source install/local_setup.bash
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
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
To change the object detector being used, you can change the parameters inside the object_detection.yaml file location inside the config folder.
Now to see the inference results, open a new terminal and enter the given command
ros2 run rqt_image_view rqt_image_view
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Our Socials - Linktree - [email protected]