Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
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
Alden Hart
9b6ae6c553 Switch is working enough to take commands 2017-01-11 11:12:18 -05:00
Alden Hart
15241fabb5 Checkpoint. Testing switch to secondary planner 2017-01-11 09:06:26 -05:00
Alden Hart
cb0ab6c787 Checkpoint. Running 2 planners. Passes (most) regressions; separated Gcode inits from CM inits; added CM dependency injection to arc commands 2017-01-10 12:36:33 -05:00
Alden Hart
53d8af3b9f Fixed queue size error; update local variable naming 2017-01-10 11:16:46 -05:00
Alden Hart
6a541f51ca Moved MRs under the planner; changed the inits and mr references for this to work. Still have testing and cleanup to go. 2017-01-10 09:06:39 -05:00
Alden Hart
ddf32df2fd Many many changes to get the plan bound to a canonical machine. Not working yet for motion. 2017-01-09 13:43:41 -05:00
Alden Hart
e6aca99fa8 Checkpoint 2017-01-09 11:52:48 -05:00
Alden Hart
d66cb8b16a Prep for on feedhold context switch; Minor change to buffer structure; Added designators to gQuintic pinouts 2017-01-09 11:21:14 -05:00
Alden Hart
15b030f24c merging in edge to dev-p24-feedhold-lift. Still many things broken 2017-01-05 13:14:17 -05:00
Alden Hart
de0c554ed0 merged 100.16 into dev-109-tool-offset 2016-12-30 08:58:54 -05:00
Alden Hart
a4330f42cc Intermediate commit - changing canonical machine struct to work by pointer - not absolute. Compiles. Does not run. 2016-12-09 07:41:31 -05:00
Alden Hart
e934cfda8e added switch and return functions 2016-12-08 14:28:52 -05:00
Alden Hart
dd0ff106ca Fixed a couple of stupid bugs in new buffer management; Set make block profile to default to 2 USB ports 2016-12-08 12:27:29 -05:00
Alden Hart
2ab3183a82 resolved merge conflicts from dev-168 sha3999533 2016-12-08 08:29:11 -05:00
Alden Hart
7795c3d70f Some cleanup and testing 2016-12-05 16:23:15 -05:00
Alden Hart
470923f0f7 Checkpoint added Primary and Alternate planner queue section from the buffer primitives 2016-12-05 15:47:41 -05:00
Alden Hart
0d0fdd9ddb updated planner buffer initialization to work from detached buffer pools 2016-12-05 13:38:49 -05:00
Alden Hart
bf3c540f9e Checkpoint - generalizing planner buffer handling 2016-12-05 12:47:26 -05:00
Alden Hart
ba2193e34e Planner documentation; remained forward planning functions. 2016-12-01 09:42:57 -05:00
Alden Hart
5214a7e2a1 Checkpoint a whole of of new commenting on the planner. Not done yet. 2016-11-30 18:54:18 -05:00
Alden Hart
073a08b4b7 Debugging 2016-10-29 11:08:05 -04:00
Rob Giseburt
4c94bc7fe3 commented out some planner debugging, minor syntactic adjustment in stepper 2016-09-28 11:09:39 -05:00