Skip to content

Perception branch - #16

Merged
SuBamm88 merged 4 commits into
mainfrom
perception-branch
Jun 1, 2026
Merged

Perception branch#16
SuBamm88 merged 4 commits into
mainfrom
perception-branch

Conversation

@SuBamm88

@SuBamm88 SuBamm88 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

@SuBamm88
SuBamm88 merged commit c308b92 into main Jun 1, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b492998c9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

detection_msg.results.append(hypothesis)

# 보조 정보: echo로 확인하기 쉽게 JSON 저장
detection_msg.id = json.dumps({

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Detection2D.id stable or empty

When these raw YOLO detections are fed into cctv_to_map, det.id is interpreted as a tracking ID: non-empty, non-numeric IDs are hashed, while empty IDs fall back to the detection index and skip velocity estimation. This JSON includes bbox coordinates and confidence, so it changes from frame to frame for the same object; downstream objects therefore get unstable IDs and churn velocity state instead of degrading as untracked detections.

Useful? React with 👍 / 👎.

Comment on lines 58 to +63
self.image_sub = self.create_subscription(
Image,
self.image_topic,
'/camera2/image_raw',
self.image_callback,
10,
10
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore configurable YOLO topics

The launch files still pass config/yolo_detector.yaml, and the docs describe overriding image_topic for additional cameras, but this node no longer declares or reads those parameters. In any launch or CLI run that sets image_topic, detections_topic, or annotated_topic for another camera, the node still subscribes to /camera2/image_raw and publishes on the fixed /yolo/* topics, which breaks the documented multi-camera path.

Useful? React with 👍 / 👎.

Comment on lines +176 to +177
hypothesis.pose.pose.position.x = float(anchor_u)
hypothesis.pose.pose.position.y = float(anchor_v)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Feed the anchor into the map projection

Writing the corrected anchor only into hypothesis.pose.pose.position does not affect the current CCTV-to-map pipeline: repo-wide search shows cam_to_map_node and cctv_to_map_node still project det.bbox.center + size_y / 2 and do not read this pose field. As a result, the new person/box anchor logic is ignored by the homography path, so boxes still map from the bbox bottom rather than the intended ground-center point.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants