Repository navigation
feat(perception): publish 2D boxes as Detection2DArray, drop projection from yolo_node (#116) - #119
Merged
TCrawley11 merged 2 commits intoNov 24, 2026
Conversation
…on from yolo_node (#116) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TCrawley11
requested changes
Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TCrawley11
approved these changes
Nov 24, 2026
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.
Closes #116.
yolo_nodenow only detects objects in the image and publishes their 2D pixel boxes. The 3D work (projecting points, picking the points in each box, the median position) moves to the association node (#90), which publishes the finalDetection3DArrayonap1/perception/objects.What changed
yolo_node.pypublishesvision_msgs/Detection2DArrayonap1/perception/objects_2d, one message per camera image:bbox.center,size_x,size_y, in the original image's pixels),results[0].hypothesis.class_idfromObjectClasswith the YOLO confidence as the score, and an emptyidCameraInfoand the image/cloud synchronizer are removed, along with thesync_queue_sizeandsync_slopparameters.projection.pyis untouched: Camera-LiDAR association node v0 #90 removes or deprecates it.Topic
The association node (#90) should subscribe to
ap1/perception/objects_2d.Removed parameters (for #90)
These
yolo_nodeROS parameters were removed, from the node and fromconfig/yolo.yaml. They only paired the image with the point cloud, which the association node now does, so #90 can use the same or similar parameters:sync_queue_sizesync_slopyolo_nodekeepsmodel_path,deviceandconf_threshold. Neither launch file (yolo.launch.py,full_system.launch.py) set the removed parameters.Tests
test/deploy/test_yolo_node.pynow checks theDetection2DArray:SIGN_STOPin every frame, box center and size within a few pixels of the sign's box (found from its red pixels, not from YOLO), image stamp and frame, score, emptyid, and an empty array for a blank frame.colcon test --packages-select ap1_perceptioninperception:cpu-dev: 21 passed, 0 failed.perception-cpuimage, the same steps asperception-images.yml: 6 passed, 0 failed.Heads-up
Until #90 lands, nothing publishes
ap1/perception/objects.🤖 Generated with Claude Code