Commit Graph

28 Commits

Author SHA1 Message Date
Rob Giseburt
29abfa48ef Minor cleanup with enable and step polarity 2018-04-10 21:52:02 -05:00
Ben Laurie
35a8e64965 Address comments. 2018-04-10 21:26:53 -05:00
Ben Laurie
25ddf66ae3 Allow the polarity of the step pulse to be set. 2018-04-10 21:25:53 -05:00
Rob Giseburt
cb7bf178e7 Issue #169 motor enable polarity (#306)
* Add enable polarity (`1ep`, etc.) to motors.
* Cleanup enable polarity code. Note that Stepper object initialization has changed!
2018-03-04 18:18:18 -06:00
Rob Giseburt
f0217205cc Fix for MOTOR_POWERED_IN_CYCLE motors disabling during long M101 waits 2017-02-23 09:20:38 -06:00
Rob Giseburt
2a2cdc769c Minor adjustments to exec and stepper to handle a rare stall condition. 2017-02-14 15:04:45 -06:00
Rob Giseburt
53e0eb85eb Adjusted Exec interrupt priority to High, and Fwd Plan to Medium. 2017-02-08 13:50:18 -06:00
Rob Giseburt
0ef8d918a3 Finishing transition to all-hardware timers for fwd-plan/exec, and direct call of load 2017-01-30 15:56:02 -06:00
Rob Giseburt
5b6126bb72 Moving the load_move call outside of a syscall/timer. 2017-01-26 15:00:10 -06:00
Rob Giseburt
0a61b7d854 Minor cleanup of indention/comments. 2017-01-10 16:50:37 -06:00
Alden Hart
9cf1e5f674 Exception handling for MT, ME and MD 2016-12-31 12:19:20 -05:00
Alden Hart
c89df1e708 Working on JSON settings for motors. Installed SU handlers and revised helpers, preprocess float, and “_get_this” primitives. Added proper range checking for some motor parameters. Runs all regression up through motor-po. Fails on motor-pm. 2016-12-31 11:40:33 -05:00
Rob Giseburt
650aea05fe Changed Dwells (again) to use SysTickEvents instead of the DDA timer. 2016-12-07 16:51:52 -06:00
Rob Giseburt
cbd3f9e19f Switch dwells to the DDA timer, removed dwell_timer.
Fixes #193
2016-12-05 17:05:35 -06:00
Rob Giseburt
93436ba43b Removed erroneous debug_trap that hosed up feedhold (and homing). 2016-12-05 15:09:38 -06:00
Alden Hart
7624933194 Patch to stop DDA timer before Dwell timer to address Issue #193 2016-12-03 08:50:40 -05:00
Alden Hart
ba2193e34e Planner documentation; remained forward planning functions. 2016-12-01 09:42:57 -05:00
Rob Giseburt
1061e0de6b Pumped the priorities of the load, exec, and fwd_plan interrupts. 2016-11-23 14:14:03 -06:00
Rob Giseburt
bc79b0050c Added semixosting debugging capabilities to stepper.cpp. (Some formatting cleanup too.) 2016-11-23 14:13:17 -06:00
Rob Giseburt
94813e5fe4 Removing F_CPU and all uses of it.
It’s not longer accurate and mostly unused. It’s use by PWM was inaccurate.
2016-10-28 21:48:32 -05:00
Rob Giseburt
4c94bc7fe3 commented out some planner debugging, minor syntactic adjustment in stepper 2016-09-28 11:09:39 -05:00
Alden Hart
bd01ee779b Consolidated some power management functions; fixed a bug in status reports where SR_VERBOSE mode created filtered reports 2016-09-18 12:15:13 -04:00
Alden Hart
d698a872bf Runs full regression on motor power. Ready to push. 2016-09-18 11:03:48 -04:00
Alden Hart
391229a8bd Fixed bug where MD would turn off ALWAYS_ON motors; Removed ‘null’ action for ME and MD 2016-09-18 07:58:34 -04:00
Alden Hart
54a9790a26 Fixed bug in MOTOR_POWERED_IN_CYCLE that prevented energizing non-movement motors. (NB: Changes to stepper.cpp are purely cosmetic - actual logic in in stepper.h) 2016-09-15 14:29:35 -04:00
Alden Hart
10b6b1cfce Added power level readouts, pwr1 - pwrN and the pwr group. They report the actual power level applied to the motors - which is 0 if the motor is not energized. 2016-09-15 08:29:23 -04:00
Alden Hart
3be78035d9 Fixed bug where Power Management mode (pm) was not being reported correctly 2016-09-14 13:46:25 -04:00
Rob Giseburt
16e91f896a 100.00 // Major feature push - see README.md 2016-08-26 16:36:07 -05:00