Quote:
Originally Posted by david.e.boles
I can upload a video if unclear.
|
Upload a video.
You have 2 levels of communication that need to be established.
1) Windows (the Operating System) needs to connect the Wifi device on the laptop with the Router (Dlink) on the Robot. That establishes the path for all the network traffic.
2) The Driver Station Program uses the network to establish a connection between the DS Program and the Robo Rio program (and any other recognized devices, such as the USB Camera). This is like you browser (IE, FF, Chrome) connecting to a website (Chiefdelphi.com).
#2 cannot happen until after #1 happens. #1 will happen automatically when the laptop first starts up. It also happens when it looses a connection, and tries to find another.
You will loose #1 every time the robot is power cycled (the Dlink resets). If the Dlink is on (robot is on) when the laptop is booting, it may find the robot as the first network it tries to connect to. If the dlink is not there, it may try to contact to the School's wifi network. That is what you want to prevent so the laptop will keep looking for the dlink until it finds it.
You can tell #1 is happening when you see the little wifi icon on the bottom right of the screen. You can also use those icons to see which wifi network you are connected.
You can see #2 happening in one of the DS status windows.
If #1 happens and it connects to the School's wifi, you will never connect to the dlink until you reset the wifi interface on your laptop. There are numerous ways to do that, including rebooting the laptop.
Are you are saying that the following works (Scenario A):
1) Computer boots
2) As soon you can, you launch the DS program
3) #1 happens (windows connecting) to the dlink while the DS program is loading.
And that the following does not work (Scenario B):
1) Computer boots
2) #1 happens and connects to the dlink (not the school's wifi)
3) After #1 is completed, launch the DS.
As long as you are connecting to the dlink, Scenario B should always work.