-
Notifications
You must be signed in to change notification settings - Fork 310
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
joint_limits_interface should not wrap JointHandle in shared_ptr #191
Labels
Comments
@guru-florida please go ahead and make these changes on a new PR, I've merged the old one. |
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 11, 2020
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 11, 2020
…FAULT_POSITION|VELOCITY|COMMAND_HANDLE macros
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 11, 2020
…esting if handle has a reference set. uncrustify fixes on joint limits macros
bmagyar
pushed a commit
that referenced
this issue
Oct 19, 2020
* #188 refactored enforceLimits to enforce_limits * #191 removed std::shared_ptr from Joint Limits handles * #191 cleaner default custruction of Joint Handles with DEFAULT_POSITION|VELOCITY|COMMAND_HANDLE macros * #191 added operator-bool to Handle<> template class for testing if handle has a reference set. uncrustify fixes on joint limits macros * added Handle<> constructors initializing interface_name only, and setter for interface_name,value * updated joint limit handles to use new Handle constructors * uncrustify and cpplint fixes * renamed base class JointSaturationLimitHandle to just JointLimitHandle since it is the common base class for Saturation and SoftLimit derived limit classes * fixed some constructor calls that required explicit JointHandle cast
@guru-florida this seams to be solved in #194. Is it OK to close the issue? |
Yes, this and #188 can be closed. |
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 23, 2020
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 23, 2020
…FAULT_POSITION|VELOCITY|COMMAND_HANDLE macros
guru-florida
added a commit
to guru-florida/ros2_control
that referenced
this issue
Oct 23, 2020
…esting if handle has a reference set. uncrustify fixes on joint limits macros
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bmagyar @Karsten1987 @destogl In this refactor for #134 I went with JointHandle arguments wrapped in std::shared_ptr<>, should these have been without shared_ptr? This was due to a commit I was using as a reference that had shared_ptr, but after reviewing more code such as robot_hardware.cpp I dont see any reason to use shared_ptr here, the JontHandle by value would work fine and probably more compatible. Thoughts?
Originally posted by @guru-florida in #181 (comment)
The text was updated successfully, but these errors were encountered: