Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7041
    bryanb19
    Participant

    Hello 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)

    #7056
    wlest
    Keymaster

    Hi,

    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, 4 months ago by wlest.
    #7418
    pp040328
    Participant

    Hello, 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?

    #7471
    wlkh
    Keymaster

    Hi,

    Once you are running the tracklog.py file it will generate a tracklog.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.

    #15395
    phyozawhan.bmstu
    Participant

    Hello,
    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.

    #15478
    wlkh
    Keymaster

    Hi,

    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)

    #15856
    sebastian.rostberg
    Participant

    Hello,

    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/?

    #15909
    wlest
    Keymaster

    Hi,

    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

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Not a member yet? Registere here!