private static ReedsSheppActionSet LfRfLbpath(float t, float u, float v) { ReedsSheppActionSet actions = new ReedsSheppActionSet(); actions.AddAction(Steer.Left, Gear.Forward, t); actions.AddAction(Steer.Right, Gear.Forward, u); actions.AddAction(Steer.Left, Gear.Backward, v); return(actions); }
private static ReedsSheppActionSet LfSfLfpi2Rbpath(float t, float u, float v) { ReedsSheppActionSet actions = new ReedsSheppActionSet(); actions.AddAction(Steer.Left, Gear.Forward, t); actions.AddAction(Steer.Straight, Gear.Forward, u); actions.AddAction(Steer.Left, Gear.Forward, MathHelper.PiOver2); actions.AddAction(Steer.Right, Gear.Backward, v); return(actions); }
private static ReedsSheppActionSet LfSfRfpi2Lbpath(float t, float u, float v) { ReedsSheppActionSet actions = new ReedsSheppActionSet(); actions.AddAction(Steer.Left, Gear.Forward, t); actions.AddAction(Steer.Straight, Gear.Forward, u); actions.AddAction(Steer.Right, Gear.Forward, MathHelper.PiOver2); actions.AddAction(Steer.Left, Gear.Backward, v); return actions; }
private static ReedsSheppActionSet LfSfLfpath(float t, float u, float v) { ReedsSheppActionSet actions = new ReedsSheppActionSet(); actions.AddAction(Steer.Left, Gear.Forward, t); actions.AddAction(Steer.Straight, Gear.Forward, u); actions.AddAction(Steer.Left, Gear.Forward, v); return actions; }
private static ReedsSheppActionSet LfRufLubRbpath(float t, float u, float v) { ReedsSheppActionSet actions = new ReedsSheppActionSet(); actions.AddAction(Steer.Left, Gear.Forward, t); actions.AddAction(Steer.Right, Gear.Forward, u); actions.AddAction(Steer.Left, Gear.Backward, u); actions.AddAction(Steer.Right, Gear.Backward, v); return actions; }