Gyro feature control?

Q&A about the latest versions
Post Reply
mr_cg
Posts: 20
Joined: Fri Dec 28, 2012 12:32 pm

Gyro feature control?

Post by mr_cg » Mon May 12, 2014 9:43 pm

I am using the following URLs to control the gyro feature:

javascript:gyro.toggle();
javascript:gyro.disable();
javascript:gyro.enable();

Unfortunately - depending on the used Android browser - the gyro toggling is working or not.
I am wondering if there are some more possibilites to control the a) activity (on/off/toggle) and b) sensitivity.

Every feedback welcome.

User avatar
Hopki
Gnome
Posts: 9815
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Gyro feature control?

Post by Hopki » Tue May 13, 2014 10:29 am

Hi,
Can you let me know which browsers you are having problems with?
The Gyro is just a js file and Pano2VR is using a javascript call to active and deactivate it.
The browser plays a big part in this.
Regards,
Hopki

mr_cg
Posts: 20
Joined: Fri Dec 28, 2012 12:32 pm

Re: Gyro feature control?

Post by mr_cg » Tue May 13, 2014 9:57 pm

Firefox works best (stability, fluent, gyro working).
Chrome is also very fluten, but unfortunately gyro is not working.

I have also realized that latest version of pano2vr_player.js and pano2vrgyro.js are working very bad on my Android devices (Galaxy Tab 3 8.0 and Galaxy S2).
Best results i get when i use the java files from Pano2VR version 4.0.

The issue i have is that when loading the panorama on android the screen moves in the first seconds while it's loaded until the function (javascript:gyro.disable();) disables the gyro control.
I want to have gyro disabled immediately, and activate it only when i push the button in the skin.

User avatar
Hopki
Gnome
Posts: 9815
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Gyro feature control?

Post by Hopki » Wed May 14, 2014 1:24 pm

4.5 beta 2 has the option that the Gyro is disabled on open?
Open the HTML 5 output and under the HTML tab you have the options:

Include gyroscope control
Disable on startup
Use true north

Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests