Lines Matching refs:slope
55 MotorSlope slope;
56 slope.initial_speed_w = initial_w;
57 slope.max_speed_w = max_w;
58 slope.acceleration = compute_acceleration_for_steps(initial_w, max_w, steps);
59 return slope;
104 MotorSlopeTable create_slope_table_for_speed(const MotorSlope& slope, unsigned target_speed_w,
115 unsigned max_speed_shifted_w = slope.max_speed_w >> step_shift;
119 slope.max_speed_w);
131 unsigned current = slope.get_table_step_shifted(table.table.size(), step_type);
154 std::ostream& operator<<(std::ostream& out, const MotorSlope& slope)
157 << " initial_speed_w: " << slope.initial_speed_w << '\n'
158 << " max_speed_w: " << slope.max_speed_w << '\n'
159 << " a: " << slope.acceleration << '\n'
172 << " slope: " << format_indent_braced_list(4, profile.slope) << '\n'