Skip to content

Commit

Permalink
release: v1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oswalk committed Apr 30, 2024
1 parent 036b345 commit 2a43b4e
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 5 deletions.
Binary file modified Assets/VLSDK/Plugins/Android/arm64-v8a/libVLSDK.so
Binary file not shown.
Binary file modified Assets/VLSDK/Plugins/Android/x86_64/libVLSDK.so
Binary file not shown.
Binary file modified Assets/VLSDK/Plugins/IOS/libVLSDK.a
Binary file not shown.
Binary file modified Assets/VLSDK/Plugins/Windows/x64/VLSDK.dll
Binary file not shown.
5 changes: 5 additions & 0 deletions Assets/VLSDK/Scripts/Network/NetworkController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Networking;
using AOT;
using ARCeye;
Expand Down Expand Up @@ -52,6 +53,8 @@ public bool SaveQueryImage {
private bool m_CheckQueueFullDuration = false;
private const int m_FullQueueWaitingSeconds = 5;

public UnityAction<ARCeye.RequestVLInfo> OnRequestInfoReceived { get; set; }


private void Awake()
{
Expand All @@ -68,6 +71,8 @@ public void Initialize()
[MonoPInvokeCallback(typeof(RequestVLDelegate))]
unsafe private static void OnRequest(int key, ARCeye.RequestVLInfo requestInfo)
{
s_Instance.OnRequestInfoReceived?.Invoke(requestInfo);

if(requestInfo.rawImage != IntPtr.Zero && !CreateQueryTexture(requestInfo.rawImage)) {
return;
}
Expand Down
7 changes: 3 additions & 4 deletions Assets/VLSDK/Scripts/Network/VLRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ public override string ToString()
Method - {method}
URL - {url}
filename - {filename}
params -
{sb.ToString()}
params - {sb.ToString()}
";
}

Expand All @@ -47,7 +46,7 @@ public static VLRequestBody Create(ARCeye.RequestVLInfo requestInfo)
{
if(IsARCeyeURL(requestInfo.url))
{
return CreateARCEyeRequest(requestInfo);
return CreateARCeyeRequest(requestInfo);
}
else
{
Expand All @@ -61,7 +60,7 @@ private static bool IsARCeyeURL(string url)
return url.Contains(prefix);
}

private static VLRequestBody CreateARCEyeRequest(ARCeye.RequestVLInfo requestInfo) {
private static VLRequestBody CreateARCeyeRequest(ARCeye.RequestVLInfo requestInfo) {
VLRequestBody body = new VLRequestBody();

body.method = requestInfo.method;
Expand Down
3 changes: 3 additions & 0 deletions Assets/VLSDK/Scripts/PoseTracker/TrackerNativeConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ public class TrackerConfig
[HideInInspector]
public VLQuality vlQuality;

[HideInInspector]
public int vlSearchRange;


[Header("Log Option")]
[HideInInspector]
Expand Down
1 change: 1 addition & 0 deletions Assets/VLSDK/Scripts/VLSDKManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ private void InitConfig()
m_Config.tracker.requestIntervalAfterLocalization = m_Settings.vlIntervalPassed;
m_Config.tracker.useGPSGuide = m_Settings.GPSGuide;
m_Config.tracker.vlQuality = m_Settings.vlQuality;
m_Config.tracker.vlSearchRange = 10;

m_Config.logLevel = m_Settings.logLevel;
m_Config.urlList = m_Settings.URLList;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARC eye VL SDK는 ARC eye Visual Localization (VL) API를 이용하여 공간

## 문서

[VLSDK documentation](https://ar.naverlabs.com/ARPG/docs/VLSDK_v1.5.1.html)
[VLSDK documentation](https://ar.naverlabs.com/ARPG/docs/VLSDK_v1.5.2.html)

## License

Expand Down
Binary file not shown.

0 comments on commit 2a43b4e

Please sign in to comment.