Joseph Coffland [Wed, 21 Sep 2016 20:13:12 +0000 (13:13 -0700)]
Fixed occasional step correction induced stutter.
Joseph Coffland [Wed, 21 Sep 2016 19:17:19 +0000 (12:17 -0700)]
Use fast invsqrt() function
Joseph Coffland [Wed, 21 Sep 2016 17:59:09 +0000 (10:59 -0700)]
Separate forward differencing code
Joseph Coffland [Wed, 21 Sep 2016 16:08:55 +0000 (09:08 -0700)]
Round seg period, removed dead code
Joseph Coffland [Wed, 21 Sep 2016 15:51:40 +0000 (08:51 -0700)]
Cleanup, check NOM_SEGMENT_USEC <= MAX_SEGMENT_TIME
Joseph Coffland [Wed, 21 Sep 2016 13:42:42 +0000 (06:42 -0700)]
Much improved step correction using PID loop
Joseph Coffland [Wed, 21 Sep 2016 11:18:53 +0000 (04:18 -0700)]
Working on step correction
Joseph Coffland [Wed, 21 Sep 2016 05:13:41 +0000 (22:13 -0700)]
Accurate positioning but velocity wavers a bit
Joseph Coffland [Mon, 19 Sep 2016 04:22:01 +0000 (21:22 -0700)]
Fixed jog reverse direction
Joseph Coffland [Mon, 19 Sep 2016 04:01:21 +0000 (21:01 -0700)]
Fix to exit jog mode
Joseph Coffland [Mon, 19 Sep 2016 03:57:22 +0000 (20:57 -0700)]
S-curve jogging
Joseph Coffland [Sun, 18 Sep 2016 20:17:58 +0000 (13:17 -0700)]
Use encoder counts to correct step position exactly, Reduced forward diff calc from 42 multiples and 2 divides to 23 and 1
Joseph Coffland [Tue, 13 Sep 2016 10:21:31 +0000 (03:21 -0700)]
Implemented stepping
Joseph Coffland [Tue, 13 Sep 2016 01:30:35 +0000 (18:30 -0700)]
run_state -> buffer_state
Joseph Coffland [Mon, 12 Sep 2016 06:17:55 +0000 (23:17 -0700)]
Work on spindle vars, Added hold reason, hold on tool change, hold on pallet change, optional hold
Joseph Coffland [Mon, 12 Sep 2016 03:59:38 +0000 (20:59 -0700)]
Fixed arcs
Joseph Coffland [Mon, 12 Sep 2016 03:52:21 +0000 (20:52 -0700)]
Smooth holds with intermixed nonstop commands.
Joseph Coffland [Sun, 11 Sep 2016 15:24:56 +0000 (08:24 -0700)]
Set bf->run_state eariler for planning
Joseph Coffland [Sun, 11 Sep 2016 15:22:20 +0000 (08:22 -0700)]
Merge branch 'master' into skip-non-plan
Joseph Coffland [Sun, 11 Sep 2016 15:22:11 +0000 (08:22 -0700)]
Fixed target calculation
Joseph Coffland [Sun, 11 Sep 2016 14:51:33 +0000 (07:51 -0700)]
Work in progress
Joseph Coffland [Sun, 11 Sep 2016 14:49:36 +0000 (07:49 -0700)]
use inline functions instead of defines
Joseph Coffland [Sun, 11 Sep 2016 13:11:03 +0000 (06:11 -0700)]
Use spindle and feed overrides
Joseph Coffland [Sun, 11 Sep 2016 12:55:29 +0000 (05:55 -0700)]
Fix feed/speed override parsing
Joseph Coffland [Sun, 11 Sep 2016 12:37:41 +0000 (05:37 -0700)]
Code cleanup
Joseph Coffland [Sun, 11 Sep 2016 12:03:53 +0000 (05:03 -0700)]
boolean flags in parser
Joseph Coffland [Sun, 11 Sep 2016 11:24:38 +0000 (04:24 -0700)]
Fully encapsulated mach
Joseph Coffland [Sun, 11 Sep 2016 10:49:27 +0000 (03:49 -0700)]
Implemented runtime tool change, added more arc error checking
Joseph Coffland [Sun, 11 Sep 2016 09:07:05 +0000 (02:07 -0700)]
Removed plan/command.c, Moved CM_ALARM
Joseph Coffland [Sat, 10 Sep 2016 13:05:02 +0000 (06:05 -0700)]
Split machine.{c,h}
Joseph Coffland [Sat, 10 Sep 2016 12:36:43 +0000 (05:36 -0700)]
Machine encapsulation
Joseph Coffland [Sat, 10 Sep 2016 11:53:39 +0000 (04:53 -0700)]
names
Joseph Coffland [Sat, 10 Sep 2016 11:23:55 +0000 (04:23 -0700)]
Cleaned up buffer.c
Joseph Coffland [Sat, 10 Sep 2016 11:21:14 +0000 (04:21 -0700)]
Cleaned up buffer.c
Joseph Coffland [Sat, 10 Sep 2016 09:59:00 +0000 (02:59 -0700)]
More encapsulation, made some queue commands unsynchronized, final arc move to actual target, always return a write buffer
Joseph Coffland [Sat, 10 Sep 2016 07:38:33 +0000 (00:38 -0700)]
Fix feed rate mode handling
Joseph Coffland [Sat, 10 Sep 2016 07:00:44 +0000 (00:00 -0700)]
Smooth move transitions, enforce move generation with alarm, wait a bit for planner to fill before moving.
Joseph Coffland [Sat, 10 Sep 2016 03:02:12 +0000 (20:02 -0700)]
Cleaned up line planning code
Joseph Coffland [Thu, 8 Sep 2016 11:56:52 +0000 (04:56 -0700)]
Keep executing planner buffers until one produces a move. Arc cleanup
Joseph Coffland [Thu, 8 Sep 2016 10:45:07 +0000 (03:45 -0700)]
Report GCode state #18, Eliminated move_state_t struct, Reorg of spindle code
Joseph Coffland [Thu, 8 Sep 2016 07:29:22 +0000 (00:29 -0700)]
Implemented axis zeroing. Start AVR in flushing mode, #10
Joseph Coffland [Tue, 6 Sep 2016 08:56:56 +0000 (01:56 -0700)]
Fixed several bugs, cleaned up util.c, Automatically deallocate planning buffers and manage state, Fixed hold planning.
Joseph Coffland [Mon, 5 Sep 2016 23:09:05 +0000 (16:09 -0700)]
More consistent variable naming style
Joseph Coffland [Mon, 5 Sep 2016 21:25:20 +0000 (14:25 -0700)]
Revert usart_readline() change
Joseph Coffland [Mon, 5 Sep 2016 21:12:31 +0000 (14:12 -0700)]
Uppercase status strings, Don't enable read interrupt immediately in usart_readline(), Disabled alarm in mach_set_position()
Joseph Coffland [Mon, 5 Sep 2016 11:49:41 +0000 (04:49 -0700)]
Working on jog
Joseph Coffland [Mon, 5 Sep 2016 10:06:49 +0000 (03:06 -0700)]
Split exec.c from runtime.c
Joseph Coffland [Mon, 5 Sep 2016 03:08:25 +0000 (20:08 -0700)]
Function renaming, planner reorg and runtime state encapsulation.
Joseph Coffland [Mon, 5 Sep 2016 01:23:29 +0000 (18:23 -0700)]
Alarm if machine position is set while the machine is moving
Joseph Coffland [Sat, 3 Sep 2016 22:37:05 +0000 (15:37 -0700)]
Report current units
Joseph Coffland [Fri, 2 Sep 2016 09:07:20 +0000 (02:07 -0700)]
Correctly implemented start/stop/pause and queue flushing
Joseph Coffland [Fri, 2 Sep 2016 01:00:22 +0000 (18:00 -0700)]
Greatly simplified feedhold processing
Joseph Coffland [Thu, 1 Sep 2016 21:14:41 +0000 (14:14 -0700)]
Move code and doc cleanup, simplified plan/exec.c
Joseph Coffland [Tue, 30 Aug 2016 09:31:11 +0000 (02:31 -0700)]
More code cleanup, fixed program stop
Joseph Coffland [Tue, 30 Aug 2016 07:55:24 +0000 (00:55 -0700)]
Dumped JERK_EXEC and KAHN code
Joseph Coffland [Tue, 30 Aug 2016 07:09:41 +0000 (00:09 -0700)]
Docs and code organization
Joseph Coffland [Sun, 28 Aug 2016 22:11:56 +0000 (15:11 -0700)]
Documentation and code cleanup
Joseph Coffland [Sun, 28 Aug 2016 06:20:23 +0000 (23:20 -0700)]
Initialize structs
Joseph Coffland [Sun, 28 Aug 2016 05:50:46 +0000 (22:50 -0700)]
Modularized homing and probing code
Joseph Coffland [Sun, 28 Aug 2016 02:34:06 +0000 (19:34 -0700)]
Consolidated planner calculations and feedhold state
Joseph Coffland [Sun, 28 Aug 2016 01:56:19 +0000 (18:56 -0700)]
Isolated planner state from machine
Joseph Coffland [Sun, 28 Aug 2016 00:13:28 +0000 (17:13 -0700)]
IDLE->READY, Added speed, feed and tool vars back in
Joseph Coffland [Sat, 27 Aug 2016 21:18:30 +0000 (14:18 -0700)]
Reintroduced machine cycle state
Joseph Coffland [Thu, 25 Aug 2016 10:28:15 +0000 (03:28 -0700)]
Reworked machine state variables
Joseph Coffland [Tue, 23 Aug 2016 07:10:53 +0000 (00:10 -0700)]
Fixed error message
Joseph Coffland [Tue, 23 Aug 2016 06:23:04 +0000 (23:23 -0700)]
Roll back flush ID code, Skip some callbacks in EStop
Joseph Coffland [Tue, 23 Aug 2016 06:03:09 +0000 (23:03 -0700)]
Reboot on estop clear, save estop state in EEPROM, stop spindle, flush USART and wait for EEPROM write before reboot
Joseph Coffland [Wed, 27 Jul 2016 22:46:19 +0000 (15:46 -0700)]
Added i2c slave interface
Joseph Coffland [Wed, 6 Jul 2016 11:57:55 +0000 (04:57 -0700)]
More cleanup
Joseph Coffland [Wed, 6 Jul 2016 11:42:52 +0000 (04:42 -0700)]
Clean up
Joseph Coffland [Wed, 6 Jul 2016 11:29:34 +0000 (04:29 -0700)]
Removed main loop blocking
Joseph Coffland [Tue, 5 Jul 2016 09:27:39 +0000 (02:27 -0700)]
ignore
Joseph Coffland [Tue, 5 Jul 2016 08:32:56 +0000 (01:32 -0700)]
Enable spindle
Joseph Coffland [Tue, 5 Jul 2016 08:32:40 +0000 (01:32 -0700)]
Added verify command
Joseph Coffland [Tue, 5 Jul 2016 08:32:34 +0000 (01:32 -0700)]
Fixed estop
Joseph Coffland [Wed, 29 Jun 2016 04:45:20 +0000 (21:45 -0700)]
Allow unsaved vars, Work on switches and estop
Joseph Coffland [Tue, 28 Jun 2016 12:28:17 +0000 (05:28 -0700)]
Added missing files, fixed switches interrupts
Joseph Coffland [Tue, 28 Jun 2016 10:12:54 +0000 (03:12 -0700)]
Implemented better pin mapping
Joseph Coffland [Mon, 27 Jun 2016 10:42:47 +0000 (03:42 -0700)]
Improved usart_readline(), Improved help, Added feedhold, start cycle & flush queue character commands
Joseph Coffland [Sun, 26 Jun 2016 19:15:37 +0000 (12:15 -0700)]
Use only 2 char var codes, Enabled serial hardware flow control, Reorder command processing priority
Joseph Coffland [Thu, 23 Jun 2016 23:58:20 +0000 (16:58 -0700)]
Report JSON errors
Joseph Coffland [Thu, 23 Jun 2016 23:44:09 +0000 (16:44 -0700)]
Uppercase macro
Joseph Coffland [Thu, 23 Jun 2016 23:42:12 +0000 (16:42 -0700)]
Namespace STAT_MSG macro
Joseph Coffland [Thu, 23 Jun 2016 23:40:31 +0000 (16:40 -0700)]
Totally DRY status messages using X-Macros
Joseph Coffland [Wed, 22 Jun 2016 08:01:37 +0000 (01:01 -0700)]
print JSON
Joseph Coffland [Mon, 20 Jun 2016 10:30:53 +0000 (03:30 -0700)]
Removed current ramping
Joseph Coffland [Mon, 20 Jun 2016 10:28:51 +0000 (03:28 -0700)]
Working with current ramping
Joseph Coffland [Sun, 19 Jun 2016 19:14:06 +0000 (12:14 -0700)]
Added estop control, improved cm_alarm, Improved tmc2660 driver, temporarily disabled switch and spindle, improved status message printing and dispatch loop
Joseph Coffland [Sat, 18 Jun 2016 23:26:13 +0000 (16:26 -0700)]
Handle RTC wrap around
Joseph Coffland [Sat, 18 Jun 2016 23:23:18 +0000 (16:23 -0700)]
Serial port improvements
Joseph Coffland [Tue, 7 Jun 2016 15:39:53 +0000 (08:39 -0700)]
Huanyang reports
Joseph Coffland [Thu, 26 May 2016 06:13:54 +0000 (23:13 -0700)]
Work on switch handling, coolant load switches
Joseph Coffland [Wed, 25 May 2016 09:10:38 +0000 (02:10 -0700)]
PWM spindle
Joseph Coffland [Wed, 25 May 2016 06:02:50 +0000 (23:02 -0700)]
motor calibration, haunyang spindle control
Joseph Coffland [Mon, 11 Apr 2016 03:10:16 +0000 (20:10 -0700)]
sg threshold calibration routine 2
Joseph Coffland [Sun, 10 Apr 2016 23:21:44 +0000 (16:21 -0700)]
Disable echo, velocity vs. sg threshold calibration routine
Joseph Coffland [Tue, 29 Mar 2016 12:33:23 +0000 (05:33 -0700)]
Remove kienmatics.{c,h}
Joseph Coffland [Tue, 29 Mar 2016 12:26:55 +0000 (05:26 -0700)]
Cleaned up unused status messages
Joseph Coffland [Tue, 29 Mar 2016 11:48:56 +0000 (04:48 -0700)]
Cleaned up canonical machine and reduced memory usage
Joseph Coffland [Tue, 29 Mar 2016 05:46:20 +0000 (22:46 -0700)]
Config variables for idle and drive currents, Faster motor driver config updates, Faster driver SPI