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

Updated Shapes plugin to work with MinimalScene #979

Closed
wants to merge 3 commits into from

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Aug 18, 2021

Signed-off-by: ahcorde ahcorde@gmail.com

🎉 New feature

Summary

It allows to create shapes inside the minimalScene. It still not working because of a racecondition when running in the same process

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • 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

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Aug 18, 2021
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Aug 18, 2021
@ahcorde
Copy link
Contributor Author

ahcorde commented Aug 18, 2021

Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Works for me! The only missing feature I noticed is that pressing ESC while hovering over the scene should cancel spawning.

namespace ignition::gazebo
{
class ShapesPrivate
{
/// \brief Handle shapes
public: void handleShapes();
Copy link
Contributor

Choose a reason for hiding this comment

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

The name of this method isn't very descriptive. How about OnRender, since it seems to handle everything that happens in the render thread?

@ahcorde
Copy link
Contributor Author

ahcorde commented Aug 19, 2021

superseded by #983

@ahcorde ahcorde closed this Aug 19, 2021
@ahcorde ahcorde deleted the ahcorde/shapes/minimal_scene branch August 19, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants