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

Hardcoded VEHICLE_ID #5

Open
ebadi opened this issue May 11, 2022 · 5 comments
Open

Hardcoded VEHICLE_ID #5

ebadi opened this issue May 11, 2022 · 5 comments

Comments

@ebadi
Copy link
Owner

ebadi commented May 11, 2022

As you seen in https://github.com/ebadi/ScenarioGenerator/blob/master/Simulation.py, the following vehicle ID is hard coded.

EGO_VEHICLE_ID = "8d60a6ac-65a4-4bc5-8fc5-870156b6608f"

I am not sure if the configuration that I made in https://wise.svlsimulator.com is accessible to other users. The process is described in the presentation (see below). Please watch these videos.
http://av-test-challenge.org/meetings.html

  1. create a new Lincoln2017MKZ vehicle

  2. update your configuration using web interface(see the video). Have in mind that your configuration file may be different from mine.
    Lincoln2017MKZ_config.json

  3. extract your unique vehicle ID:
    image

Click on ID
image

@JasonBourne1998
Copy link

As you seen in https://github.com/ebadi/ScenarioGenerator/blob/master/Simulation.py, the following vehicle ID is hard coded.

EGO_VEHICLE_ID = "8d60a6ac-65a4-4bc5-8fc5-870156b6608f"

I am not sure if the configuration that I made in https://wise.svlsimulator.com is accessible to other users. The process is described in the presentation (see below). Please watch these videos. http://av-test-challenge.org/meetings.html

  1. create a new Lincoln2017MKZ vehicle
  2. update your configuration using web interface(see the video). Have in mind that your configuration file may be different from mine.
    Lincoln2017MKZ_config.json
  3. extract your unique vehicle ID:
    image

Click on ID image

Hi @ebadi , thanks for your reply. But I have one more question with your configuration. I notice that there is neither lidar nor ridar in the sensor list, so how could you detect the pedestrain in your dreamview?
image

@ebadi
Copy link
Owner Author

ebadi commented May 12, 2022

Please watch the video. It was the configuration that the competition requested us to use.

@JasonBourne1998
Copy link

Please watch the video. It was the configuration that the competition requested us to use.

Thanks! another question :), when the collison happen, and I want to replay the collision, so I input the noise vector and corresponding json result to the replay.sh, but the collision did not happen again in simulator. I think it is maybe caused by the unstable of the dreamview? Have you solved the replay collision problem?

image
image

@ebadi
Copy link
Owner Author

ebadi commented May 13, 2022

We had the same issue, and we reported this.
See lgsvl/simulator#1548.
@JasonBourne1998 Please open a new issue if your question is not related to the main topic of the issue. This makes it easier for other to find their answers as well. Thanks

@GiantSeaweed
Copy link

GiantSeaweed commented Feb 7, 2023

Please watch the video. It was the configuration that the competition requested us to use.

This link seems broken. Anywhere else to watch those videos?

Currently I am stuck on correctly loading the config file for sensors. Thanks!

Specifically, I just changed the hard-coded EGO ID. And my error msg is:

Traceback (most recent call last):
  File "/home/feng292/ScenarioGenerator/Simulation.py", line 257, in execute
    self.initiate_simulator()
  File "/home/feng292/ScenarioGenerator/Simulation.py", line 201, in initiate_simulator
    self.agents[ego_indx] = self.sim.add_agent(EGO_VEHICLE_ID, lgsvl.AgentType.EGO, self.init_ego_state )
  File "/home/feng292/PythonAPI/lgsvl/utils.py", line 23, in new_f
    return f(*args, **kwargs)
  File "/home/feng292/PythonAPI/lgsvl/simulator.py", line 164, in add_agent
    uid = self.remote.command("simulator/add_agent", args)
  File "/home/feng292/PythonAPI/lgsvl/remote.py", line 69, in command
    raise Exception(data["error"])
Exception: Issue loading sensor type CanBusSensor for gameobject Lincoln2017MKZ check logs

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

3 participants