Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blxl909 opened this issue Jul 12, 2021 · 0 comments
Open

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

blxl909 opened this issue Jul 12, 2021 · 0 comments

Comments

@blxl909
Copy link

blxl909 commented Jul 12, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant