Today we are releasing Structure SDK (for iOS) 0.10.2. This update fixes an issue where Mark II units would incorrectly report that the battery needed charging at 60% charge, as well as including stability updates to reduce situations where the applications would freeze on sensor disconnect.
Please note – this update is a targeted patch on top of the Structure SDK (for iOS) 0.10.1 release. If you’re upgrading from an earlier version (0.10 or earlier) be sure to read the 0.10.1 notes on the HERE. Special steps are required for apps built on 0.10.1 and above when submitting to the app store.
MARK II BATTERY CHARGE NOW CORRECTLY REPORTING
Structure SDK (for iOS) 0.10.2 now accurate handles battery state checking on Structure Sensor Mark II. The SDK no longer incorrectly reports that the battery needs charging when your Mark II battery is at 60% or below. This update will significantly extend the battery life on Mark II sensors.
APP FREEZING DUE TO sensorDidDisconnect BUG RESOLVED
This update resolves an issue where sensorDidDisconnect
was not being properly signalled in both the STSensorController
and STCaptureSession
with Structure Sensor Mark II. This bug would cause applications to freeze or crash when the sensor disconnected. Now apps will be properly signalled when a Structure Sensor Mark II device disconnects from the host iOS device.
STDepthFrame API CHANGES
Structure SDK (for iOS) 0.10.2 adds a new API to STDepthFrame
, namely iOSColorFromDepthExtrinsics
. Deprecated colorCameraPoseInDepthCoordinateFrame:
in STDepthFrame
and colorCameraPoseInSensorCoordinateFrame
: in STSensorController
. While these methods will be supported for the time being (as they are required in configurations that use hardware registered depth, which has been deprecated for some time), in future versions of the SDK we plan to remove them along with hardware registered depth configurations. We hope this new API helps developers by making the current color from depth extrinsics clearer.
REMOVED CoreBluetooth AS A DEPENDENCY
Certain apps built on 0.10.1 were rejected during the App Store submission process due to Missing Purpose String in Info.plist
. We have removed CoreBluetooth as a dependency, and apps build on 0.10.2 will no longer trigger auto trigger rejections from the App Store for this reason.
Do not hesitate to reach out to us at developers@occipital.com if there is any confusion with regards to moving over. We have likewise updated our sample apps to accommodate these new changes.