Skip to content

Problem adding NPC vehicle into the simulation #10

@AlamHasabie

Description

@AlamHasabie

Hi,

I'm trying to migrate from LGSVL to OSSDC. A quick run of this quickstart script (08-create-npc.py) produces the following error :
Python API Quickstart #8: Creating various NPCs Traceback (most recent call last): File "08-create-npc.py", line 38, in <module> sim.add_agent(name, lgsvl.AgentType.NPC, state) File "/Users/nurhasabie/Documents/lgsvl-venv/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/utils.py", line 23, in new_f File "/Users/nurhasabie/Documents/lgsvl-venv/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/simulator.py", line 164, in add_agent File "/Users/nurhasabie/Documents/lgsvl-venv/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/remote.py", line 69, in command Exception: Object reference not set to an instance of an object

It seems to be related to this issue : lgsvl/simulator#1336 .I've tried to add the missing NPCs and Pedestrians folder into both the AssetBundles and 2021.3-ossdc sim, but the issue does not resolve. Does anyone know how to resolve the problem ? Thanks !

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