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

CarlaDataProvider information when vehicles are spawned from different process. #27

Closed
Daraan opened this issue Jun 28, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request priority : low wontfix This will not be worked on

Comments

@Daraan
Copy link
Owner

Daraan commented Jun 28, 2024

The agent relies on information from the scenario_runner's CarlaDataProvider, i.e spawned actors are registered and tracked there.
However, when this spawning is done by a different process, i.e. a different CarlaDataProvider, the agent is not aware of these actors.

Solution gather all actors from the simulator from time to time. For performance reason do this with a flag.
Open question, how to prevent a wrong flag: performance degradation / wrong actor information.

@Daraan Daraan added the wontfix This will not be worked on label Jul 18, 2024
@Daraan
Copy link
Owner Author

Daraan commented Jul 18, 2024

This is an open issue: carla-simulator/scenario_runner#1079

One could retrieve all actors and add it to the CDP. An additional config flag could be added to check for new actors and include them in each local CDP instance for now.

Idea instead of getting all actors every tick, maybe some message/signal passing can be implemented.

# Low Priority to fix here

@Daraan Daraan added duplicate This issue or pull request already exists enhancement New feature or request labels Jul 18, 2024
@Daraan Daraan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request priority : low wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant