Open ZhenshengLee opened 2 years ago
Does this work when you use
drive_base_activate_trans_event_by_name = EmitEvent(
event = ChangeState(
lifecycle_node_matcher = launch_ros.events.lifecycle.matches_node_name(drive_base_name),
transition_id = lifecycle_msgs.msg.Transition.TRANSITION_ACTIVATE,
)
)
?
Bug report
Required Info:
Steps to reproduce issue
the drive_base_node can be seen in https://github.com/micro-ROS/system_modes/blob/master/system_modes_examples/src/drive_base.cpp and adding initial configuration
with
first launch
drive_base.launch.py
then launch
activate_drive.launch.py
Expected behavior
the drive_base_node can be activated after the events emitted in
activate_drive.launch.py
Actual behavior
the state cannote be activated after launching
activate_drive.launch.py
Additional information
actually I do not know if it's a bug report or feature request.