Learning Dart with RICOH THETA API - Sample Code and Explanations

This is very useful. Following the instructions, I downloaded Dart on a Windows machine, cloned your repo listed here. I connected my laptop to a Z1 and an SC2 (alternating). And I was able to run state, info, listFiles, getOptions, takePicture. Then opening up the files with VS Code, I could edit the commands to use different options.

Really cool.

I’m looking to spend some more time with this. If anyone else is working with it, please let me know. I’d be interested to see your results.

EDIT: The only real issue I had so far was connecting my laptop to my SC2. This is probably a basic mistake, and doesn’t really have to do with the information posted by @codetricity. But I’m noting here in case other people run into it. To connect to the THETA, I made sure the Wi-Fi was on (blinking Wi-Fi icon) and found it on the list of networks. But when it asked for a password, it first asked for a PIN. I didn’t really notice the difference. It would not accept the password (the serial number, just the numerical digits, which is on the bottom of the camera and is also the name of the network). If it’s asking for a PIN, make sure you click on “Connect using a security key instead”

Using a PIN won’t work

Using the network security key (serial number, just the numerical digits) will work

UPDATED: I’m testing with a Z1, an SC2, and a V. Posting a few differences between the 3 models.

Running dart bin/main.dart getMetadata shows some differences:

  • Overall order is different between the models. V list appears to be alphabetically ordered. SC2 is not.
  • XMP data values are different
    • ProjectionType is equirectangular for V
    • CroppedAreaImageHeightPixels is 0 for SC2, 2688 for V
    • CroppedAreaImageWidthPixels is 0 for SC2, 5376 for V
    • FullPanoWidthPixels is 0 for SC2, 5376 for V
    • FullPanoHeightPixels is 0 for SC2, 2688 for V
  • exif data values are different
    • ExifVersion is blank for SC2, 0230 for V
    • DateTime is blank for SC2, 2020:03:24 11:05:24 for V
    • quite a few more
  • MISSING
    • V does not have GPSLattitudeRef, GPSLatitude, GPSLongitudeRef, GPSLongitude and MakerNote - 27 total for SC2, 22 total for V

SC2

V

Z1

Z1 gets an error that I haven’t figured out yet

Also, noticed that running state on the V shows a COMPASS CALIBRATION error that you can’t see otherwise, since there’s no OLED, and that won’t information show up in the RICOH THETA mobile app either.

1 Like