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