purged some unneeded files
This commit is contained in:
parent
5880e55ce9
commit
849cfe6812
5342
gcode/braid.gcode
5342
gcode/braid.gcode
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1674
gcode/miller.gcode
1674
gcode/miller.gcode
File diff suppressed because it is too large
Load Diff
@ -1,112 +0,0 @@
|
||||
G90
|
||||
F1000
|
||||
G1 X-27.7814 Y11.3222
|
||||
G1 X-13.7952 Y1.99803
|
||||
G1 X-27.7814 Y11.3222
|
||||
G1 X-27.7814 Y1.99803
|
||||
G1 X-27.7814 Y11.3222
|
||||
G1 X-27.7814 Y1.99803
|
||||
G1 X-13.7952 Y1.99803
|
||||
G1 X-13.7952 Y11.3222
|
||||
G1 X-13.7952 Y1.99803
|
||||
G1 X-10.8055 Y21.1219
|
||||
G1 X-11.3961 Y19.7548
|
||||
G1 X-11.558 Y17.878
|
||||
G1 X-10.7814 Y15.9202
|
||||
G1 X-9.92396 Y14.9009
|
||||
G1 X-8.12809 Y13.8007
|
||||
G1 X-6.25129 Y13.6388
|
||||
G1 X-4.80324 Y13.9866
|
||||
G1 X-3.27425 Y15.2728
|
||||
G1 X-2.68367 Y16.64
|
||||
G1 X-2.52182 Y18.5168
|
||||
G1 X-3.29837 Y20.4745
|
||||
G1 X-4.15584 Y21.4938
|
||||
G1 X-5.95171 Y22.5941
|
||||
G1 X-7.8285 Y22.7559
|
||||
G1 X-9.27656 Y22.4081
|
||||
G1 X-10.8055 Y21.1219
|
||||
G1 X4.27576 Y18.746
|
||||
G1 X12.2103 Y17.788
|
||||
G1 X12.3699 Y19.1104
|
||||
G1 X11.8684 Y20.5127
|
||||
G1 X11.287 Y21.2537
|
||||
G1 X10.0444 Y22.0746
|
||||
G1 X8.06077 Y22.3141
|
||||
G1 X6.65853 Y21.8125
|
||||
G1 X5.17645 Y20.6498
|
||||
G1 X4.27576 Y18.746
|
||||
G1 X4.1161 Y17.4235
|
||||
G1 X4.53783 Y15.3601
|
||||
G1 X5.70059 Y13.878
|
||||
G1 X6.94317 Y13.0572
|
||||
G1 X8.9268 Y12.8177
|
||||
G1 X10.329 Y13.3192
|
||||
G1 X11.8111 Y14.482
|
||||
G1 X23.6509 Y14.951
|
||||
G1 X14.8687 Y7.80509
|
||||
G1 X13.7392 Y6.02745
|
||||
G1 X14.0633 Y4.5739
|
||||
G1 X14.904 Y3.5407
|
||||
G1 X18.7737 Y13.5584
|
||||
G1 X21.7161 Y9.94214
|
||||
G1 X18.7737 Y13.5584
|
||||
G1 X23.2352 Y1.31533
|
||||
G1 X14.0474 Y-0.273848
|
||||
G1 X23.2352 Y1.31533
|
||||
G1 X19.2976 Y0.634252
|
||||
G1 X21.3799 Y0.318524
|
||||
G1 X22.9194 Y-0.766981
|
||||
G1 X23.8027 Y-1.966
|
||||
G1 X24.1433 Y-3.9348
|
||||
G1 X18.6913 Y-14.6127
|
||||
G1 X18.6517 Y-13.1239
|
||||
G1 X18.0086 Y-11.3533
|
||||
G1 X16.4803 Y-9.90425
|
||||
G1 X15.2734 Y-9.34046
|
||||
G1 X13.1813 Y-9.0982
|
||||
G1 X11.4107 Y-9.74125
|
||||
G1 X10.2435 Y-10.6662
|
||||
G1 X9.39784 Y-12.4764
|
||||
G1 X9.43747 Y-13.9651
|
||||
G1 X10.0805 Y-15.7357
|
||||
G1 X11.6089 Y-17.1848
|
||||
G1 X12.8157 Y-17.7486
|
||||
G1 X14.9078 Y-17.9909
|
||||
G1 X16.6784 Y-17.3478
|
||||
G1 X17.8456 Y-16.4229
|
||||
G1 X18.6913 Y-14.6127
|
||||
G1 X4.61246 Y-22.8107
|
||||
G1 X0.289415 Y-9.50937
|
||||
G1 X0.289415 YG1 X-9.50937
|
||||
G1 X4.61246 Y-22.8107
|
||||
G1 X3.99488 Y-20.9105
|
||||
G1 X3.13981 Y-22.589
|
||||
G1 X2.07887 Y-23.6341
|
||||
G1 X0.178684 Y-24.2517
|
||||
G1 X-1.29397 Y-24.03
|
||||
G1 X-2.97248 Y-23.175
|
||||
G1 X-4.22345 Y-21.4806
|
||||
G1 X-4.63517 Y-20.2138
|
||||
G1 X-4.61935 Y-18.1078
|
||||
G1 X-3.76428 Y-16.4293
|
||||
G1 X-2.70335 Y-15.3842
|
||||
G1 X-0.803156 Y-14.7666
|
||||
G1 X0.669496 Y-14.9883
|
||||
G1 X2.34801 Y-15.8433
|
||||
G1 X-10.9479 Y-15.8062
|
||||
G1 X-17.9553 Y-11.9629
|
||||
G1 X-18.5959 Y-13.1308
|
||||
G1 X-18.6525 Y-14.619
|
||||
G1 X-18.3888 Y-15.5232
|
||||
G1 X-17.5412 Y-16.7477
|
||||
G1 X-15.7893 Y-17.7085
|
||||
G1 X-14.3011 Y-17.7651
|
||||
G1 X-12.4927 Y-17.2378
|
||||
G1 X-10.9479 Y-15.8062
|
||||
G1 X-10.3074 Y-14.6383
|
||||
G1 X-9.93052 Y-12.5662
|
||||
G1 X-10.4579 Y-10.7577
|
||||
G1 X-11.3055 Y-9.53325
|
||||
G1 X-13.0573 Y-8.57243
|
||||
G1 X-14.5455 Y-8.51583
|
@ -1,61 +0,0 @@
|
||||
/*
|
||||
acceleration.c - support methods for acceleration-related calcul
|
||||
Part of Grbl
|
||||
|
||||
Copyright (c) 2009-2011 Simen Svale Skogsrud
|
||||
|
||||
Grbl is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Grbl is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Grbl. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
// Estimate the maximum speed at a given distance when you need to reach the given
|
||||
// target_velocity with max_acceleration.
|
||||
double estimate_max_speed(double max_acceleration, double target_velocity, double distance) {
|
||||
return(sqrt(-2*max_acceleration*distance+target_velocity*target_velocity))
|
||||
}
|
||||
|
||||
// At what distance must we start accelerating/braking to reach target_speed from current_speed given the
|
||||
// specified constant acceleration.
|
||||
double estimate_acceleration_distance(double current_speed, double target_speed, double acceleration) {
|
||||
return((target_speed*target_speed-current_speed*current_speed)/(2*acceleration));
|
||||
}
|
||||
|
||||
// Calculate feed rate in length-units/second for a single axis
|
||||
double axis_feed_rate(double steps_per_stepping, uint32_t stepping_rate, double steps_per_unit) {
|
||||
if (stepping_rate == 0) { return(0.0); }
|
||||
return((TICKS_PER_MICROSECOND*1000000)*steps_per_stepping/(stepping_rate*steps_per_unit));
|
||||
}
|
||||
|
||||
// The 'swerve' of a joint is equal to the maximum acceleration of any single
|
||||
// single axis in the corner between the outgoing and the incoming line. Accelleration control
|
||||
// will regulate speed to avoid excessive swerve.
|
||||
double calculate_swerve(struct Line* outgoing, struct Line* incoming) {
|
||||
double x_swerve = abs(
|
||||
axis_feed_rate(
|
||||
((double)incoming->steps_x)/incoming->maximum_steps, incoming->rate, settings.steps_per_mm[X_AXIS])
|
||||
- axis_feed_rate(
|
||||
((double)incoming->steps_x)/incoming->maximum_steps, outgoing-> rate, settings.steps_per_mm[X_AXIS]));
|
||||
double y_swerve = abs(
|
||||
axis_feed_rate(
|
||||
((double)incoming->steps_y)/incoming->maximum_steps, incoming->rate, settings.steps_per_mm[Y_AXIS])
|
||||
- axis_feed_rate(
|
||||
((double)incoming->steps_y)/incoming->maximum_steps, outgoing-> rate, settings.steps_per_mm[Y_AXIS]));
|
||||
double z_swerve = abs(
|
||||
axis_feed_rate(
|
||||
((double)incoming->steps_z)/incoming->maximum_steps, incoming->rate, settings.steps_per_mm[Z_AXIS])
|
||||
- axis_feed_rate(
|
||||
((double)incoming->steps_z)/incoming->maximum_steps, outgoing-> rate, settings.steps_per_mm[Z_AXIS]));
|
||||
return max(x_swerve, max(y_swerve, z_swerve));
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
#ifndef acceleration_h
|
||||
#define acceleration_h
|
||||
|
||||
// Estimate the maximum speed at a given distance when you need to reach the given
|
||||
// target_velocity with max_accelleration.
|
||||
double estimate_max_speed(double max_accelleration, double target_velocity, double distance);
|
||||
|
||||
// At what distance must we start accellerating/braking to reach target_speed from current_speed given the
|
||||
// specified constant accelleration.
|
||||
double estimate_brake_distance(double current_speed, double target_speed, double acceleration);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user