micro-ROS / system_modes

System modes for ROS 2 and micro-ROS
Apache License 2.0
43 stars 9 forks source link

(sub-)systems not recognized by ros2 lifecycle cli #1

Open norro opened 5 years ago

norro commented 5 years ago

When calling ros2 lifecycle set, the tool will abort with an error ("Node not found"). Reproduce:

  1. Start mode manager with example system (see system_modes_examples
  2. Execute ros2 lifecycle set actuation configure

Expected result: actuation system is set to inactive

Actual result: rros2 lifecycle returns "Node not found", actuation system remains unchanged

norro commented 4 years ago

Not sure any more, if this is really an issue (as in: error). The reason for this behavior is that ros2 lifecycle is querying the nodegraph before performing the call. The nodegraph correctly returns "Node not found". So this is actually intended behavior.

I will still keep this issue open, as it would still be nice if it would be completely transparent, if I am calling a node or subsystem.