Closed chcorbato closed 4 years ago
The mode manager already provides the state interface (.../change_state
, etc) for systems, e.g. to activate them. Is that what you mean?
Or do you mean that the mode manager should take care of ensuring that a system is active first, before transitioning it into a certain mode? This should be dependent on this issue then: https://github.com/micro-ROS/system_modes/issues/27
The mode manager already provides the state interface (
.../change_state
, etc) for systems, e.g. to activate them. Is that what you mean?
This is what I meant.
Or do you mean that the mode manager should take care of ensuring that a system is active first, before transitioning it into a certain mode? This should be dependent on this issue then: #27
Great, this is a separate problem, related to self-managing systems. I will elaborate my viewpoint, also in relation to the metacontroller, in #27
I think to configure and activate a system currently you need to use the
lifecycle
services. You cannot use the system_modes services unless the system is already in the active state, right?For example, in the
system_modes_examples
, right after launching the bringup files, so with the system in no state yet, this does not work:I think it would be useful if the system_mode interface also allows to configure and activate systems.