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

Proposal: remove edit_name from factory message #25

Closed
osrf-migration opened this issue Jan 29, 2019 · 4 comments
Closed

Proposal: remove edit_name from factory message #25

osrf-migration opened this issue Jan 29, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@osrf-migration
Copy link

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Summary

The entity_factory message has an edit_name field which is supposed to edit an existing model, instead of spawning a new one. On Gazebo <= 9 this has limited support. I suggest we remove it in favour of using other message types for more granular entity updates.

Motivation

  • Simplify the factory message: it should be used only to spawn new entities, not to edit them
  • Simplify implementation: to fully support editing an existing entity from any arbitrary SDF means that we either truly support any changes, such as new kinematics, or we print lots of errors to catch all the unsupported cases. Instead, we can have dedicated messages for editing specific things in simulation that are well defined and tested, like changing pose, scale, name...

Describe alternatives you've considered

We can keep the field and deal with all the corner cases that will come up.

Alternatively, we could document the scope of what the edit_name should be able to accomplish. For example, on Gazebo 9 it doesn't support adding a link.

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


  • changed title from "Proposal: remove entity_name from factory message" to "Proposal: remove edit_name from factory message"

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Just found a related issue on Gazebo: https://bitbucket.org/osrf/gazebo/issues/1954

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Pull request #86

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • changed state from "new" to "resolved"

Pull request #86

@osrf-migration osrf-migration added major enhancement New feature or request labels Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant