clubcapra / capra_web_ui

Web UI for ROS robots
https://github.com/clubcapra/capra_web_ui/releases/latest
GNU General Public License v3.0
26 stars 11 forks source link

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

Open Balnian opened 4 years ago

Balnian commented 4 years ago

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:

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:

Tasks:

IceSentry commented 4 years ago

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 commented 4 years ago

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