Skip to content

Commit

Permalink
Merge pull request #17 from zlaouar/bug-broadcasting-during-vis
Browse files Browse the repository at this point in the history
added broadcasting
  • Loading branch information
zsunberg authored Sep 28, 2022
2 parents 44241d7 + 185f21b commit 60b14f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ catch ex
# cmds = [`sudo apt-get install texlive-latex-base`, `sudo apt-get install texlive-binaries`]
cmds = [`sudo apt-get install texlive-latex-extra`]
for c in cmds
@info("Running $c")
run(c)
try
@info("Running $c")
run(c)
catch
@error("Command failed", command = c)
end
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion src/visualization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function show_belief(o::IO, b::ParticleCollection{LTState})
end

function show_meas(o::IO, s::LTState, obs::Union{CMeas,DMeas})
middle = s.robot - 0.5
middle = s.robot .- 0.5
for i in 1:4
dir = CARDINALS[i]
start = middle+0.5*dir
Expand Down

0 comments on commit 60b14f6

Please sign in to comment.