kauailabs / allwpilib

Fork of Official Repository of WPILibJ and WPILibC, which contain in addition a HAL for the KauaiLabs VMX-pi.
Other
1 stars 3 forks source link

setupWifiAP.sh doesn't work w/team numbers that don't contain exactly 4 digits #11

Closed kauailabs closed 5 years ago

kauailabs commented 5 years ago

Reported by a beta test team:

I then tried to set up the wireless AP on the Pi using setupWifiAP.sh. It doesn't seem to work with any team numbers that are not 4 digits long. For example, entering the team number of 9 gives the IP address of 10.9. .2 and entering the team number as 123 gives the IP address of 10.12.3.2 when Driver Station actually expects 10.1.23.2. In the end, we just made up a 4 digit number and it worked. I've also noticed that if the script is run more than once with different team numbers, it shows up as different wireless connections with those respective team numbers. This is not a real problem though because it goes away upon a reboot of the Pi.

kauailabs commented 5 years ago

This is now fixed in the v 1.1.200 release of the vmxpi-frc utilities.