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

Add a flexible mechanism to combine user and default plugins #631

Merged
merged 6 commits into from
Aug 28, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Jul 30, 2024

🎉 New feature

Closes gazebosim/gz-sim#796

Summary

This works in conjunction with gazebosim/gz-sim#2497 to allow specifying plugins without replacing the default list of plugins.

Test it

Try examples in gazebosim/gz-sim#2497

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@azeey azeey requested a review from jennuine as a code owner July 30, 2024 19:47
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Jul 30, 2024
@azeey azeey added the beta Targeting beta release of upcoming collection label Jul 30, 2024
@@ -98,6 +98,8 @@ namespace gz::gui
/// \sa InitializeDialogs
public: bool LoadConfig(const std::string &_path);

public: bool LoadWindowConfig(const tinyxml2::XMLElement &_window);
Copy link
Contributor

Choose a reason for hiding this comment

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

add doxygen comments for the new functions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in c2fa792

@@ -524,6 +506,37 @@ std::string Application::DefaultConfigPath()
return this->dataPtr->defaultConfigPath;
}

std::string Application::ResolveConfigFile(const std::string &_path)
Copy link
Contributor

Choose a reason for hiding this comment

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

add separation line /////////////////////////////////////////////////

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in c2fa792

@azeey azeey added the Breaking change Breaks API, ABI or behavior. Must target unstable version. label Aug 20, 2024
@azeey azeey changed the base branch from main to gz-gui9 August 27, 2024 17:30
@iche033 iche033 merged commit d68674e into gazebosim:gz-gui9 Aug 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection Breaking change Breaks API, ABI or behavior. Must target unstable version. 🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants