From 30cef521c0d5ee43d840c42de4d53b766322817b Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Tue, 19 Oct 2021 17:50:18 +0000 Subject: [PATCH] fix units --- juliaHelpers/simplot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/juliaHelpers/simplot.jl b/juliaHelpers/simplot.jl index 90815f4..3b4edb9 100644 --- a/juliaHelpers/simplot.jl +++ b/juliaHelpers/simplot.jl @@ -32,7 +32,7 @@ p2 = let plot(ypr, ω, layout = (2, 1)) end -p3 = plot(df.t, [df.Servo1 df.Servo2] .* (π / 180), label = ["Yaw" "Pitch"], ylabel = "Servo Position (degree)", xlabel = "time (ms)", title = "Servo Positions") +p3 = plot(df.t, [df.Servo1 df.Servo2], label = ["Yaw" "Pitch"], ylabel = "Servo Position (degree)", xlabel = "time (ms)", title = "Servo Positions") global i = 1 @@ -42,4 +42,4 @@ for p in [p1 p2 p3] savefig(p, "./public/plot$i.html") savefig(p, "./public/plot$i.png") global i = i + 1 -end \ No newline at end of file +end