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

Ability to be a network tables client for other than a team address #219

Open
fovea1959 opened this issue Feb 17, 2022 · 2 comments
Open

Comments

@fovea1959
Copy link

Would it be possible to change the web UI to allow ip addresses and hostnames in addition to a team number if the rPi is set up as a network tables client? It would facilitate off-robot testing.

I am aware of being able to use the NetworkTables server on the rPi, but in this case, we were testing for some weirdness / race conditions in accessing an off-rPi NetworkTables instance.

@PeterJohnson
Copy link
Member

Duplicate of #140. Agreed this would be a nice feature, it's just not been implemented yet.

@zaaj
Copy link

zaaj commented Apr 8, 2022

One work-around on Windows hosts doing the off-robot testing is to use an ipv4 "Alternate Configuration" under the "Internet Protocol Version 4 (TCP/IPv4) control panel. This is what Windows will use when it cannot reach a DHCP server. Normally it defaults to "Automatic Private IP Address" in the APIPA range of 169.254.0.0/24, but you can put in a static IP address of 10.TE.AM.2 (normally used by the robot). This is what I've done to get the pi's network tables client to send data to the OutlineViewer's server for testing our team's version of Peter's rpi-colorsensor

Most people don't use the APIPA IP range for anything - it just tells you when your not talking to a DHCP server - It does take longer to connect this way vs. setting a primary static IP, but you don't have to keep re-configuring the laptop for DHCP / static - just wait for DHCP client to time out when connecting to the wpilibpi-runing pi and you're on the robot's IP - plug into a regular network with DHCP and you're back to being a regular DHCP client.

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

3 participants