Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mavlink Tunnel Example, .join called on function not thread #61

Open
ForrestFire0 opened this issue May 17, 2024 · 0 comments
Open

Mavlink Tunnel Example, .join called on function not thread #61

ForrestFire0 opened this issue May 17, 2024 · 0 comments

Comments

@ForrestFire0
Copy link

In master branch, the join method is called on the function and not the thread.

tcp_server_loop_thread = threading.Thread(target=tcp_server_loop)
tcp_server_loop_thread.start()

# Running the node until the application is terminated or until first error.
try:
    node.spin()
except KeyboardInterrupt:
    tcp_server_loop.join()  
    if connection:
        connection.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant