Skip to content

Made detection filtering less conservative and added recovery action … #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 22, 2025

Conversation

y-veys
Copy link
Collaborator

@y-veys y-veys commented Jun 18, 2025

…if detection is not found

@y-veys y-veys requested a review from GoldenZephyr June 18, 2025 14:35
y-veys added 2 commits June 20, 2025 15:49
…lass to be 'bag'; We can now execute a pick & place command in simulation with a prior WP scene graph
Copy link
Collaborator

@GoldenZephyr GoldenZephyr left a comment

Choose a reason for hiding this comment

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

looks good, just take a quick look at my comments.


detector = YOLODetector(
self.spot_interface,
yolo_world_path="/home/rrg/data/models/yolov8s-world.pt",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't want to hard-code the path here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What is the best way to deal with paths?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Paths should be passed as a parameter when an object is initialized. If you always do that, then at the "top level" of the code (e.g., when the node is launched, or if you run a script with some cli arguments), can set the paths, and then they will get passed down to wherever they are needed. In this case, we probably want the path to get set from the rosparams that spot_executor_ros reads. Then specifying a specific path happens as part of the config file writing process, and is fully separated from the code.

It might also make sense to initialize the detector once in the init, instead of every time we execute the pick skill (unless this is intentional to work around VRAM issues?). If it makes sense to move the detector initialization to the init function, then another alternative would be to have spot_executor_ros initialze the YOLODetector and just pass it to spot executor (and then spot_executor would accept a Detector instead of a path).

@GoldenZephyr GoldenZephyr merged commit 171ba2c into main Jul 22, 2025
2 checks passed
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy