CommonplaceRobotics / iRC_ROS

ROS2 packages for the igus Robot Control
Apache License 2.0
15 stars 7 forks source link

Only assign required state interfaces to SemanticComponentInterfaces #75

Open cpr-fer opened 1 year ago

cpr-fer commented 1 year ago

Currently each SCI gets all interfaces assigned from the Dashboard Controller interface. This still works, but now each SCI has to monitor multiple times the amount of state interfaces than just the number of state interfaces belonging to a single module. Once this is fixed in the dashboard_controller.cpp/on_activate() method also add an error if a SCI handles an unexpected state interface in the dashboard_semantic_component_interface.hpp/get_values_as_message() method.