We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run the code in "Urban POMDP tutorial.ipynb", the following problem was encountered:
MethodError: no method matching measure(::PerfectSensor, ::Entity{VehicleState,VehicleDef,Int64}, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::Roadway{Float64}, ::Array{ConvexPolygon,1}) Closest candidates are: measure(::PerfectSensor, !Matched::AutomotiveSimulator.Entity, !Matched::AutomotiveSimulator.Scene, !Matched::AutomotiveSimulator.Roadway, !Matched::Array{AutomotiveSimulator.ConvexPolygon,1}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotiveSensors\fjrvI\src\perfect_sensor.jl:9
Stacktrace: [1] measure_gaussian(::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotivePOMDPs\0vhkx\src\generative_pomdps\urban\generative_model.jl:228 [2] gen(::DDNNode{:o}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotivePOMDPs\0vhkx\src\generative_pomdps\urban\generative_model.jl:222 [3] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:46 [inlined] [4] macro expansion at .\none:0 [inlined] [5] genout(::DDNOut{(:sp, :o, :r)}, ::DDNStructure{NamedTuple{(:s, :a, :sp, :o, :r),Tuple{InputDDNNode,InputDDNNode,DistributionDDNNode{typeof(transition)},DistributionDDNNode{typeof(observation)},FunctionDDNNode{typeof(reward)}}},NamedTuple{(:s, :a, :sp, :o, :r),Tuple{Tuple{},Tuple{},Tuple{DDNNode{:s},DDNNode{:a}},Tuple{DDNNode{:s},DDNNode{:a},DDNNode{:sp}},Tuple{DDNNode{:s},DDNNode{:a},DDNNode{:sp},DDNNode{:o}}}}}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::MersenneTwister) at .\none:0 [6] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:19 [inlined] [7] gen(::DDNOut{(:sp, :o, :r)}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:4 [8] iterate(::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Tuple{Int64,Frame{Entity{VehicleState,VehicleDef,Int64}},Nothing}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\stepthrough.jl:94 [9] iterate at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\stepthrough.jl:86 [inlined] [10] _collect(::UnitRange{Int64}, ::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Base.HasEltype, ::Base.SizeUnknown) at .\array.jl:614 [11] collect at .\array.jl:603 [inlined] [12] collect_history(::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Val{false}, ::Nothing) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\history_recorder.jl:185 [13] simulate(::HistoryRecorder, ::UrbanPOMDP, ::FunctionPolicy{var"#5#6"}, ::NothingUpdater, ::Nothing, ::Frame{Entity{VehicleState,VehicleDef,Int64}}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\history_recorder.jl:109 [14] macro expansion at .\util.jl:175 [inlined] [15] top-level scope at .\In[5]:6
My package version: [1385418a] AutoUrban v0.2.4 [82aa6e0c] AutoViz v0.7.10 [99497e54] AutomotiveDrivingModels v0.7.12 [dca8afc0] AutomotivePOMDPs v0.2.1 [9ec66b5e] AutomotiveSensors v0.2.0
The text was updated successfully, but these errors were encountered:
It is a version issue, regressing AutomotiveSensors to v0.1.0 should work.
I am leaving this issue open until I fix it in the Project.toml.
Any help in upgrading to AutomotiveSimulators would be welcome.
Sorry, something went wrong.
No branches or pull requests
When I run the code in "Urban POMDP tutorial.ipynb", the following problem was encountered:
MethodError: no method matching measure(::PerfectSensor, ::Entity{VehicleState,VehicleDef,Int64}, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::Roadway{Float64}, ::Array{ConvexPolygon,1})
Closest candidates are:
measure(::PerfectSensor, !Matched::AutomotiveSimulator.Entity, !Matched::AutomotiveSimulator.Scene, !Matched::AutomotiveSimulator.Roadway, !Matched::Array{AutomotiveSimulator.ConvexPolygon,1}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotiveSensors\fjrvI\src\perfect_sensor.jl:9
Stacktrace:
[1] measure_gaussian(::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotivePOMDPs\0vhkx\src\generative_pomdps\urban\generative_model.jl:228
[2] gen(::DDNNode{:o}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\AutomotivePOMDPs\0vhkx\src\generative_pomdps\urban\generative_model.jl:222
[3] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:46 [inlined]
[4] macro expansion at .\none:0 [inlined]
[5] genout(::DDNOut{(:sp, :o, :r)}, ::DDNStructure{NamedTuple{(:s, :a, :sp, :o, :r),Tuple{InputDDNNode,InputDDNNode,DistributionDDNNode{typeof(transition)},DistributionDDNNode{typeof(observation)},FunctionDDNNode{typeof(reward)}}},NamedTuple{(:s, :a, :sp, :o, :r),Tuple{Tuple{},Tuple{},Tuple{DDNNode{:s},DDNNode{:a}},Tuple{DDNNode{:s},DDNNode{:a},DDNNode{:sp}},Tuple{DDNNode{:s},DDNNode{:a},DDNNode{:sp},DDNNode{:o}}}}}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::MersenneTwister) at .\none:0
[6] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:19 [inlined]
[7] gen(::DDNOut{(:sp, :o, :r)}, ::UrbanPOMDP, ::Frame{Entity{VehicleState,VehicleDef,Int64}}, ::UrbanAction, ::MersenneTwister) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPs\0djkf\src\gen_impl.jl:4
[8] iterate(::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Tuple{Int64,Frame{Entity{VehicleState,VehicleDef,Int64}},Nothing}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\stepthrough.jl:94
[9] iterate at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\stepthrough.jl:86 [inlined]
[10] _collect(::UnitRange{Int64}, ::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Base.HasEltype, ::Base.SizeUnknown) at .\array.jl:614
[11] collect at .\array.jl:603 [inlined]
[12] collect_history(::POMDPSimulators.POMDPSimIterator{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),UrbanPOMDP,FunctionPolicy{var"#5#6"},NothingUpdater,MersenneTwister,Nothing,Frame{Entity{VehicleState,VehicleDef,Int64}}}, ::Val{false}, ::Nothing) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\history_recorder.jl:185
[13] simulate(::HistoryRecorder, ::UrbanPOMDP, ::FunctionPolicy{var"#5#6"}, ::NothingUpdater, ::Nothing, ::Frame{Entity{VehicleState,VehicleDef,Int64}}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPSimulators\3WSVG\src\history_recorder.jl:109
[14] macro expansion at .\util.jl:175 [inlined]
[15] top-level scope at .\In[5]:6
My package version:
[1385418a] AutoUrban v0.2.4
[82aa6e0c] AutoViz v0.7.10
[99497e54] AutomotiveDrivingModels v0.7.12
[dca8afc0] AutomotivePOMDPs v0.2.1
[9ec66b5e] AutomotiveSensors v0.2.0
The text was updated successfully, but these errors were encountered: