Skip to content

[pinocchio.Gripper] change name from getter to property. - #180

Open
florent-lamiraux wants to merge 2 commits into
develfrom
gripper.name
Open

[pinocchio.Gripper] change name from getter to property.#180
florent-lamiraux wants to merge 2 commits into
develfrom
gripper.name

Conversation

@florent-lamiraux

Copy link
Copy Markdown
Contributor

For consistency with manipulation.Handle.name. A warning message is delivered in std::cerr when the deprecated getter is called.

@nim65s nim65s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe an exception would be better than an easily missed message on stderr

@florent-lamiraux

Copy link
Copy Markdown
Contributor Author

But an exception will break users' code.
And deprecation warnings are lost in the call stack.

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.

2 participants