Tagged: Underwater GPS Data
-
AuthorPosts
-
July 17, 2019 at 17:25 #7041
bryanb19
ParticipantHello my lab recently acquired a UnderWater GPS unit. We are able to use the basis functions of the GUI unit but are looking for a simple solution so we are able to have a log of time and position( Log/Lad). The question that we are asking is there a way we can utilize the API so that we are able to get a list/log of position and depth? If not, then will we need to build a program to grab and log these functions separately? (I see the Github code but i am unsure of how integrate code with GUI)
July 19, 2019 at 09:29 #7056wlest
KeymasterHi,
Glad to hear that you have bought our Underwater GPS!
Yes, it is possible to use the API to log the position. You can use the python script tracklog.py found here.
To run the code you need python 2.7 on you computer and to install the required packages.
This will store the position in a GPX file.
Let me know if you have any more questions or problems getting the script to run!
-
This reply was modified 1 year, 7 months ago by
wlest.
August 30, 2019 at 08:27 #7418pp040328
ParticipantHello, I tried using python and pip to install the things in examples, but I don’t know how to proceed in the next step. What should I do to get gpx file?
September 3, 2019 at 14:28 #7471wlkh
KeymasterHi,
Once you are running the
tracklog.py
file it will generate atracklog.gpx
file (in the same directory) which stores all positions it is getting while it is running.You will need to specify the IP address of your kit similar to this:
python tracklog.py -u http://192.168.2.94
If the URL is specified correctly you will periodically see an update on the screen with the position when running the script.
April 7, 2020 at 05:25 #15395phyozawhan.bmstu
ParticipantHello,
I has a underwater GPS from water linked. I want to know underwater GPS can be use offline ? If it can use offline map , please let me know what we need to do .Thank.
April 8, 2020 at 09:06 #15478wlkh
KeymasterHi,
The Underwater GPS does not need an internet connection to work, so the positioning will work perfectly when offline.
We use OpenStreetMap in the map view. This map will only be able to show the tiles that have already been loaded (ie are cached in your browser) and not load new tiles when offline.
This means that to show map when offline you need to save the tiles manually to the cache before going out on a mission:
Go to the area that you will operate in: use the mouse to move around the map, zoom to a different zoom level and repeat for all relevant zoom levels to let the tiles be cached by the browser. (This needs to be done on the computer/browser that you are going to use on the mission).(Yes we agree: It would be a great future addition to be able to select an area and download all tiles automatically for offline use)
June 15, 2020 at 13:29 #15856sebastian.rostberg
ParticipantHello,
We have gotten the script to work with the default server, but when we try to connect on our kits ip it won’t connect. Is it because of the settings on the unit ref: https://waterlinked.github.io/docs/explorer-kit/network-settings/?
July 1, 2020 at 07:47 #15909wlest
KeymasterHi,
What arguments are you providing to the python script?
Yes, changing the DIP switches will change what arguments you need to provide the script.
If the IP-address of the kit is “192.168.2.92” you should use: python tracklog.py -u http://192.168.2.94 -
This reply was modified 1 year, 7 months ago by
-
AuthorPosts
You must be logged in to reply to this topic. Not a member yet? Registere here!