PythonAPI
PythonAPI copied to clipboard
Error of TypeError: argument of type 'bool' is not iterable
Hi,
I met an error when run LGSVL PythonAPI. The error happened when I called sim.run(0.04). The stack trace shows line 151 in simulator.py failed with this exception.
Trackback message here: sim.run(lgsvl_control_period) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/utils.py", line 23, in new_f return f(*args, **kwargs) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/simulator.py", line 107, in run self._process("simulator/run", {"time_limit": time_limit, "time_scale": time_scale}) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/simulator.py", line 151, in _process if "events" in j:
@zxydi1992 I believe there should be more to the stack trace than what you have provided here.