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

Draft: accept empty yaml_filename #2929

Closed
wants to merge 4 commits into from
Closed

Conversation

NikolasE
Copy link
Contributor

@NikolasE NikolasE commented Apr 28, 2022

#2925

Empty yaml_filename is now default and node can be configured/activated without a valid map. loadmap can then be used to select a map.

@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2022

@NikolasE, please properly fill in PR template in the future. @SteveMacenski, use this instead.

  • Check that any new parameters added are updated in navigation.ros.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

@NikolasE NikolasE changed the title issues/2925: accept empty yaml_filename Draft: accept empty yaml_filename Apr 28, 2022
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.

Mostly LGTM, 2-3 small updates.

There are some linting errors that CI brings up. Nothing crazy, just needs to be handled before merging

nav2_map_server/src/map_server/map_server.cpp Outdated Show resolved Hide resolved
nav2_map_server/src/map_server/map_server.cpp Outdated Show resolved Hide resolved
nav2_map_server/include/nav2_map_server/map_server.hpp Outdated Show resolved Hide resolved
@NikolasE NikolasE marked this pull request as draft April 28, 2022 18:39
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.

@AlexeyMerzlyakov take a look and merge if you're happy

@SteveMacenski
Copy link
Member

@NikolasE please un-draft this PR so it can be merged

@SteveMacenski
Copy link
Member

Actually @NikolasE you still need to fix linting issues, please look at CI's results

@SteveMacenski
Copy link
Member

@NikolasE any update? Just some really small changes / undrafting the PR to get this merged!

@NikolasE
Copy link
Contributor Author

NikolasE commented May 4, 2022

Still on it, I just hadn't time to reproduce and fix the linting errors locally.

Copy link
Collaborator

@AlexeyMerzlyakov AlexeyMerzlyakov left a comment

Choose a reason for hiding this comment

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

Overall, I am good with this change. There are small comments/nitpicks requested and we could go.

nav2_map_server/README.md Show resolved Hide resolved
on_configure or published during on_activate. The _load_map_-service should the be used to load and publish a map.


## Map Saver
Copy link
Collaborator

Choose a reason for hiding this comment

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

This name is intended to have 4 nesting level: here "Map Server" is a sub-chapter of "###CLI-usage" having nesting level equal to 3.

Copy link
Contributor Author

@NikolasE NikolasE Jul 18, 2022

Choose a reason for hiding this comment

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

Level 4 looks weird, 'Map Saver' is also on level two, but it's now on 4

nav2_map_server/src/map_server/map_server.cpp Show resolved Hide resolved
nav2_map_server/src/map_server/map_server.cpp Show resolved Hide resolved
@@ -24,6 +24,8 @@
#include "nav2_map_server/map_server.hpp"
#include "nav2_util/lifecycle_service_client.hpp"
#include "nav2_msgs/srv/load_map.hpp"
using namespace std::chrono_literals;
using namespace rclcpp;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we really need rclcpp namespace?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, mostly for Parameter and ParameterValue

@SteveMacenski
Copy link
Member

@NikolasE any update? This is pretty close to getting in

@mergify
Copy link
Contributor

mergify bot commented Jun 2, 2022

This pull request is in conflict. Could you fix it @NikolasE?

@SteveMacenski
Copy link
Member

SteveMacenski commented Jun 13, 2022

I think everything remaining here are trivial linting fixes and then its good to go. If @NikolasE you don't have time for this, let us know and we can close this PR until a time when it can be completed to pass CI. CI picks up on half a dozen formatting issues, some of which @AlexeyMerzlyakov brought up in his PR review.

See the CircleCI job for all the linting failures.

@SteveMacenski
Copy link
Member

Closing due to non-response. Happy to consider this / reopen it if you can make the minor changes @AlexeyMerzlyakov requested and are inline with our coding standards.

@SteveMacenski
Copy link
Member

#3038 completes

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.

3 participants