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

Replace the vehicle #80

Open
CoderXuans opened this issue Oct 7, 2024 · 5 comments
Open

Replace the vehicle #80

CoderXuans opened this issue Oct 7, 2024 · 5 comments

Comments

@CoderXuans
Copy link

@deepcs233
I want to replace the ego vehicle with an unmanned boat during evaluation. Should I make changes from both aspects: the code and the simulation?

@deepcs233
Copy link
Collaborator

I think you should modify the Carla simulator to support this feature:) The code may just need a little modification.

@CoderXuans
Copy link
Author

@deepcs233
I successfully changed the ground material on the CARLA server side and then ran the evaluation script on the CARLA client. However, I am not sure if replacing the ego vehicle should also be done on the CARLA server side.

@CoderXuans
Copy link
Author

In other words, from the BEV perspective, the ego vehicle currently appears as a black car. If I could change the color of the ego vehicle when running the evaluation code in the CARLA client, I feel that it would be easier to switch the ego vehicle to a ship.

@CoderXuans
Copy link
Author

@deepcs233
Where are the ego vehicle and other vehicles on the road added when running the evaluation code leaderboard_evaluator.py?

@deepcs233
Copy link
Collaborator

Hi!
You can try to modify this function:

def _prepare_ego_vehicles(self, ego_vehicles, wait_for_ego_vehicles=False):

, which is used to spawn the ego vehicle.

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

2 participants