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

Auto detect robot IP address (web servers/services) #57

Open
3 tasks
Balnian opened this issue Feb 14, 2020 · 2 comments
Open
3 tasks

Auto detect robot IP address (web servers/services) #57

Balnian opened this issue Feb 14, 2020 · 2 comments
Labels
Needs backend Feature that requires a backend feature to work

Comments

@Balnian
Copy link
Collaborator

Balnian commented Feb 14, 2020

Description:

Add a UDP listener on a predetermined port to listen to a broadcast from a robot containing the robot's rosbridge and video server address.

Broadcast will come from a node on the robot.
The broadcast will contain a Robot Web Services ( RWS ) message which is a JSON structure giving:

  • Version of the protocol (1.0.0)
  • Robot's Name (Takin)
  • Web API provider address (Rosbridge)
  • Web Video Server address (Web_video_server)

This would be connected to a Combo Box in the UI to display a list of broadcast received to choose from and still allow to enter a manual address and have cached values.

Preliminary numbers:

  • Broadcast is every 0.5 seconds

  • Values stored expire after 1.5 seconds after last broadcast received (aka every broadcast reset the expiration timer)

Tasks:

  • UDP listener in electron
  • Combo box in UI
  • Backing store???
@Balnian Balnian added enhancement good first issue Good for newcomers Needs backend Feature that requires a backend feature to work labels Feb 14, 2020
@IceSentry
Copy link
Collaborator

I'm not sure it should be a combo box. Maybe it should just detect the IP, but if it detects a change to the input box then stop looking for an IP and use the one given by the user.

Or maybe a button with "Configure IP" and this will toggle enable status of the input box.

@lit-af
Copy link
Collaborator

lit-af commented Apr 9, 2020

I think I found a backend package for this!
https://fkie.github.io/multimaster_fkie/master_discovery.html

@IceSentry IceSentry removed good first issue Good for newcomers enhancement labels Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs backend Feature that requires a backend feature to work
Projects
None yet
Development

No branches or pull requests

3 participants