feat(project): add Sparse4D - #64
Draft
ktro2828 wants to merge 3 commits into
Draft
Conversation
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a new ROS 2 package,
sparse4d, which scaffolds the integration of the Sparse4D detector with ROS 2. The package includes the CMake build system, launch files, configuration, and initial implementation of the detector and node classes. Additionally, it adds utility improvements to the TensorRT common interface and refactors transform broadcasting in the nuscenes dataloader for efficiency and clarity.Sparse4D ROS 2 Package Introduction and Core Implementation:
sparse4dROS 2 package, includingCMakeLists.txt,package.xml, and a README describing its purpose and usage. The package is scaffolded to provide a node, launch file, and parameter configuration for Sparse4D integration, with the detector currently returning empty outputs as a placeholder. [1] [2] [3]include/sparse4d/sparse4d_detector.hppandinclude/sparse4d/sparse4d_node.hpp, defining configuration structures, inference interfaces, and ROS 2 node logic for image/camera info subscription, synchronization, and output publishing. [1] [2]sparse4d.launch.xml) for easy startup, and a YAML parameter file for configuring ONNX model path, detector parameters, and input topics. [1] [2]TensorRT Utility Enhancements:
TrtCommonclass to provide methods for querying tensor data types and IO modes by both tensor index and name, improving the flexibility and debuggability of TensorRT engine interactions. [1] [2]Nuscenes Dataloader Refactor:
_create_transformutility, improving code clarity and efficiency in broadcasting/tf_statictransforms. [1] [2] [3]How was this PR tested?
Notes for reviewers
None.
Effects on system behavior
None.