Closed
Description
After looking at the code, I believe this is happening because we call the
write
method also for theinactive
components
https://github.com/ros-controls/ros2_control/blob/master/hardware_interface%2Fsrc%2Fsystem.cpp#L247 and https://github.com/ros-controls/ros2_control/blob/master/hardware_interface%2Fsrc%2Factuator.cpp#L251If we need to properly fix it, I think we might need a new method called
dynamic_configure
where all thegpio
interfaces go in and then the main hardware command interfaces can go in thewrite
method, in this way we can call this newdynamic_configure
method and avoid callingwrite
method in theinactive
state.
Originally posted by @saikishor in ros-controls/ros2_control_demos#455 (comment)
Metadata
Metadata
Assignees
Labels
No labels