Add aruco pose estimate to gstreamer pipeline#112
Open
ErikCald wants to merge 2 commits into
Open
Conversation
Member
|
Did you still need this or are you using the ZED camera? |
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.
This pull request introduces ArUco marker pose estimation to the video streaming package, integrating OpenCV-based marker detection and pose calculation into the ROS2 pipeline. It adds a new
ArucoPoseEstimatorclass, updates theDetectNodeto support this feature, and enables dynamic camera selection and publishing of detected marker poses. Several dependencies are added to support image processing and message passing.ArUco marker pose estimation integration:
aruco_pose_estimate.hppandaruco_pose_estimate.cppimplementing theArucoPoseEstimatorclass for detecting ArUco markers, estimating their pose using OpenCV, and publishing results asArucoMarkersmessages. The estimator manages camera calibration parameters and supports multiple cameras. [1] [2]DetectNodeto instantiate and useArucoPoseEstimator, connect to the GStreamer pipeline via anappsink, and process frames for pose estimation when ArUco detection is enabled. [1] [2] [3] [4] [5] [6] [7]Pipeline and node enhancements:
DetectNodeto branch the ArUco detection output to both the custom estimator (viaappsink) and the existing marker detector.InputNodepublishes the active camera name, andDetectNodesubscribes to this topic to select the correct calibration and frame mapping. [1] [2] [3] [4] [5] [6] [7]Dependency and build configuration updates:
CMakeLists.txtandpackage.xmlfor image processing, message transport, and bridge functionality. [1] [2] [3]Other improvements:
input_node.cpp. [1] [2]These changes collectively enable robust ArUco marker pose detection, support for multiple cameras, and seamless integration with the ROS2 ecosystem.