Nav apraksta

DGJ bf3a6a4fbf Update 9 mēneši atpakaļ
components bf3a6a4fbf Update 9 mēneši atpakaļ
pages bf3a6a4fbf Update 9 mēneši atpakaļ
utils bf3a6a4fbf Update 9 mēneši atpakaļ
README.md 8aa4fa11b3 first commit 9 mēneši atpakaļ
app.js bf3a6a4fbf Update 9 mēneši atpakaļ
app.json bf3a6a4fbf Update 9 mēneši atpakaļ
app.wxss bf3a6a4fbf Update 9 mēneši atpakaļ
project.config.json bf3a6a4fbf Update 9 mēneši atpakaļ
project.private.config.json bf3a6a4fbf Update 9 mēneši atpakaļ
sitemap.json bf3a6a4fbf Update 9 mēneši atpakaļ

README.md

WeChat Sample

Immersal Wechat sample is a Wechat mini-program project which can be opened with Wechat mini-program editor. The sample codes shows how to perform on-server localization.

Steps:

  1. Open project with Wechat mini-program editor.
  2. In ‘/components/xr-start/index.js’, update below variables:
    1. ‘serverUrl’: with your Immersal server (e.g. https://api.immersal.com for international developer, https://immersal.hexagon.com.cn for China developer.
    2. ‘developerToken’: your developer token.
    3. ‘mapIds’: you may specify one or multiple map ID. e.g. [1234], [1234, 5678, 7890]
  3. Click ‘Compile’ and ‘Preview’, scan the QR code with Wechat to launch the mini-program.
  4. When it launch, localization will start automatically against your map and the mesh will overlay correctly in the environment.

Note:

  • The 6DoF SLAM performance is very different on iOS and Android devices. It is recommended to perform above test on iOS device first, so that in case any problem, the VPS problem doesn’t get mixed with SLAM problem.