Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - njwitthoeft

Pages: [1]
1
Python and Java API / Re: Unable to modify sensor.user_calib
« on: November 08, 2021, 09:58:22 PM »
My temporary solution is simple enough, copy the calibration object and modify, then assign user_calib to the new calibration object.


calib = sensor.user_calib.copy()
calib.f = 1000
sensor.user_calib = calib

2
Python and Java API / Unable to modify sensor.user_calib
« on: November 08, 2021, 09:50:06 PM »
Hello,

I am working in the python API, and I have typically been able to assign values to parameters of sensors. I am unable to set the user_calib.f parameter in the python API. Is there a workaround or alternative method for setting an initial estimate? I've attached the console output.

>>> chunk.sensors[0].user_calib.f
2021-11-08 12:46:18 3483.8709660000004
>>> chunk.sensors[0].user_calib.f = 10
>>> chunk.sensors[0].user_calib.f
2021-11-08 12:46:22 3483.8709660000004

Pages: [1]