From 9bb7f69dcc4f727c017f3f6a8bf0d10ae6aa2538 Mon Sep 17 00:00:00 2001 From: Owen Jennings Date: Tue, 21 Sep 2021 20:22:00 -0400 Subject: [PATCH] Added Description for Constants --- PathPlanning/basicPathPlanning/drag.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PathPlanning/basicPathPlanning/drag.m b/PathPlanning/basicPathPlanning/drag.m index 94036b8..a07afb8 100644 --- a/PathPlanning/basicPathPlanning/drag.m +++ b/PathPlanning/basicPathPlanning/drag.m @@ -8,8 +8,8 @@ mu = .001*ones(length(v),1); g = 9.81; calpha = 1.06e-2; - + % Constant definitions: Elevation Change, Air Resistance, Turning, Rolling Resistance losses = [g*dh, c/m*v.^2, calpha*(v.*thetadot).^2, mu*g]; f = sum(losses,2); -end \ No newline at end of file +end