Skip to content

Error of TypeError: argument of type 'bool' is not iterable #51

@zxydi1992

Description

@zxydi1992

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions