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

Rotate Recovery Refactor #914

Merged
merged 4 commits into from
Aug 30, 2019
Merged

Conversation

DLu
Copy link
Member

@DLu DLu commented Aug 22, 2019

While looking at #826, I got upset at how convoluted the logic was for the rotate recovery. Too many negative angles and odd calculations. I think this version is much clearer.

I also took the opportunity to clean things up.

  • The first two commits are just white space cleanup and linting.
  • The third commit removes unused components.
  • The fourth commit is the big one that changes the calculations to be clearer.

@ebimor Can you check that this fixes your use case?

@DLu DLu requested a review from aaronhoy August 22, 2019 19:27
Copy link
Contributor

@aaronhoy aaronhoy left a comment

Choose a reason for hiding this comment

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

Seems reasonable. Interesting, so we were never using the global costmap?

@SteveMacenski
Copy link
Member

This is computing a velocity command for the base, I wouldn't think it would use the global costmap, what would be the benefit?

@aaronhoy
Copy link
Contributor

@SteveMacenski I agree. I was just noting that prior to this PR, the global costmap was brought in but not used. The state of things with this PR makes sense.

@ebimor
Copy link

ebimor commented Aug 22, 2019

@DLu looks good to me! Thanks

@DLu DLu merged commit e5162e6 into ros-planning:kinetic-devel Aug 30, 2019
@DLu DLu deleted the rotate_recovery_fix branch August 30, 2019 14:02
DLu added a commit to DLu/navigation that referenced this pull request Aug 30, 2019
DLu added a commit to DLu/navigation that referenced this pull request Aug 30, 2019
DLu added a commit to DLu/navigation that referenced this pull request Aug 30, 2019
DLu added a commit that referenced this pull request Aug 30, 2019
GodCed pushed a commit to GodCed/navigation that referenced this pull request Jan 8, 2020
* clear area in layer for melodic

* Added publishZeroVelocity() before starting planner (ros-planning#751)

Edit for Issue ros-planning#750

* Changed logic for when to resize layered costmap in static layer (ros-planning#792)

* Changed logic for when to resize layered costmap in static layer

-Now the master layered costmap should no longer get resized when
isSizeLocked returns true

* Fixing format for if loop

* Provide different negative values for unknown and out-of-map costs (ros-planning#833)

* Add force_updating and affected_maps parameters to tailor clear costmaps recovey (ros-planning#838)

behavior

* Costmap_2d plugin universal parameters and pre-hydro warnings (ros-planning#738)

* Comment and description clarification

* Renamed resetOldParameters to loadOldParameters

* Upscaled pre-hydro parameter info message to warning and added costmap-name

* Warn user when static_map or map_type is set but not used while plugins are used

* Added function that copies parent parameters inside each layer (makes it possible to set a global inflation_radius)

* use parameter magic

* Fixes ros-planning#782 (ros-planning#892)

* Drop Parameter Magic (ros-planning#893)

* Fix typo in amcl_laser model header (ros-planning#918)

* Cherry pick ros-planning#914 (ros-planning#919)

* update changelogs

* 1.16.3

Co-authored-by: Steven Macenski <stevenmacenski@gmail.com>
Co-authored-by: SUNIL SULANIA <sunilsulania9192@gmail.com>
Co-authored-by: David V. Lu!! <davidvlu@gmail.com>
Co-authored-by: Jorge Santos Simón <jsantossimon@gmail.com>
Co-authored-by: Martin Ganeff <martinganeff@gmail.com>
Co-authored-by: Hadi Tabatabaee <hadi.tab@gmail.com>
Co-authored-by: Michael Ferguson <mfergs7@gmail.com>
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.

None yet

4 participants