ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I didn't try executing this python script, but I think that OpaqueFunction(function=lambda context: ready_fn()),
should be added into list of LaunchDescription
.
I think that your code should be fixed as below.
ld = LaunchDescription([
simulation_process,
OpaqueFunction(function=lambda context: ready_fn()),
])