@@ -18,8 +18,9 @@ Use `connectomnibot` to create a TCP-connection. Whenever your script is done or
```
using Omnibot
ip = ...
bot = connectomnibot(ip)
host = ...
port = ...
bot = connectomnibot(host, port)
for i = 1:100
setspeeds(bot,[100,100,100])
...
...
@@ -36,8 +37,9 @@ close(bot)
```
using Omnibot
ip = ...
bot = connectomnibot(ip)
host = ...
port = ...
bot = connectomnibot(host, port)
println(getmaxspeed(bot))
...
...
@@ -45,7 +47,7 @@ close(bot)
```
### 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*, where the IP naming conventions for the robots are `192.168.0.10X` for robot with name `omniX`, i.e. omnibot `omni6` has IP `192.168.0.106`.
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*. IP and port conventions: Robot with name *omniX* has IP `192.168.0.10X` and port `900X` e.g.. omnibot `omni10` has IP `192.168.0.110`and port `9006`.