Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Check if we should be able to see the ball #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Flova
Copy link
Member

@Flova Flova commented Jun 26, 2021

Proposed changes

  • Reset the ball if we have many ball negative detections in an area where we should be able to see the ball

TODO

  • Remove debug output
  • Test
  • Find params

@Flova Flova requested review from NFiedler, jaagut and val-ba June 26, 2021 10:36
Copy link
Contributor

@johagge johagge left a comment

Choose a reason for hiding this comment

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

I think using ball confidences should be its own pull request. it seems completely unrelated to this pull requests goal. I also don't think it is a change we should remove the ball confidences at all.

@@ -28,7 +29,6 @@ group_ROS.add("ball_filter_reset_service_name", str_t, 0, "Name of service for r


group_filter.add("filter_rate", int_t, 0, "Filtering rate in Hz", min=0, max=255)
group_filter.add("min_ball_confidence", double_t, 0, "Minimum ball confidence", min=0.0, max=1.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we not want to filter by confidence?

Copy link
Member

Choose a reason for hiding this comment

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

I really don't like that this is in here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I really do like it, because the approach taken in this pr dosnt work other wise, because of the return in case of a low conficene.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also the ball confidence is thresholded 3(!) times in the pipeline with different values. The 2 in the vision have a reason, but this one here is totally unessesary imo.

Copy link
Member

Choose a reason for hiding this comment

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

AH! then we should meve that to a later point or handle the situation differently. However, I truly believe that the ball filter should be the component selecting the used ball measurements and not the vision or the transformer.

Copy link
Member Author

Choose a reason for hiding this comment

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

Lets talk in person about this. I am tried of writing stuff ^^

Copy link
Member

Choose a reason for hiding this comment

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

What was the result of this discussion?

@johagge
Copy link
Contributor

johagge commented Jun 26, 2021

I assume this needs bit-bots/bitbots_vision#290?

Copy link
Member

@NFiedler NFiedler left a comment

Choose a reason for hiding this comment

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

I don't like that the min ball confidence is removed here.

Why are you using a counter and reset the filter then fully? Isn't some approach like multiplying the covariances in the filter by 1.something or adding a value onto them a better representation?

@Flova
Copy link
Member Author

Flova commented Jun 26, 2021

I thought about bumping the covariance of the filter, but i didnt find a nice way of doin it. Maybe you arehav an idea

@jaagut
Copy link
Member

jaagut commented Oct 28, 2021

What is the status of this PR? Are the TODOs in the top still TODOs?
The referenced vision PR is merged.

@SammyRamone
Copy link
Member

What is the status of this PR? Are the TODOs in the top still TODOs? The referenced vision PR is merged.

^
||

@Flova
Copy link
Member Author

Flova commented Jun 21, 2022

I think this PR is still relevant but not a very high prioetry compared to the ROS2 migration. Maybe @val-ba can have a look at it some time in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Ideas / Nice to have
Development

Successfully merging this pull request may close these issues.

5 participants