Commit Graph

31 Commits

Author SHA1 Message Date
Rob Giseburt
3687a786e1 Four-cable kinematics 2019-06-17 13:14:42 -05:00
Rob Giseburt
b70abe4067 Switched from fabs to std::abs which is type-aware and safer going forward. 2017-12-03 16:10:22 -06:00
Rob Giseburt
a0ad3a5c7c Remove old constant-rate stepper and related forward difference code. 2017-12-02 08:10:19 -06:00
Rob Giseburt
3f7fc88401 Fix for inaccuracies that are caught by encoder corrections 2017-09-13 18:54:49 -05:00
Rob Giseburt
2de08704cd Highly experimental segment linear-velocity-interpolation 2017-07-15 22:35:45 -05:00
Rob Giseburt
72f80f9b9e Added NEW_DDA to test a new optimized DDA 2017-05-16 15:52:00 -05:00
Rob Giseburt
3e26890813 Rebuilding DDA dubstep accumulator to not incorporate time. Other load time improvements. 2017-05-01 20:21:59 -05:00
Rob Giseburt
4f7a6e090a Tweaks to stepper: don’t turn of dad timer, and use std::min instead of min3 2017-04-27 19:59:23 -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
Rob Giseburt
b97fb544d5 Fix issue where power levels are getting scaled before the per-driver stepper object. They’re now scaled (or not) inside the stepper objects. 2017-02-23 23:09:14 -06:00
Rob Giseburt
9136aba90b HOT_FUNC and HOT_DATA assignments sprinkled all over. Also removing now-redundant abs definition. 2017-02-22 12:41:03 -06:00
Rob Giseburt
1905fe1238 Remove too-strict tests and extra commented-out code in stepper and exec. 2017-02-18 09:01:37 -06:00
Rob Giseburt
5d8f3615ec Moving the load_move call outside of a syscall/timer. 2017-01-08 14:14:39 -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