Пример #1
0
        /// <summary>
        /// Demo with several acceleration ramps.
        /// </summary>
        public static PlanBuilder Ramping()
        {
            var builder = new PlanBuilder();

            builder.AddTransitionRPM(-400 * 10, 0, 1000, 500);
            builder.AddTransitionRPM(-400 * 10, 500, 500, 500);
            builder.AddTransitionRPM(-400 * 20, 500, 1500, 0);
            return(builder);
        }