You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error from python from one of the example scripts to retrieve an parameter update. This is on Windows 11 with python 3.10 with the latest version of the cflib
$ python .\examples\tuning\PID_controller_tuner.py
Waiting for estimator to find position...
update info
velCtlPid.z
velCtlPid.zKp
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\lib\tkinter\__init__.py", line 3977, in __call__
self.__callback(self.__value, *args)
File "C:\Users\kimbe\Development\bitcraze\python\crazyflie-lib-python\examples\tuning\PID_controller_tuner.py", line 315, in change_param_unit_callback
self.cf.param.request_param_update(
File "c:\users\kimbe\development\bitcraze\python\crazyflie-lib-python\cflib\crazyflie\param.py", line 293, in request_param_update
self.param_updater.request_param_update(
File "c:\users\kimbe\development\bitcraze\python\crazyflie-lib-python\cflib\crazyflie\param.py", line 632, in request_param_update
pk.data = struct.pack('<H', var_id)
struct.error: required argument is not an integer
The text was updated successfully, but these errors were encountered:
This is an error only in the tuning script, as it's logic is written in a sense that it is not able to handle an extra letter to the parametername. So this is an error that happens if a script is trying to get an update from a parameter that does not exist.
I'm getting an error from python from one of the example scripts to retrieve an parameter update. This is on Windows 11 with python 3.10 with the latest version of the cflib
The text was updated successfully, but these errors were encountered: