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

Create a visualize helper function #7

Open
exoticDFT opened this issue Sep 18, 2020 · 0 comments
Open

Create a visualize helper function #7

exoticDFT opened this issue Sep 18, 2020 · 0 comments
Assignees
Labels
Comp: ADM AutonomousDrivingModels related components Comp: Julia Julia related components

Comments

@exoticDFT
Copy link
Owner

Create a "visualize" helper function that passes the scenes to visualize, a timestep in which the scenes were generated and any mapping from Entity.id to Carla id if necessary. Something like

visualize(scenes:` List, timestep: double, entity_map: Dict{Any, Int})
    for i = 1 : length(scenes)
        start_time = Now()
        scene = scenes[i]
        update_world(carla_world, scene, entity_map, handiness)
        sleep(start_time + timestep - Now())
   end
@exoticDFT exoticDFT added Comp: Julia Julia related components Comp: ADM AutonomousDrivingModels related components labels Sep 18, 2020
@exoticDFT exoticDFT self-assigned this Sep 18, 2020
exoticDFT added a commit that referenced this issue Sep 18, 2020
- Creates a helper function in the autosim_utils module to visualize pre-made scenes calculated during an AS simulation on the connected Carla server.
- Adds the new helper function to the Julia project.
- Imports Dates in the main Julia project.
- Adds Dates to the project.toml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp: ADM AutonomousDrivingModels related components Comp: Julia Julia related components
Projects
None yet
Development

No branches or pull requests

1 participant