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

update network info

parent ae382049
Branches
No related tags found
No related merge requests found
......@@ -23,11 +23,11 @@ port = ...
bot = connectomnibot(host, port)
for i = 1:100
setspeeds(bot,[100,100,100])
println("x:"*getx(bot))
println("y:"*gety(bot))
println("z:"*getz(bot))
println("theta:"*gettheta(bot))
setspeed(bot,[100,100,100])
println("x: @(getx(bot))")
println("y: @(gety(bot))")
println("z: @(getz(bot))")
println("theta: @(gettheta(bot))")
sleep(0.1)
end
......@@ -56,11 +56,12 @@ port = ...
connectomnibot(host, port) do bot
for i = 1:100
setspeeds(bot,[100,100,100])
println("x:"*getx(bot))
println("y:"*gety(bot))
println("z:"*getz(bot))
println("theta:"*gettheta(bot))
setspeed(bot,[100,100,100])
println("x: @(getx(bot))")
println("y: @(gety(bot))")
println("z: @(getz(bot))")
println("theta: @(gettheta(bot))")
sleep(0.1)
sleep(0.1)
end
......@@ -68,7 +69,7 @@ end
```
### 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*. 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 `9010`.
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.
## Support
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment