ricohapi / theta-plugins

Make your THETA
22 stars 3 forks source link

theta-plugin-time-adjuster-via-gnss for theta Z1 #10

Open antoinebio opened 7 months ago

antoinebio commented 7 months ago

Hello that plugin is working only for theta X model

does anyone know how easy we could adapt it to theta Z1 model ?

theta-plugin-time-adjuster-via-gnss

thanks,

KATSUYA2 commented 7 months ago

Unlike THETA X, THETA Z1 does not have a GNSS module, so this sample cannot be applied to it. The camera hardware is not compatible.

antoinebio commented 7 months ago

thanks @KATSUYA2 ok so it means you are working with internal gps message of the camera itself. Do you know mock location method ? is the plugin able to get GNSS time if I activate and use mock location (provided I work with a third part GNSS device) ?

KATSUYA2 commented 7 months ago

@antoinebio Although there are the following limitations, there seem to be cases where an external GNSS module is used.

・Use a GNSS module that outputs NMEA-0183 format data (ASCII) via USB serial communication (current availability unknown) ・API provided by Google cannot be used. Extract the necessary information from the NMEA-0183 format data yourself. ・During the process of connecting the GNSS module to THETA, you need to respond to the dialog displayed by the system.Since THETA Z1 does not have a touch panel, it is necessary to respond to dialogs using Vysor. *Due to this restriction, it can only be used with THETA Z1 in developer mode. It cannot be made into an apk to be distributed.

Please refer to the examples below. It is published in four parts. https://community.theta360.guide/t/plug-in-adds-gps-direct-to-ricoh-theta/3928 https://community.theta360.guide/t/how-to-install-serial-communication-library-for-android/3929 https://community.theta360.guide/t/gps-plug-in-source-code-walkthrough/3930 https://community.theta360.guide/t/using-the-ricoh-theta-gps-plug-in/3932

Please ignore the second article above. Some people have already released pre-built libraries. https://github.com/mik3y/usb-serial-for-android

KATSUYA2 commented 7 months ago

@antoinebio I don't know how to do Mock Location.