/// <summary>
        /// x轴绝对运动
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button24_Click(object sender, EventArgs e)
        {
            double angle = decimal.ToDouble(numericUpDown_toanglex.Value);
            double speed = decimal.ToDouble(numericUpDown_speedx.Value);

            robot1.RotToAngle(0, angle, speed);
        }