Skip to content

Conversation

CihatAltiparmak
Copy link
Contributor

fixes #5425


Basic Info

Info Please fill out this column
Ticket(s) this addresses #5425
Primary OS tested on Ubuntu
Robotic platform tested on
Does this PR contain AI generated software? of course no
Was this PR description generated by AI software? no

Description of contribution in a few bullet points

Removed smoother of nav2_smac and integrated to nav2 simple smoother. I have still some work to do, so I will update the description in detail when it is done.

Description of documentation updates required from your changes

Description of how this change was tested


Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
  • Should this be backported to current distributions? If so, tag with backport-*.

Signed-off-by: CihatAltiparmak <cihataltiparmak1@gmail.com>
@CihatAltiparmak
Copy link
Contributor Author

It is not ready so no need to review it for now. I will inform you. BC test_simple_smoother throws segfault. and I'll also clean up PR.

…st_simple_smoother

Signed-off-by: CihatAltiparmak <cihataltiparmak1@gmail.com>
Comment on lines +310 to +319
smac_path.poses[0].pose.position.x = 0.250000;
smac_path.poses[0].pose.position.y = 0.250000;
smac_path.poses[0].pose.orientation.x = 0.000000;
smac_path.poses[0].pose.orientation.y = 0.000000;
smac_path.poses[0].pose.orientation.z = 0.000000;
smac_path.poses[0].pose.orientation.w = 1.000000;
smac_path.poses[1].pose.position.x = 0.353528;
smac_path.poses[1].pose.position.y = 0.263630;
smac_path.poses[1].pose.orientation.x = 0.000000;
smac_path.poses[1].pose.orientation.y = 0.000000;
Copy link
Contributor Author

@CihatAltiparmak CihatAltiparmak Aug 10, 2025

Choose a reason for hiding this comment

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

Note to myself, we should get these informations from csv-like files. This looks like horrific. 🫤

Copy link
Member

@SteveMacenski SteveMacenski 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 we got our wires crossed. I do not support removing the smoother from the smac planner - that is an important feature. I support though abstracting more into shared utilities so that the specialized functions of the Smac version are to a minimum -- which we pointed out 2x methods that could be removed with minimal effort into smoother utils.

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.

Is it still necessary to store smoother.cpp file at nav2_smac_planner?
2 participants