Giter Site home page Giter Site logo

adversarialdriving.jl's People

Contributors

ancorso avatar ll7 avatar mossr avatar mykelk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

adversarialdriving.jl's Issues

How to detect collision or failure

when we run simulation like "hist = POMDPSimulators.simulate(HistoryRecorder(), mdp, FunctionPolicy((s) -> null_action))"

Is there any parameter, through which we can detect whether collision or failure has happened or not?

POMDPSimulation's Sampler Issue

I'm receiving the following stack trace when I try to run any of the examples.

julia> include("examples/ped_crosswalk.jl") ERROR: LoadError: ArgumentError: Sampler for this object is not defined Stacktrace: [1] Random.Sampler(::Type{Random.MersenneTwister}, ::Random.SamplerTrivial{AutomotiveSimulator.Scene{AutomotiveSimulator.Entity{S,AutomotiveSimulator.VehicleDef,Int64} where S},Any}, ::Val{1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:145 [2] Random.Sampler(::Random._GLOBAL_RNG, ::Random.SamplerTrivial{AutomotiveSimulator.Scene{AutomotiveSimulator.Entity{S,AutomotiveSimulator.VehicleDef,Int64} where S},Any}, ::Val{1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:139 [3] rand(::Random._GLOBAL_RNG, ::Random.SamplerTrivial{AutomotiveSimulator.Scene{AutomotiveSimulator.Entity{S,AutomotiveSimulator.VehicleDef,Int64} where S},Any}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:253 (repeats 2 times) [4] simulate(::HistoryRecorder, ::AdversarialDrivingMDP, ::FunctionPolicy{var"#23#24"}) at /Users/BP/.julia/packages/POMDPSimulators/giDMN/src/history_recorder.jl:137 [5] top-level scope at /Users/BP/Repos/AdversarialDriving.jl/examples/ped_crosswalk.jl:13 [6] include(::String) at ./client.jl:439 [7] top-level scope at none:0 in expression starting at /Users/BP/Repos/AdversarialDriving.jl/examples/ped_crosswalk.jl:13

I've tried specifying the max_step to maybe push through the issue in POMDPSimulation but that doesn't seem to work. I'm new to Julia so maybe I'm missing something or need to force a fresh compilation?

Sampler for this object is not defined

Hi,

I am trying to run the current repo for example in pedestrians crosswalk. After installing all the packages, I am getting this error.

error

The issue has been raised before but is closed now. Any help would be appreciated
Thanks.

Add tracking of out-of-lane entities

Currently, if a vehicle has right of way it will not stop for vehicles in front of it. We should augment the IDM tracker to include vehicles that are not in the same lane and do not have right of way

Problem in running Tintersection.jl

When I run Tintersection.jl (one of the examples), it seems that just one car is simulated. In the code there are five cars, one of which is the sut; however when I execute the whole script, just one car moves from left to right and other agents are seemed to be ignored.
Here is the gif output file after execution:
Tint_failure

It seems that other examples work without problem in my system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.