diff --git a/sw/logalizer/Makefile b/sw/logalizer/Makefile index 4f8681890e..513e4a398b 100644 --- a/sw/logalizer/Makefile +++ b/sw/logalizer/Makefile @@ -31,5 +31,5 @@ clean: play : play.ml $(OCAMLC) -o $@ unix.cma glibivy-ocaml.cma -I +lablgtk2 lablgtk.cma gtkInit.cmo $^ # to check cat ../../pprz_src_test.sh > $@ - echo 'lablgtk2 unix.cma glibivy-ocaml.cma $$PAPARAZZI_SRC/sw/logalizer/$< $$*' >> $@ + echo 'exec lablgtk2 unix.cma glibivy-ocaml.cma $$PAPARAZZI_SRC/sw/logalizer/$< $$*' >> $@ chmod a+x $@ diff --git a/sw/logalizer/play.ml b/sw/logalizer/play.ml index 55eabb2efb..b4f8890b81 100644 --- a/sw/logalizer/play.ml +++ b/sw/logalizer/play.ml @@ -58,7 +58,7 @@ let index_of_time log t = let rec run log adj i speed = let (t, m) = log.(i) in - Ivy.send (Printf.sprintf "%.2f %s" t m); + Ivy.send (Printf.sprintf "%s" m); adj#set_value (t -. fst log.(0)); if i + 1 < Array.length log then let dt = fst log.(i+1) -. t in