ago
(Ago)
July 12, 2017, 10:55am
1
Would it be possible to automatically (using bash script for example) configure Reach module?
For example, I want to set up a rover. So, in order:
first I have to configure wifi network
then I want to set up correction input
and I also want to set up position output
Everything can be done via ReachView (using browser). But how can I do it using bash script?
The web application itself uses probably RTKLIB API? Or where should I start looking for?
Using ReachView 2.6.0.
Thanks in advance!
1 Like
Not at the moment, but an API for Reach is something that we have plans to add.
ago
(Ago)
July 16, 2017, 8:06am
4
I tried to change configuration directly using RTKLIB, but for some reason it didn’t work.
Then I wrote a small python script which uses socket.io similarly to ReachView web app. So, I ended up with something like that:
from socketIO_client import SocketIO, LoggingNamespace
# define stuff
reach_ip = '192.168.1.100'
reach_port = 80
base_path = '192.168.1.101:9000'
with SocketIO(reach_ip, reach_port, LoggingNamespace) as socketIO:
# correction input
if True:
socketIO.emit("apply configuration", {"correction input":
{"input2":
{"enabled": True,
"type": "tcpcli",
"path": base_path,
'send position to base': "off",
"format": "rtcm3"
}
}
}
)
socketIO.wait_for_callbacks(seconds=1)
I am using this for the client: https://pypi.python.org/pypi/socketIO-client
The messages to the socket can be found from web app (in javascript). May-be this helps someone. And if someone manages to use RTKLIB directly, please let me know.
system
(system)
Closed
October 20, 2017, 10:55am
5
This topic was automatically closed after 100 days. New replies are no longer allowed.