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

Static layer works with rolling window now #246

Closed
wants to merge 1 commit into from
Closed

Static layer works with rolling window now #246

wants to merge 1 commit into from

Conversation

reinzor
Copy link
Contributor

@reinzor reinzor commented Sep 3, 2014

Fixes #197

@DLu
Copy link
Member

DLu commented Sep 3, 2014

Awesome. Thanks for this commit. I will test it out soon.

@DLu
Copy link
Member

DLu commented Oct 24, 2014

What happened to your navigation fork?

resizeMap(master->getSizeInCellsX(), master->getSizeInCellsY(), master->getResolution(),
master->getOriginX(), master->getOriginY());
}

Copy link
Member

Choose a reason for hiding this comment

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

This was removed because it is already implemented in costmap_layer.cpp, correct?

@mikeferguson
Copy link
Contributor

I'm closing this since we can no longer merge it -- recommend that someone involved create a new PR.

@corot
Copy link
Contributor

corot commented Jun 1, 2017

Hi, I'm also using static_layer on a rolling window costmap, on Kinetic; thanks @reinzor!
But I have an issue: obstacles appear in the upper and left borders of the local costmap:
image

I can "fix" it with this hack on line 325

        if (!i || !j)
        {
          master_grid.setCost(i, j, 0);
          continue;
        }

Any idea why can this happen? I have verified that the rolling window costmaps are fully reset at each iteration, so I bet this fake obstacles are a byproduct or moving memory blocks as the robot moves.

@reinzor
Copy link
Contributor Author

reinzor commented Jun 2, 2017

Hi @corot , I am currently not actively using the stack and/or developing. Cannot help you with this at this moment.

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.

4 participants