Skip to content
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

Occupied thresh is flipped #16

Merged
merged 1 commit into from
Mar 12, 2019
Merged

Occupied thresh is flipped #16

merged 1 commit into from
Mar 12, 2019

Conversation

Vuwij
Copy link

@Vuwij Vuwij commented Mar 12, 2019

In the occupancy map, 0 is white and 1 is black. On openCV, 0 is black and 1 is white. Thus

  • occupancy threshold to black is considered obstacles in the occupancy grid
  • 0 - occ = obstacles in occupancy map
  • (1 - occ) to 1 = obstacles in opencv

@Vuwij Vuwij changed the title Occupied thres is flipped Occupied thresh is flipped Mar 12, 2019
@Vuwij Vuwij merged commit 43176dc into rr_devel Mar 12, 2019
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