Skip to content

Add some default functionality to SystemHardwareInterface#180

Closed
bmagyar wants to merge 1 commit intoros-controls:masterfrom
bmagyar:add-default-implementations-to-systemhardwareinterface
Closed

Add some default functionality to SystemHardwareInterface#180
bmagyar wants to merge 1 commit intoros-controls:masterfrom
bmagyar:add-default-implementations-to-systemhardwareinterface

Conversation

@bmagyar
Copy link
Copy Markdown
Member

@bmagyar bmagyar commented Oct 3, 2020

Instead of creating yet another layer of abstraction, this PR merges some of the functionality proposed here into the base class. Since this is fairly trivial functionality, we may want to consider doing the same for the rest of the components.

@bmagyar bmagyar requested review from Karsten1987 and destogl October 3, 2020 19:16
@Karsten1987
Copy link
Copy Markdown
Contributor

as stated in #171 I don't think there should be a default implementation in these interfaces. I vote for having them pure interfaces only.

Copy link
Copy Markdown
Member

@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.

I agree with all.

@Karsten1987 this doesn't go with the idea to keep the hardware_interface package only filed with interfaces. Do you have idea about better place for this default functionality?

Otherwise, I propose to just merge this fast.

@bmagyar Would you provide in the follow-up the same for SensorHardwareInterface and ActuatorHardwareInterface. Also, the tests should be updated then.

@bmagyar bmagyar closed this Dec 2, 2020
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.

3 participants