Rob Giseburt
d3f903b5ef
Code formatting and settings changes
2023-02-16 09:09:05 -06:00
Rob Giseburt
6b99643e6b
Implement feedrate overrides
...
`{fro:1}` is `G1 Fxxx` words are interpreted at 100% of `xxx`, `{fro:2}` is at 200% (max), and `{fro:0.05}` is at 5% (min).
`{tro:n}` is the same for the inherent feedrate of `G0`, with a max of 100% and min of 5%.
2020-03-12 14:26:58 -05:00
Rob Giseburt
3503eb08b8
Yet another stab at getting the kinematic encoder syncing right. (Ithink this does it.)
2020-01-24 21:05:58 -06:00
Rob Giseburt
53434a7923
Fix kinematics after homing (syncing encoders)
2020-01-23 16:26:53 -06:00
Rob Giseburt
f2fa2da3a5
Rearrange init some to fix a crash, details:
...
mr was not being intialized before it was being used by the stepper intialization.
Also added a check to prevent it from happening from other places.
2020-01-22 15:40:08 -06:00
Rob Giseburt
5ce91a0bd8
Ensure GM is copied into the buffer for commands
2020-01-10 19:30:28 -06:00
Rob Giseburt
8ba3eae1bf
Compiling with new BantamSafetyManager
2020-01-10 19:30:27 -06:00
Rob Giseburt
905a3692a2
Catch case where in FEEDHOLD_SYNC and no more moves to clear it
...
Fixes #75
2020-01-10 19:25:12 -06:00
Rob Giseburt
70454fbfb0
Correct recovery from FEEDHOLD_SYNC during CYCLE_NONE
2020-01-10 19:25:11 -06:00
Rob Giseburt
650322b088
Catch edge case: FEEDHOLD_SYNC with no buffers
2020-01-10 19:25:11 -06:00
Rob Giseburt
a5e0b027c1
Fix mp_set_steps_to_runtime_position to use internal encoder position
2019-10-16 23:29:59 -05:00
Rob Giseburt
5b11fb9cd5
Merge branch 'edge' into 4c-recovery
2019-10-14 20:01:59 -05:00
Sebastian Goscik
c8b3e2b721
Fixed mp_get_run_buffer so that it also check buffer_state == MP_BUFFER_INITIALIZING
...
Both `MP_BUFFER_EMPTY` and `MP_BUFFER_INITIALIZING` both indicate that the buffer should
not be used. Only once it moves past the initalizing state should it be considered safe to use.
Signed-off-by: Sebastian Goscik <sebastian.goscik@arm.com >
2019-08-01 04:56:26 +01:00
Rob Giseburt
3687a786e1
Four-cable kinematics
2019-06-17 13:14:42 -05:00
Alden Hart
d03a10e8b8
Updated copyright dates. Tested dev-304-uvw-9axis/edge merge. Passed baseline testing. Fails Spindle test SPIN-02. ToGo - GPIO, Feedhold, Probing, Homing and Planner cases.
2018-03-26 12:18:26 -04:00
Rob Giseburt
5b0aa6be8a
Adjust dwell to internally be in milliseconds (giving more overhead before overflow)
2017-04-12 20:25:38 -05:00
Alden Hart
f3e950c81b
stuff
2017-04-10 15:19:43 -04:00
Alden Hart
1278b0b824
Interim commit - fixes JSON command queuing, sequencing job kill. Still has problems with embedded M30’s in the file. Which perhaps is as it should.
2017-04-10 12:59:57 -04:00
Alden Hart
c60dc581f7
resolved merge conflicts between edge marlin-compatibility and dev-p24
2017-03-23 11:07:12 -04:00
Alden Hart
5f306e1657
Big commit. Added nv->value_int, and changed nv_value to nv->value_flt. Many many things changed. Passes smoke test. Now on to some real regressions.
2017-03-19 20:27:53 -04:00
Alden Hart
3dc69f4f02
Got probing working; moved command values from gm.target to the unit vector; some name changes;
2017-03-18 08:38:11 -04:00
Alden Hart
4fbaad1c33
Testing for feedhold type instead if cycle type; corrected bug in gpio edge detection for probe mode; changed feedhold with sync to feedhold with command;
2017-03-18 05:39:16 -04:00
Alden Hart
7855bdb848
The ops runner is finally alive. First breath.
2017-03-11 15:59:31 -05:00
Alden Hart
d87b3a3e4c
Removed MOTION_PLANNING from motion state. Not needed anymore.
2017-03-06 11:44:42 -05:00
Alden Hart
cdf821dbaa
Fixed problem with new move arriving while in feedhold.
2017-03-03 09:25:19 -05:00
Alden Hart
b30f479ff2
Updated planner state names; edited planner diagnostics
2017-03-03 09:06:35 -05:00
Alden Hart
dc28c0006e
Checkpoint
2017-03-02 15:20:33 -05:00
Alden Hart
926d8d3d3d
Experimental
2017-03-02 13:24:39 -05:00
Alden Hart
4228e56065
Experimental
2017-02-27 20:46:05 -05:00
Alden Hart
af116e43e4
Added some diagnostics and commenting. Aligned with buffer diagnostics from dev-p32
2017-02-27 11:02:03 -05:00
Alden Hart
fcaad6b524
Mostly comments
2017-02-24 15:53:43 -05:00
Alden Hart
5810eda239
Work on debug and diagnostics
2017-02-20 06:13:08 -05:00
Alden Hart
ad106ca7f3
Changes to mp_forward_plan() and _plan_commands() to properly report cases where commands are planned multiple times, and return correct status code. Also required changes to Feedhold Case (5, continued) in mp_exec_aline(); Change IN_DEBUGGER cases; Changes to MIN_SEGMENT_MS and related definitions
2017-02-18 10:21:13 -05:00
Alden Hart
cfd1990255
Improvements to feedhold status reporting. Cannot tell if it’s completely fixed yet w/o more testing, although it passes repeated regression tests; Changed the name of planner test assertions in prep for folding these in as object methods.
2017-02-17 08:25:20 -05:00
Alden Hart
8199c1816f
resolved merge conflicts
2017-02-16 13:17:33 -05:00
Alden Hart
04857ced48
Removed diagnostics and rested with original replay file. Should be ready for use.
2017-02-15 13:36:57 -05:00
Alden Hart
22737fd75f
Optimistically, Issue #33 is fixed. Still has a whole lot of diagnostics enabled that would blow up the JSON parser, and it has not been well tested yet. So don’t use this.
2017-02-15 13:20:10 -05:00
Alden Hart
e7fb4cd672
Fixed reversed move coming out of hold-flush. Look in planner.cpp / planner_reset() for fix.; removed some legacy +++++ comments
2017-02-13 13:41:23 -05:00
Rob Giseburt
eff4939bf5
Improve handling of too-long lines, and up minimum buffers to 512bytes.
...
Fixes #206
2017-02-06 16:57:05 -06:00
Rob Giseburt
dcba477058
Improve handling of too-long lines, and up minimum buffers to 512bytes.
...
Fixes #206
2017-02-06 15:20:20 -06:00
Alden Hart
17ddf830ff
Lightened up planner reset to not destroy position values and other data; Corrected coolant and spindle ordering in feedhold exit actions; Added {dw:n} to report progress of dwells; Added RADIUS_MIN value and compile-time and runtime tests for tests for zero radius values. Illegal due to divide by zero
2017-02-06 15:10:30 -05:00
Alden Hart
2e911caaee
Checkpoint
2017-02-05 12:43:20 -05:00
Alden Hart
24109f26ce
Working on integrating queue flush in with feedhold actions
2017-01-23 16:07:40 -05:00
Rob Giseburt
3556a2cbf3
Another pass at Marlin Compatibility mode. Functional enough to test.
2017-01-20 14:36:21 -06:00
Alden Hart
9587f1338b
Cleaned up some callback vector handling.
2017-01-17 09:37:54 -05:00
Alden Hart
43c3430930
Some refinements to spindle function, out-of-band-dwell; testing
2017-01-16 12:27:28 -05:00
Alden Hart
886b4041b3
Installed planner-level out-of-band-dwell to better handle pinup delays. Commented out spin down delays. These may be useful later for direction reversals, but for now they are not needed.
2017-01-16 11:03:31 -05:00
Alden Hart
665475b57d
Isolated Gcode parser
2017-01-12 10:54:16 -05:00
Alden Hart
ca546db67d
Intermediate checkpoint for isolating Gcode parser
2017-01-12 08:52:12 -05:00
Alden Hart
d98a74fa62
Executes manual pullup and return
2017-01-11 17:29:54 -05:00