I have implement a program in python that create a spreadsheet as ZED Sensor Viewer already does when it records sensors data. I have a ZED2i camera.
I checked out the documentation but I couldn’t solve my problems.
I have troubles with these data:
- sensors TEMPERATURE. I’m actually doing so:
tLeft = sl.SensorsData().get_temperature_data().get(ONBOARD_LEFT) tRight = sl.SensorsData().get_temperature_data.get(ONBOARD_RIGHT) tImu = sl.SensorsData().get_temperature_data().get(IMU) tBar = sl.SensorsData().get_temperature_data(BAROMETER)
My problem is that
get_temperature_data requires one argument of type
SENSOR_LOCATION and I don’t understand how to do this.
- reading the documentation it was really difficult to understand that to get human readable timestamp (instead of
<pyzed.sl.Timestamp object at 0x000001DA06AD3B50>) I had to specify the format. for example
.data_ns. But now I solved this.