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

Reconnect to targetip if link will be lost!? #33

Open
ghost opened this issue Nov 20, 2017 · 1 comment
Open

Reconnect to targetip if link will be lost!? #33

ghost opened this issue Nov 20, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 20, 2017

Is it possible to reconnect automatically to the targetip if the link will be lost?

The follow scenario:

CMAVNODE is connected over udp to the targetip with the Mission Planner.
I'm using a dyndns host name instead of an numeric ip for the targetip. All is working fine.
But when the ip will be changed on the computer with the Mission Planner the connection is lost!
dyndns will be informed over an ip-changing but it's not possible anymore to receive the mavlink stream from CMAVNODE. Just a restart of CMAVNODE will fix this. But it's not comfortable to make a restart of CMAVNODE in the air when your computer with the Mission Planner get a new ip.

Is it possible to say "reconnect to the targetip" if the connection to the Mission Planner is lost?
I believe this will fix it... but I don't know how i can modify the code for that...!?

@JMare
Copy link
Member

JMare commented Dec 4, 2017

I guess this happens when the interface goes down and the ip is no longer reachable, but can you show me the config file you are using to start cmavnode and tell me which link is the problem?

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