Lines Matching defs:slope
1733 throw SaneException("Motor slope is not configured");
1745 auto table = create_slope_table_for_speed(motor_profile.slope, target_speed_w,
1755 return create_slope_table_for_speed(motor_profile.slope, motor_profile.slope.max_speed_w,
1877 offset and slope inputs are -127 to +127
1879 slope rotates line around central input/output val,
1909 * @param slope slope of the generated data
1915 int slope, int offset)
1925 /* slope is converted to rise per unit run:
1929 * then multiply by the normal linear slope
1932 rise = std::tan(static_cast<double>(slope) / 128 * pi_4 + pi_4) * max_out_val / max_in_val;