I am trying to get the samples on global localization working but I am getting some errors:
on live.py for example I get
File "/usr/local/zed/samples/global localization/live/python/gnss_reader/gpsd_reader.py", line 109, in getNextGNSSValue
for satellite in gpsd_data['satellites']:
KeyError: 'satellites'
I solved this by adding a control for the key satellite existing.
On the recording I get a different error.
File “/usr/local/zed/samples/global localization/recording/python/exporter/gnss_saver.py”, line 43, in addGNSSData
data.set_content(convert_gnss_data_2_json(gnss_data))
AttributeError: ‘pyzed.sl.SVOData’ object has no attribute ‘set_content’
I saw in the python api docs that the function should be set_string_content but I can’t find how I should use this function.
Are the sample still bugged or am I missing smth? is there specific a version of PyOpenGl I should have? (mine is 3.1.5)