luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

Tracking converter for ROS2 Foxy #494

Closed daniqsilva25 closed 3 months ago

daniqsilva25 commented 4 months ago

Overview

Author: @daniqsilva25

Issue

Issue link (if present): https://github.com/luxonis/depthai-ros/issues/146 Issue description: Absence of a tracking converter. This PR adds a tracking converter to enable object tracking with ROS. Related PRs

Changes

ROS distro: Foxy List of changes:

Testing

Hardware used: OAK-1, OAK-D Depthai library version: 2.21.2.0

Visuals from testing

Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.

daniqsilva25 commented 4 months ago

Hi @Serafadam @saching13, I changed the indentation format of the source files from tabs to spaces after seeing the output of the clang-format test. Can you please review this? Thanks!

Serafadam commented 4 months ago

@daniqsilva25 Could you respond to those points?

daniqsilva25 commented 4 months ago

@Serafadam I created the PR for the humble branch #505 and added some examples in both branches (foxy and humble).

daniqsilva25 commented 4 months ago

@Serafadam I've reformatted the code of the converters.

Serafadam commented 3 months ago

Hi @daniqsilva25 , overall LGTM, but it seems that it still fails formatting checks,with clang format you can do the reformatting by running in your workspace ament_clang_format src/depthai-ros --config ${workspaceFolder}/src/depthai-ros/.clang-format --reformat

daniqsilva25 commented 3 months ago

Hi @daniqsilva25 , overall LGTM, but it seems that it still fails formatting checks,with clang format you can do the reformatting by running in your workspace ament_clang_format src/depthai-ros --config ${workspaceFolder}/src/depthai-ros/.clang-format --reformat

Hi @Serafadam, just did that for both PRs. Thanks.