Skip to content

Buffers lenght are not equal using get #22

@LaurentBerger

Description

@LaurentBerger

Hi,
In color Hue Saturation value on Iphone using a get with update mode = full (REST API) data lenght in same JSON answers buffer length for t, h ,v and s are not equal after N request. Value of is random.
In this screen copy numpy shape for buffer t, h s and v are printed. Everything is fined at the beginning (from 1 to 7 line) but for line 8 last buffer size 1149 and the other buffer 1148 :

{'build': '17272', 'depthFrontSensor': '1', 'fileFormat': '1.19', 'depthBackResolution': None, 'depthFrontResolution': None, 'depthBackRate': None, 'depthBackSensor': '1', 'deviceBaseOS': None, 'depthFrontRate': None, 'deviceBrand': 'Apple', 'deviceModel': 'iPhone13,4', 'version': '1.2.0', 'deviceManufacturer': None, 'deviceBoard': None, 'deviceCodename': None, 'deviceRelease': '18.6.1'}
{'crc32': '558d65ae', 'localCategory': 'Caméra', 'export': [{'set': 'Data', 'sources': [{'label': 't', 'buffer': 't'}, {'buffer': 'h', 'label': 'hue (°)'}, {'label': 'saturation', 'buffer': 's'}, {'label': 'value', 'buffer': 'v'}, {'label': 'Shutter Speed (s)', 'buffer': 'shutterSpeed'}, {'label': 'Aperture (f/N)', 'buffer': 'aperture'}, {'buffer': 'iso', 'label': 'ISO'}]}], 'category': 'Camera', 'localTitle': 'Color (Hue Saturation Value)', 'title': 'Color (Hue Saturation Value)', 'buffers': [{'name': 'lastPeriods', 'size': 0}, {'name': 'iso', 'size': 0}, {'name': 'framePeriod', 'size': 1}, {'name': 'frameRate', 'size': 1}, {'name': 'h', 'size': 0}, {'size': 0, 'name': 'shutterSpeed'}, {'size': 0, 'name': 'exposure'}, {'name': 'lastTimes', 'size': 5}, {'size': 0, 'name': 'v'}, {'size': 0, 'name': 'aperture'}, {'name': 's', 'size': 0}, {'size': 0, 'name': 't'}], 'inputs': []}
Shape :  (66,) (66,) (66,) (66,)
Shape :  (189,) (189,) (189,) (189,)
Shape :  (290,) (290,) (290,) (290,)
Shape :  (426,) (426,) (426,) (426,)
Shape :  (549,) (549,) (549,) (549,)
Shape :  (692,) (692,) (692,) (692,)
Shape :  (1010,) (1010,) (1010,) (1010,)
Shape :  (1148,) (1148,) (1148,) (1149,)

Full data with json answer for meta config and get

nouveau 2.txt

There is no problem using phyphox-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions