Skip to content

Commit 7027a46

Browse files
pzrqRy-DS
andauthored
Update nao_setup.rst: sudo bin/changeField.py (#49)
* Update nao_setup.rst Add a Connecting to GameController Wifi section documenting bin/changeField.py * Update source/setup/nao_setup.rst Co-authored-by: Ryan Samarakoon <[email protected]> * Update nao_setup.rst: One blank line * fix code blocks --------- Co-authored-by: Ryan Samarakoon <[email protected]>
1 parent 098f073 commit 7027a46

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

source/setup/nao_setup.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,33 @@ Finally, for all robots, run
105105
PC$ nao_sync -rd treebeard
106106
# reboot again
107107
108+
*********************************
109+
Connecting to GameController Wifi
110+
*********************************
111+
112+
To play a game by the SPL Rules, the `runswift` executable needs to send packets of
113+
information to, and respond to commands from, one specific soccer field's
114+
`GameController <https://github.com/RoboCup-SPL/GameController3/>`_. Typically the
115+
competition organisers will provide the list of field SSIDs and any other details
116+
at the competition, for example `SPL_A` to `SPL_E` has been typical of RoboCup.
117+
118+
One way to set this up is to SSH into the robot and use the change field script, this is
119+
analagous to connecting to a wifi hotspot, one needs to specify things like the
120+
`SSID <https://www.lifewire.com/definition-of-service-set-identifier-816547>`_:
121+
122+
.. code-block:: bash
123+
124+
125+
# sudo bin/changeField.py <SSID>
126+
sudo bin/changeField.py SPL_E
127+
128+
129+
Further considering the SPL Rules section on `Wireless Communications`, robots should be
130+
changed off the field when not playing a game or on an unused field:
131+
132+
.. code-block:: bash
133+
134+
# runswift is not a valid SPL SSID, so the Nao's WiFi should
135+
# disconnect and fail to connect at a competition
136+
sudo bin/changeField.py runswift
137+

0 commit comments

Comments
 (0)