Skip to content

Add virtual modifier to the functions of Joint and Sensor component#178

Merged
bmagyar merged 4 commits intoros-controls:masterfrom
destogl:components_virtual_functions
Oct 3, 2020
Merged

Add virtual modifier to the functions of Joint and Sensor component#178
bmagyar merged 4 commits intoros-controls:masterfrom
destogl:components_virtual_functions

Conversation

@destogl
Copy link
Copy Markdown
Member

@destogl destogl commented Oct 3, 2020

This PR adds virtual modifier I forgot to in the initial components PR.

  • refractor parameters from two into one line
  • added const modifier to the get_command_interfaces() function for the Sensor component

The issue is referenced in this comment by @Karsten1987 and I had to do the same changes in #147.

@destogl destogl requested a review from bmagyar October 3, 2020 08:03
Copy link
Copy Markdown
Member Author

@destogl destogl left a comment

Choose a reason for hiding this comment

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

just removing unintended changes they are coming in #140

@destogl destogl changed the title Add virtual modifier to the functions. Refactor some lines. Add virtual modifier to the functions of Joint and Sensor component Oct 3, 2020
Copy link
Copy Markdown
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

If the CI is happy, I'm happy

@bmagyar bmagyar merged commit 7813691 into ros-controls:master Oct 3, 2020
@destogl
Copy link
Copy Markdown
Member Author

destogl commented Oct 3, 2020

Thanks for fixing!

@destogl destogl deleted the components_virtual_functions branch October 3, 2020 23:59
destogl pushed a commit to b-robotized-forks/ros2_control that referenced this pull request Aug 11, 2022
* Set C++ version to C++14 to fix macOS build

* Update joint_state_controller/CMakeLists.txt

Co-authored-by: Karsten Knese <Karsten1987@users.noreply.github.com>

* Update joint_state_controller/CMakeLists.txt

Co-authored-by: Karsten Knese <Karsten1987@users.noreply.github.com>
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