You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @pilgrimygy sorry about the error - this is frustrating. Currently LaserTag uses latex to render images, and it appears that there is a problem with the latex rendering.
You should be able to run simulations fine, but rendering may not work.
When I run the code:
using LaserTag
using POMDPGifs
using QMDP
using Random
using ParticleFilters
rng = MersenneTwister(7)
m = gen_lasertag(rng=rng, robot_position_known=true)
policy = solve(QMDPSolver(verbose=true), m)
filter = SIRParticleFilter(m, 10000, rng=rng)
@show makegif(m, policy, filter, filename="out.gif", rng=rng)
I encountered this problem, and I can't solve it. Could you give me a hand?
!LuaTeX error (file C:/CTEX/CTeX/fonts/sfd/Unicode.sfd): invalid range:
_0xFFFF
==> Fatal error occurred, no output PDF file produced!
ERROR: LoadError: LaTeX error
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] (::TikzPictures.var"#6#7"{TikzPictures.PDF,TikzPictures.TikzPicture,String})() at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\TikzPictures\QJ62d\src\TikzPictures.jl:264
[3] cd(::TikzPictures.var"#6#7"{TikzPictures.PDF,TikzPictures.TikzPicture,String}, ::String) at .\file.jl:93
[4] save(::TikzPictures.PDF, ::TikzPictures.TikzPicture) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\TikzPictures\QJ62d\src\TikzPictures.jl:208
[5] show(::IOStream, ::MIME{Symbol("image/png")}, ::LaserTagVis) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\LaserTag\rRla5\src\visualization.jl:29
[6] writeframe(::String, ::MIME{Symbol("image/png")}, ::LaserTagVis) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\Reel\Mu9ck\src\Reel.jl:35
[7] push! at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\Reel\Mu9ck\src\Reel.jl:42 [inlined]
[8] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPGifs\NifU5\src\POMDPGifs.jl:120 [inlined]
[9] macro expansion at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\ProgressMeter\N86Uo\src\ProgressMeter.jl:732 [inlined]
[10] makegif(::LaserTagPOMDP{DESPOTEmu,StaticArrays.MArray{Tuple{8},Int64,1,8}}, ::POMDPSimulators.SimHistory{NamedTuple{(:s, :a, :sp, :o, :r, :t, :action_info, :b, :bp, :update_info),Tuple{LTState,Int64,LTState,StaticArrays.MArray{Tuple{8},Int64,1,8},Float64,Int64,Nothing,ParticleCollection{LTState},ParticleCollection{LTState},Nothing}}}; filename::String, spec::Nothing, show_progress::Bool, render_kwargs::NamedTuple{(),Tuple{}}, fps::Int64) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPGifs\NifU5\src\POMDPGifs.jl:119
[11] simulate(::GifSimulator, ::LaserTagPOMDP{DESPOTEmu,StaticArrays.MArray{Tuple{8},Int64,1,8}}, ::POMDPPolicies.AlphaVectorPolicy{LaserTagPOMDP{DESPOTEmu,StaticArrays.MArray{Tuple{8},Int64,1,8}},Int64}, ::BasicParticleFilter{LaserTagPOMDP{DESPOTEmu,StaticArrays.MArray{Tuple{8},Int64,1,8}},LaserTagPOMDP{DESPOTEmu,StaticArrays.MArray{Tuple{8},Int64,1,8}},LowVarianceResampler,MersenneTwister,Array{LTState,1}}) at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPGifs\NifU5\src\POMDPGifs.jl:57
[12] #makegif#4 at C:\Users\pilgrim.juliapro\JuliaPro_v1.4.2-1\packages\POMDPGifs\NifU5\src\POMDPGifs.jl:83 [inlined]
[13] top-level scope at show.jl:613
in expression starting at untitled-c1282b29e8afbf0a83499fea45c36a74:13
The text was updated successfully, but these errors were encountered: