Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository

Repository Summary

Description
Checkout URI https://github.com/intelligentroboticslabs/yolact_ros_3d.git
VCS Type git
VCS Version master
Last Updated 2020-09-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
yolact_ros2_3d 1.0.0

README

Package Summary

Build Status

yolact_ros2_3d

ROS2 Eloquent package

Contents

  • Overview
    • Previous steps
  • Quick start
    • Instalation
    • How it works
  • Nodes
    • yolact3d_node

Overview

yolact_ros2_3d provides you 3D bounding boxes of the objects contained in an objects list, where is specificated the 3d position of each object. Using a RGBD camera like and neuronal network yolact_ros2, objects can be detected and his position can be calculated.

In addition, there is a visual debugger tool based on visual markers that you can see with rviz

Image

Previous Steps

The first we have to know is that yolact_ros2_3d package have dependencies as follow:

  • rclcpp
  • rclcpp_lifecycle
  • lifecycle_msgs
  • yolact_ros2_msgs
  • gb_visual_detection_3d_msgs
  • sensor_msgs
  • tf2
  • tf2_ros
  • tf2_sensor_msgs
  • geometry_msgs
  • cv_bridge
  • visualization_msgs
  • eigen3_cmake_module
  • Eigen3

You can install Yolact ROS following this steps. NOTE: ros2 branch

Quick Start

Instalation

You must to clone yolact_ros_3d into src folder located in your workspace. Later, you have to compile it typing colcon build or colcon build --symlink-install from workspace root.

How It Works

First of all, is necessary to run camera driver. Make sure that camera driver is publishing point cloud information.

Later, you must run yolact_ros2 and, if everything worked properly, you should see 2d bounding boxes in your screen. If not, you have a problem with the yolact_ros2 package.

Now, you can run yolact_ros2_3d typing ros2 launch yolact_ros2_3d yolact_ros2_3d.launch.py. If you want to change default parameters like topics it subscribe, you can change it in the configuration file located at ~/catkin_ws/src/yolact_ros_3d/yolact_ros2_3d/config/. Default parameters are the following:

  • mininum_detection_threshold: Maximum distance range between any pixel of image and the center pixel of the image to be considered.

  • minimum_probability: Minimum object probability (provided by yolact_ros2) to be considered.

  • yolact_ros_topic: topic where yolact_ros2 publicates it’s bounding boxes. /yolact_ros2/detections.

  • point_cloud_topic: topic where point cloud is published from camera. By default: /camera/pointcloud. It is important that point cloud topic be of PointCloud2 type and it be depth_registered.

  • working_frame: frame that all measurements are based on. By default, camera_link. It is very important that if you want to change this frame, it has the same axes than camera_link, if you would want 3d coordinates in another axis, you must change it later (once 3d bounding box has been calculated).

  • interested_classes: Classes you want to detect. It must be classes names than exists previously in yolact_ros2.

  • eroding_factors: Eroding factor (given as a percentage) for each object. That is an array. Each position corresponds with each object declared at interested_classes.

  • debug: Enable or disable OpenCV window for fast thinning algorithm.

Nodes

yolact3d_node

yolact3d_node provide bounding boxes. This bounding boxes are combinated with point cloud information to calculate (xmin, ymin, zmin) and (xmax, ymax, zmax) 3D coordinates.

Then, yolact_ros2_3d publicates it’s own bounding boxes array of BoundingBoxes3d type in /yolact_ros2_3d/bounding_boxes_3d by default, which is an array of BoundingBox3d that contains the following information:

std_msgs/Header header
BoundingBox3d[] bounding_boxes

BoundingBox3d:

``` string object_name float64 probability

File truncated at 100 lines see the full file

Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository

Repo symbol

yolact_ros_3d repository