PythonAPI icon indicating copy to clipboard operation
PythonAPI copied to clipboard

Python API for Simulator

Results 32 PythonAPI issues
Sort by recently updated
recently updated
newest added

When I try to run test cases in `examples/NHTSA-sample-tests/Encroaching-Oncoming-Vehicles/` directory I get error messages in this format: EOV_S_XX_YY - FAILED: TestException('POV1 speed exceeded limit, 29.3319702148438 > 12.889 m/s',) And as...

Hi guys, I am new to use the python script of the simulator. Can anyone tell me how to get the exact position of waypoints on the map to put...

Hi, LG Electronics team, I'm handling an issue in [autoware.auto](https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/merge_requests/916). It uses this PythonAPI to control vehicles. To easily provide dependencies for source code users, we hope to use rosdep...

How can I get current_scene_id ? I was trying `02-loading-scene-show-spawns.py`

Hi There, I am Looking for a possibility to stop a NPC which is following a lane with the function: follow_closest_lane. I don't want to use follow Waypoints because the...

![image](https://user-images.githubusercontent.com/53608571/106479929-cfb58400-64e5-11eb-865a-a381605adc2a.png) Here is my code !!!!! ```python #!/usr/bin/env python3 # from environs import Env import lgsvl import os env = Env() def on_waypoint(agent, index): print("waypoint {} reached".format(index)) sim = lgsvl.Simulator(env.str("LGSVL__SIMULATOR_HOST",...

Hey, I'm trying to create a custom controllable based on the TrafficCone example. I can create and export successfully the controllable. It even worked the first time. However, after editing...

Hi, I am having troubles at connecting the simulator to Apollo 5.0 by means of Python API. I typed "ego.connect_bridge("localhost", 9090)" in order to connect the bridge and if I...

Hi, I want to get the traffic light's state while simulation is running. But I can't find a way to add_callback to controllable. How can I get controllable's state while...

lgsvl.get_controllables api requesting parameter mistake https://github.com/lgsvl/simulator/blob/2020.05/Assets/Scripts/Api/Commands/ControllableGetAll.cs#L23 Simulator implementd requesting "control_type" value but python api send "type" https://github.com/lgsvl/PythonAPI/blob/2020.05/lgsvl/simulator.py#L274 sorry_ for my poor english

bug