Skip to content
Snippets Groups Projects
Commit d001f958 authored by Felix Agner's avatar Felix Agner
Browse files

update readme

parent 572bc7c7
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
HOST = "130.235.83.171"
PORT = 9006
```
to connect to bot number 6.
## Support
felix.agner@control.lth.se
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment