Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Imable
- License: gpl-3.0
- Language: ShaderLab
- Default Branch: main
- Size: 24.1 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
AR Supported Maritime Navigation
"Sjør" is a framework for Microsoft HoloLens 2 developed by Abel van Beek at the University of Bergen.
Getting Started
Enable Developer Mode on HoloLens 2
- Turn on your HoloLens 2 and navigate to
Settings>Updates>For Developers - Enable
Use Developer Featuresin order to deploy applications from Visual Studio - I recommend to enable
Windows Device Portalin this menu too (https://docs.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-the-windows-device-portal)
Enable Developer Mode on your PC
- Navigate to
Settings>Updates and Security>For Developers - Enable
Developer Modeand clickYesto accept the change
Run the App
- Download Sjørv1.0.2.0ARM64.zip from the
Compiled/directory - Unpack to your local machine
- Open
Windows Device Portal > Views > Apps > Local Storage > Browse > Navigate to unpacked folder > ar-coastal-sailing_1.0.2.0_ARM64.appx
Start Developing
Prerequisites
- Unity 2020.3.17f1
- Mixed Reality Toolkit 2.7.2 (included in the project)
- Visual Studio 2019 (16.3)
Include in installation * Desktop development with C++ * Universal Windows Platform (UWP) development * Windows 10 SDK version 10.0.19041.0 or 10.0.18362.0 * USB Device Connectivity (required to deploy/debug to HoloLens over USB) * C++ (v142) Universal Windows Platform tools (required when using Unity) * Git (to download the project)
Get the project up and running
- Clone the project in a directory using
git clone https://github.com/Imable/sjoer.git - Go to https://www.barentswatch.no/minside/
- Create an account
- Create a client below "Mine klienter"
- Create a file in
Assets/Resources/Config/namedbarentswatch_conf.jsonwith the following content, where you replace...with the credentials provided by Barentswatchbarentswatch_conf.json { "token_url": "https://id.barentswatch.no/connect/token", "ais_url": "https://www.barentswatch.no/bwapi/v2/geodata/ais/openpositions?Xmin={0}&Xmax={1}&Ymin={2}&Ymax={3}", "auth_format": "client_id={0}&scope=api&client_secret={1}&grant_type=client_credentials", "client_id": "...", "client_secret": "..." }
- Open the project in Unity
- Go to
File > Build Settings - Make sure the settings match the ones below
Target Device: HoloLens
Architecture: ARM64
Build Type: D3D Project
Target SDK Version: Latest Installed
Minimum Platform Version: 10.0.10240.0
Visual Studio Version: Latest Installed
Build and Run on: USB Device
Build Configuration: Release
The remaining checkboxes should be deselected when creating a release build
- Click
Build - Select a folder where the project should be built to
- Go into the export folder and open the Visual Studio project by double-clicking
ar-coastal-sailing.sln - Now connect the HoloLens 2 to your PC using USB and wait until Windows recognizes it
- In Visual Studio, switch
DebugtoRelease,ARMtoARM64andRemote DevicetoDevice(by clicking the small arrow on the right side ofARM) - Then click the
Debugtab on top of Visual Studio and selectStart without debugging
The project is now being build and compiled for HoloLens. This will take around 5-10 minutes, depending on your system. Leave the HoloLens plugged into your PC until it makes a sound and the project is opened automatically
Connect to GPS on your phone
- Download the NetGPS Android app (https://play.google.com/store/apps/details?id=com.meowsbox.netgps&hl=en&gl=US)
- Disconnect your phone from WiFi and create a hotspot with your phone and connect the HoloLens to it
Note that this will use mobile data (but it should not be a crazy amount)
* In NetGPS, open the second tab and create and enable a server with type: TCP, port: 6000
* Then click the arrow on top to show your IP address
* Insert the IP address from the app at wlan0 into the config file in the Unity project at Assets/Resources/Config/conf.json (at the bottom of the file)
* If we now run the application on the HoloLens, it should connect to the phone
Troubleshooting
Error HRESULT E_FAIL has been returned from a call to a COM component
https://www.niceonecode.com/Question/20646/Error-HRESULT-E_FAIL-has-been-returned-from-a-call-to-a-COM-component
Owner
- Name: Abel van Beek
- Login: Imable
- Kind: user
- Location: Bergen, Norway
- Website: https://www.linkedin.com/in/abelvanbeek/
- Repositories: 5
- Profile: https://github.com/Imable
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: van Beek
given-names: Abel
title: "Sjør: AR Supported Maritime Navigation"
version: 1.0.0
date-released: 2022-05-10
url: "https://github.com/Imable/sjoer"