ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Answered on your new version of the same question on SO, here https://stackoverflow.com/a/64596816/1087119.
Your python script doesn't actually run anything. Its main function is empty so to speak.
if __name__ == '__control_loop__':
needs to be
if __name__ == '__main__':
See https://docs.python.org/3/library/__main__.html.