Skip to content

Error on latest run: Failed to launch TestCase runtime #47

Open
@blxl909

Description

@blxl909

Hello, when I create the runtime template of python API, (MAP:CubeTown, Vehicel:Lincoln2017MKZ),with the default code :

from environs import Env
import lgsvl

env = Env()

LGSVL__SIMULATOR_HOST = env.str("LGSVL__SIMULATOR_HOST", "127.0.0.1")
LGSVL__SIMULATOR_PORT = env.int("LGSVL__SIMULATOR_PORT", 8181)
LGSVL__AUTOPILOT_0_HOST = env.str("LGSVL__AUTOPILOT_0_HOST", "127.0.0.1")
LGSVL__AUTOPILOT_0_PORT = env.int("LGSVL__AUTOPILOT_0_PORT", 9090)

sim = lgsvl.Simulator(LGSVL__SIMULATOR_HOST, LGSVL__SIMULATOR_PORT)
sim.load(env.str("LGSVL__MAP"))

egoState = lgsvl.AgentState()
ego = sim.add_agent(env.str("LGSVL__VEHICLE_0"), lgsvl.AgentType.EGO, egoState)

sim.run(30.0)

I get the error Error on latest run: Failed to launch TestCase runtime, how can I fix that?

By the way, when I use API Only,(05-ego-drive-in-circle), when I press the enter button ,I can just control the camera movement,but the vehicel can't move ,how can I deal with it?

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