Git Product home page Git Product logo

pedestrianavoidancepomdp.jl's People

Contributors

markusschratter avatar maximebouton avatar mschratter avatar

Stargazers

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

Watchers

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

pedestrianavoidancepomdp.jl's Issues

getting started not complete for Package installation

[I am using julia v1.3]

I have followed the steps of the "getting started" section. I want to report two issues:

  • 1- One small issue was that julia> Pkg.Registry.add("https://github.com/sisl/Registry") caused ERROR: no path or url specified for registry. Instead, I did:
]
(v1.3) pkg> registry add https://github.com/sisl/Registry

After that, I launched the notebook:

julia> using Pkg
julia> Pkg.add("IJulia")
Julia> using IJulia
julia> notebook()

Finally, I run the first cell of http://localhost:8888/notebooks/Documents/PedestrianAvoidancePOMDP.jl/docs/PedestrianAvoidanceSystem_One_scenario.ipynb

  • 2- I got the following error:
- Run `import Pkg; Pkg.add("Revise")` to install the Revise package.


Stacktrace:
 [1] require(::Module, ::Symbol) at .\loading.jl:887
 [2] top-level scope at In[1]:1

I assume these dependencies should have been installed before (similar to some pip install -r requirements.txt in python).
And I guess this was done in the past but removed by the 42b07738ccc9783b1e985f64d4c480b3c2786931 commit (it removed many add).

The state space in paper.

Hey. In your paper, the state space is discretized. For example, the ego vehicle's velocity is discretized to 29. Why is the number 29? The velocity is 0km/h-50km/h. Do you mean divide this range into 29 copies?
Thank you!

Precompiled faild.

Hello! When I follow the instructions, every works fine. But in “using AutomotivePOMDPs" , I have encountered the following error. I reinstall the environment, change the Project.toml ' compat as the documentation in Project, there is no effect. How should I do?

┌ Info: Precompiling AutomotivePOMDPs [dca8afc0-c686-11e8-0934-712707da73aa]
└ @ Base loading.jl:1273
WARNING: Method definition set_source_rgba(Cairo.CairoContext, ColorTypes.RGB{T} where T<:Union{AbstractFloat, FixedPointNumbers.FixedPoint{T, f} where f where T<:Integer}) in module AutoViz at /home/ehtan/.julia/packages/AutoViz/YY1TN/src/rendermodels.jl:926 overwritten in module AutomotiveVisualization at /home/ehtan/.julia/packages/AutomotiveVisualization/7D1sT/src/render_instructions.jl:23.
** incremental compilation may be fatally broken for this module **
WARNING: Method definition set_source_rgba(Cairo.CairoContext, ColorTypes.TransparentColor{C, T, N} where N where T where C<:(ColorTypes.Color{T, N} where N where T)) in module AutoViz at /home/ehtan/.julia/packages/AutoViz/YY1TN/src/rendermodels.jl:939 overwritten in module AutomotiveVisualization at /home/ehtan/.julia/packages/AutomotiveVisualization/7D1sT/src/render_instructions.jl:36.
** incremental compilation may be fatally broken for this module **

WARNING: Method definition set_source_rgba(Cairo.CairoContext, ColorTypes.Colorant{T, N} where N where T, ColorTypes.Colorant{T, N} where N where T, Real) in module AutoViz at /home/ehtan/.julia/packages/AutoViz/YY1TN/src/rendermodels.jl:948 overwritten in module AutomotiveVisualization at /home/ehtan/.julia/packages/AutomotiveVisualization/7D1sT/src/render_instructions.jl:45.
** incremental compilation may be fatally broken for this module **

ERROR: LoadError: LoadError: UndefVarError: n_observations not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./Base.jl:13
[2] top-level scope at /home/ehtan/.julia/packages/AutomotivePOMDPs/0vhkx/src/explicit_pomdps/single_crosswalk/spaces.jl:100
[3] include at ./boot.jl:328 [inlined]
[4] include_relative(::Module, ::String) at ./loading.jl:1105
[5] include at ./Base.jl:31 [inlined]
[6] include(::String) at /home/ehtan/.julia/packages/AutomotivePOMDPs/0vhkx/src/AutomotivePOMDPs.jl:1
[7] top-level scope at /home/ehtan/.julia/packages/AutomotivePOMDPs/0vhkx/src/AutomotivePOMDPs.jl:164
[8] include at ./boot.jl:328 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:1105
[10] include(::Module, ::String) at ./Base.jl:31
[11] top-level scope at none:2
[12] eval at ./boot.jl:330 [inlined]
[13] eval(::Expr) at ./client.jl:425
[14] top-level scope at ./none:3
in expression starting at /home/ehtan/.julia/packages/AutomotivePOMDPs/0vhkx/src/explicit_pomdps/single_crosswalk/spaces.jl:100
in expression starting at /home/ehtan/.julia/packages/AutomotivePOMDPs/0vhkx/src/AutomotivePOMDPs.jl:164

AutoViz import fails

[I am using julia v1.3 on Windows]

I added AutoViz as follows (since it complained it was not here despite following the "getting started" instruction ArgumentError: Package AutoViz not found in current path):
julia> import Pkg; Pkg.add("AutoViz")

Then, running http://localhost:8889/notebooks/Documents/PedestrianAvoidancePOMDP.jl/docs/PedestrianAvoidanceSystem_One_scenario.ipynb promts:

┌ Info: Precompiling AutoViz [82aa6e0c-a491-5edf-8d4b-c16b98e4ea17]
└ @ Base loading.jl:1273
ERROR: LoadError: LoadError: LoadError: 8-digit and 4-digit hex notations are not supported yet.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] _parse_colorant(::String) at C:\Users\simon.chauvin\.julia\packages\Colors\P2rUx\src\parse.jl:70
 [3] _parse_colorant at C:\Users\simon.chauvin\.julia\packages\Colors\P2rUx\src\parse.jl:143 [inlined]
 [4] parse(::Type{ColorTypes.Colorant}, ::String) at C:\Users\simon.chauvin\.julia\packages\Colors\P2rUx\src\parse.jl:181
 [5] @colorant_str(::LineNumberNode, ::Module, ::Any) at C:\Users\simon.chauvin\.julia\packages\Colors\P2rUx\src\parse.jl:192
 [6] include at .\boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at .\loading.jl:1105
 [8] include at .\Base.jl:31 [inlined]
 [9] include(::String) at C:\Users\simon.chauvin\.julia\packages\AutoViz\p5jgm\src\AutoViz.jl:3
 [10] top-level scope at C:\Users\simon.chauvin\.julia\packages\AutoViz\p5jgm\src\AutoViz.jl:44
 [11] include at .\boot.jl:328 [inlined]
 [12] include_relative(::Module, ::String) at .\loading.jl:1105
 [13] include(::Module, ::String) at .\Base.jl:31
 [14] top-level scope at none:2
 [15] eval at .\boot.jl:330 [inlined]
 [16] eval(::Expr) at .\client.jl:425
 [17] top-level scope at .\none:3
in expression starting at C:\Users\simon.chauvin\.julia\packages\AutoViz\p5jgm\src\colorscheme.jl:2
in expression starting at C:\Users\simon.chauvin\.julia\packages\AutoViz\p5jgm\src\colorscheme.jl:1
in expression starting at C:\Users\simon.chauvin\.julia\packages\AutoViz\p5jgm\src\AutoViz.jl:44

Failed to precompile AutoViz [82aa6e0c-a491-5edf-8d4b-c16b98e4ea17] to C:\Users\simon.chauvin\.julia\compiled\v1.3\AutoViz\w0rHu_2wAnj.ji.

Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
 [3] _require(::Base.PkgId) at .\loading.jl:1024
 [4] require(::Base.PkgId) at .\loading.jl:922
 [5] require(::Module, ::Symbol) at .\loading.jl:917
 [6] top-level scope at In[4]:3

Install the package and its dependencies error

when I Pkg.add("PedestrianAvoidancePOMDP"), It's has error
ERROR: Unsatisfiable requirements detected for package PedestrianAvoidancePOMDP [a80ff0fe]:
PedestrianAvoidancePOMDP [a80ff0fe] log:
├─PedestrianAvoidancePOMDP [a80ff0fe] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left

can you help me

using AutomotivePOMDPs error

I have Pkg.add("AutomotivePOMDPs"), it‘s ok
julia> Pkg.add("AutomotivePOMDPs")
Resolving package versions...
Updating ~/.julia/environments/v1.3/Project.toml
[no changes]
Updating ~/.julia/environments/v1.3/Manifest.toml
[no changes]

when I using AutomotivePOMDPs,It's error
julia> using AutomotivePOMDPs
[ Info: Precompiling AutomotivePOMDPs [dca8afc0-c686-11e8-0934-712707da73aa]
ERROR: LoadError: LoadError: UndefVarError: SceneRecord not defined
Stacktrace:
[1] top-level scope at /home/ren/.julia/packages/AutoUrban/27yQZ/src/actions.jl:72
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1105
[4] include at ./Base.jl:31 [inlined]
[5] include(::String) at /home/ren/.julia/packages/AutoUrban/27yQZ/src/AutoUrban.jl:3
[6] top-level scope at /home/ren/.julia/packages/AutoUrban/27yQZ/src/AutoUrban.jl:18
[7] include at ./boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1105
[9] include(::Module, ::String) at ./Base.jl:31
[10] top-level scope at none:2
[11] eval at ./boot.jl:330 [inlined]
[12] eval(::Expr) at ./client.jl:425
[13] top-level scope at ./none:3
in expression starting at /home/ren/.julia/packages/AutoUrban/27yQZ/src/actions.jl:72
in expression starting at /home/ren/.julia/packages/AutoUrban/27yQZ/src/AutoUrban.jl:18
ERROR: LoadError: Failed to precompile AutoUrban [1385418a-9289-5a49-ab93-843b508de4cb] to /home/ren/.julia/compiled/v1.3/AutoUrban/XNcPh_PKn8S.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ren/.julia/packages/AutomotivePOMDPs/0vhkx/src/AutomotivePOMDPs.jl:16
ERROR: Failed to precompile AutomotivePOMDPs [dca8afc0-c686-11e8-0934-712707da73aa] to /home/ren/.julia/compiled/v1.3/AutomotivePOMDPs/L1lsd_PKn8S.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] eval(::Module, ::Any) at ./boot.jl:330
[7] eval_user_input(::Any, ::REPL.REPLBackend) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:86
[8] run_backend(::REPL.REPLBackend) at /home/ren/.julia/packages/Revise/Pcs5V/src/Revise.jl:1073
[9] top-level scope at REPL[41]:0

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.