@@ -29,8 +29,8 @@ from omnibot.tcp import Connection
from time import time, sleep
# Insert suitable IP-adress
HOST = "192.168.0.101"
PORT = 9001
HOST = "xxx.xxx.xxx.xxx"
PORT = yyyy
with Connection(HOST, PORT) as bot:
...
...
@@ -59,8 +59,8 @@ A pre-defined script which rotates first one way, then the other, and prints log
from omnibot.dummybot import run_dummybot
# Insert suitable IP-adress
HOST = "192.168.0.101"
PORT = 9001
HOST = "xxx.xxx.xxx.xxx"
PORT = yyyy
run_dummybot(HOST, PORT)
```
...
...
@@ -68,7 +68,12 @@ run_dummybot(HOST, PORT)
You can get the maximum absolute value of servo-speed-setpoints with `max_speed = bot.get_max_speed()`. Any value above (below) `max_speed` (`-max_speed`) is rounded down (up) on the server side.
### Network
At the department of automatic control, you should be connected to the omnibots via the same router. Currently this has been done with the router with name *robotlab*. You can connect to this router via IP `130.235.83.171`. Use port `90XX` to rout to bot number `XX`, e.g. `9006` routs to bot number 6.
The omnibots automatically connect to the router named "robotlab". You can connect to the omnibots via this router, IP `130.235.83.171`. Use port `90XX` to rout to bot number `XX`, e.g. `9006` routs to bot number 6. In the example above you would use