Closed sgorsh closed 1 month ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
Any update about this?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
Preliminary Checks
Description
I tested SDK tutorial 7, and I get invalid data from the sensors. On this line: https://github.com/stereolabs/zed-sdk/blob/b30caa96b443ac0d4e77bf67eb7c8023d2b96bb5/tutorials/tutorial%207%20-%20sensor%20data/cpp/main.cpp#L123
sensors_data
looks like this:Barometer timestamp looks OK (current timestamp starts with
0x17D46
), other timestamps and numbers looks invalid. Booleans are also incorrect (> 1).Sensors are working OK in ZED Sensor Viewer.
Steps to Reproduce
Expected Result
Correct data and timestamps returned by
getSensorsData
Actual Result
Incorrect data and timestamps returned by
getSensorsData
ZED Camera model
ZED2i
Environment
Anything else?
Might be related to https://github.com/stereolabs/zed-sdk/issues/567
I suspect offsets or struct padding inside SensorsData in Camera.hpp are incorrect or
getSensorsData
writes to invalid offsets. If whole struct is dumped, I can see 3 valid timestamps inside: