SC2 return older image for _latestFileUrl sometime

,

Hello Everyone, I am facing some weird issue for our SC2 device only.
Our android application works fine with Theta V device. But with the SC2 new one, sometime it return older image for _latestFileURL field.

This is how our application works -

  • After shooting and retrieving for every 360 pano photo, we send the delete command from the app to delete the last taken photo. (Command => camera.delete).
  • After doing some trouble shooting I found that, sometime the delete command fails to delete the last taken photo.
  • Therefore, when i shoot the next photo, it return the older picture inside _latestFileURL, instead of getting the latest one.

This happening very often and randomly. Does anyone have any solution for that?
Theta V does not cause any problem, but it’s the new SC2 only. Theta V is longer in the market, so we are in a bad situation now for our clients.

Thanks

The SC2 taks 7-8 seconds to be ready for the next picture shoot. The V/Z1 usually takes 2-3 seconds. This is from community-based tests, but you can check the status of the camera yourself with _captureStatus and check to see if it is idle.

One way to set up your own _captureStatus check is with the state command.

State

<β€” camera.takePicture
----> response
<β€” POST /osc/state
----> response _captureStatus: shooting
<β€” POST /osc/state
----> response _captureStatus: shooting
<β€” POST /osc/state
----> response _captureStatus: shooting
<β€” POST /osc/state
----> response _captureStatus: shooting
<β€” POST /osc/state
----> response _captureStatus: idle
<β€” GET URL *URL = _LatestFileUrl of the state received immediately before

image

Hi Craig, Thanks for your response. That make sense now.

Thanks
Saleh

2 Likes