Notebook in LaserTag.jl not running?

5 views
Skip to first unread message

jacques.d...@gmail.com

unread,
Dec 7, 2017, 11:02:21 PM12/7/17
to julia-pomdp-users
Hi,

This notebook in LaserTag.jl seems to be failing. This may be another Julia version issue. The notebook is versioned for 0.5. If I try to run the second cell with Julia 0.6, I get the error below.

MethodError: no method matching LaserTag.LaserTagPOMDP{LaserTag.DESPOTEmu,MVector{8,Int64}}(; floor=LaserTag.Floor(7, 11), obstacles=Set(SVector{2,Int64}[[11, 3], [9, 2], [6, 3], [9, 1], [1, 6], [9, 7], [11, 1], [3, 4]]), robot_init=[11, 3], obs_model=LaserTag.DESPOTEmu(2.5, LaserTag.ReadingCDF([1.0 1.0 … 1.0 1.0; 0.689157 1.0 … 1.0 1.0; … ; 0.000318217 0.00137428 … 1.0 1.0; 6.33425e-5 0.000318217 … 1.0 1.0], [0.868405 1.0 … 1.0 1.0; 0.464553 0.740364 … 1.0 1.0; … ; 0.00275244 0.00948354 … 1.0 1.0; 0.00037114 0.00157879 … 1.0 1.0])), reading_std=2.5)

Stacktrace:
 [1] (::Core.#kw#Type)(::Array{Any,1}, ::Type{LaserTag.LaserTagPOMDP{LaserTag.DESPOTEmu,MVector{8,Int64}}}) at ./<missing>:0
 [2] #gen_lasertag#11(::MersenneTwister, ::Set{SVector{2,Int64}}, ::LaserTag.DESPOTEmu, ::Array{Any,1}, ::Function, ::Int64, ::Int64) at /Users/jacquesdechalendar/Box Sync/Stanford Ed/AA228/project/gallery/LaserTag.jl/src/problem_gen.jl:73
 [3] (::LaserTag.#kw##gen_lasertag)(::Array{Any,1}, ::LaserTag.#gen_lasertag, ::Int64, ::Int64) at ./<missing>:0 (repeats 2 times) 
[4] include_string(::String, ::String) at ./loading.jl:515 

Zachary Sunberg

unread,
Dec 8, 2017, 2:26:28 AM12/8/17
to julia-pomdp-users
Thanks for reporting this. Should be fixed now. There are probably a lot of small things that don't work in the periferal packages as I usually just experiment with them and don't maintain all the parts. For small package-specific bugs like this, it's probably best to file it as an issue on the github page for that package btw :)
Reply all
Reply to author
Forward
0 new messages