Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 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;
 }