clinton/Smoothieware.git
10 years agoHomer: always flush queue on state change origin/feature/Homing-and-Actuator
Michael Moon [Fri, 14 Mar 2014 00:18:39 +0000 (11:18 +1100)]
Homer: always flush queue on state change

10 years agoConveyor: add some comments explaining nonobvious things
Michael Moon [Fri, 14 Mar 2014 00:18:20 +0000 (11:18 +1100)]
Conveyor: add some comments explaining nonobvious things

10 years agoActuator: ensure we initialise active_stop to NULL
Michael Moon [Fri, 14 Mar 2014 00:17:54 +0000 (11:17 +1100)]
Actuator: ensure we initialise active_stop to NULL

10 years agoStepperMotor: fix whitespace of signal_move_finished, it's been bugging me for ages
Michael Moon [Thu, 13 Mar 2014 21:28:48 +0000 (08:28 +1100)]
StepperMotor: fix whitespace of signal_move_finished, it's been bugging me for ages

10 years agoHomer: simplify loop logic
Michael Moon [Thu, 13 Mar 2014 21:27:22 +0000 (08:27 +1100)]
Homer: simplify loop logic

10 years agoStepperMotor: remove code duplication in ctors
Michael Moon [Thu, 13 Mar 2014 21:26:12 +0000 (08:26 +1100)]
StepperMotor: remove code duplication in ctors

10 years agoStepTicker: whitespace change. Separate commit to improve readability of c1fd61's...
Michael Moon [Wed, 26 Feb 2014 23:13:42 +0000 (10:13 +1100)]
StepTicker: whitespace change. Separate commit to improve readability of c1fd61's diff

10 years agoStepTicker: move timer event into class member to reduce constant dereference of...
Michael Moon [Wed, 26 Feb 2014 23:12:51 +0000 (10:12 +1100)]
StepTicker: move timer event into class member to reduce constant dereference of singleton pointer

10 years agoStepTicker: use constants for register manipulation to improve readability
Michael Moon [Wed, 26 Feb 2014 23:07:48 +0000 (10:07 +1100)]
StepTicker: use constants for register manipulation to improve readability

10 years agoStepTicker: Whitespace change only. Separate commit to vastly improve readability...
Michael Moon [Wed, 26 Feb 2014 22:58:42 +0000 (09:58 +1100)]
StepTicker: Whitespace change only. Separate commit to vastly improve readability of d121fd's diff

10 years agoStepTicker: Use Timer0->MR1 to unstep instead of Timer1
Michael Moon [Wed, 26 Feb 2014 22:57:39 +0000 (09:57 +1100)]
StepTicker: Use Timer0->MR1 to unstep instead of Timer1

10 years agoStepTicker: remove redundant active_motors list which simply mirrors stepper_motors
Michael Moon [Wed, 26 Feb 2014 22:48:36 +0000 (09:48 +1100)]
StepTicker: remove redundant active_motors list which simply mirrors stepper_motors

10 years agoStepTicker: remove some redundant fields
Michael Moon [Wed, 26 Feb 2014 22:41:34 +0000 (09:41 +1100)]
StepTicker: remove some redundant fields

10 years agoStepper: various cleanups in preparation for Robot::actuators to become Actuator...
Michael Moon [Wed, 26 Feb 2014 22:39:35 +0000 (09:39 +1100)]
Stepper: various cleanups in preparation for Robot::actuators to become Actuator* rather than StepperMotor*, also fix deceleration on premature stop

10 years agoStepper: remove more redundant fields
Michael Moon [Wed, 26 Feb 2014 22:37:37 +0000 (09:37 +1100)]
Stepper: remove more redundant fields

10 years agoStepper: various cleanups and simplifications. Iterate over actuators where possible...
Michael Moon [Mon, 24 Feb 2014 00:47:22 +0000 (11:47 +1100)]
Stepper: various cleanups and simplifications. Iterate over actuators where possible instead of using hard-coded set, remove unused/redundant fields

10 years agoStepperMotor: reduce in-memory size of StepperMotor by 8 bytes by combining bool...
Michael Moon [Mon, 24 Feb 2014 00:46:07 +0000 (11:46 +1100)]
StepperMotor: reduce in-memory size of StepperMotor by 8 bytes by combining bool flags

10 years agoActuator: add rate_ratio field. Stepper: use Actuator::rate_ratio instead of calculat...
Michael Moon [Sun, 23 Feb 2014 21:03:23 +0000 (08:03 +1100)]
Actuator: add rate_ratio field. Stepper: use Actuator::rate_ratio instead of calculating rate ratio every speed update

10 years agoMerge branch 'edge' into feature/Homing-and-Actuator
Michael Moon [Sun, 23 Feb 2014 20:35:01 +0000 (07:35 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator

10 years agoInitialise actuator positions to current cartesian position (X0 Y0 Z0) so the first...
Michael Moon [Sun, 23 Feb 2014 20:01:05 +0000 (07:01 +1100)]
Initialise actuator positions to current cartesian position (X0 Y0 Z0) so the first move is correct if homing is not performed. Addresses issue #333

10 years agoHomer: call ON_IDLE event while homing
Michael Moon [Sat, 22 Feb 2014 02:13:59 +0000 (13:13 +1100)]
Homer: call ON_IDLE event while homing

10 years agoHomer: more fleshing out of homing process, still incomplete. WARNING: may cause...
Michael Moon [Sat, 22 Feb 2014 02:11:01 +0000 (13:11 +1100)]
Homer: more fleshing out of homing process, still incomplete. WARNING: may cause lockup on G28 since we don't actually move yet

10 years agoRobot: accept lines with null gcode, make append_line and append_actuator_milestone...
Michael Moon [Sat, 22 Feb 2014 02:08:32 +0000 (13:08 +1100)]
Robot: accept lines with null gcode, make append_line and append_actuator_milestone public for use by other modules

10 years agomain: add Endstops module to kernel
Michael Moon [Fri, 21 Feb 2014 06:31:02 +0000 (17:31 +1100)]
main: add Endstops module to kernel

10 years agoHomer: check that required endstop exists, adjust list if not
Michael Moon [Fri, 21 Feb 2014 06:30:43 +0000 (17:30 +1100)]
Homer: check that required endstop exists, adjust list if not

10 years agoEndstop: don't report name during startup
Michael Moon [Fri, 21 Feb 2014 06:30:15 +0000 (17:30 +1100)]
Endstop: don't report name during startup

10 years agoRobot: 82dae6 introduced a bug where the first segment junction would needlessly...
Michael Moon [Fri, 21 Feb 2014 06:04:33 +0000 (17:04 +1100)]
Robot: 82dae6 introduced a bug where the first segment junction would needlessly decelerate to zero speed. Turns out, we don't need these conditions

10 years agoBlock: remove finish_early flag. Stepper: use Conveyor::flush flag to finish early
Michael Moon [Thu, 20 Feb 2014 21:15:42 +0000 (08:15 +1100)]
Block: remove finish_early flag. Stepper: use Conveyor::flush flag to finish early

10 years agoConveyor: combine flags to reduce ram usage
Michael Moon [Thu, 20 Feb 2014 21:15:01 +0000 (08:15 +1100)]
Conveyor: combine flags to reduce ram usage

10 years agoAllow for Gcodes with numerical values higher than 255 in Switch module
Arthur Wolf [Thu, 20 Feb 2014 12:20:54 +0000 (13:20 +0100)]
Allow for Gcodes with numerical values higher than 255 in Switch module

10 years agoMove previous_unit_vec from Planner to Robot
Michael Moon [Thu, 20 Feb 2014 03:59:36 +0000 (14:59 +1100)]
Move previous_unit_vec from Planner to Robot

10 years agoRobot: use Actuator::change_last_milestone in more places
Michael Moon [Thu, 20 Feb 2014 03:47:25 +0000 (14:47 +1100)]
Robot: use Actuator::change_last_milestone in more places

10 years agoMerge branch 'edge' into feature/Homing-and-Actuator
Michael Moon [Wed, 19 Feb 2014 23:38:15 +0000 (10:38 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator

10 years agoHomer: new approach to homing. Unfinished implementation.
Michael Moon [Wed, 19 Feb 2014 22:25:46 +0000 (09:25 +1100)]
Homer: new approach to homing. Unfinished implementation.

10 years agoRobot,Actuator: designators ala TemperatureControl
Michael Moon [Wed, 19 Feb 2014 23:02:54 +0000 (10:02 +1100)]
Robot,Actuator: designators ala TemperatureControl

10 years agoRobot: use Actuator::change_last_milestone() method instead of writing directly
Michael Moon [Wed, 19 Feb 2014 21:55:21 +0000 (08:55 +1100)]
Robot: use Actuator::change_last_milestone() method instead of writing directly

10 years agoBlock: make pure methods static instead of members of Block.
Michael Moon [Tue, 18 Feb 2014 04:24:36 +0000 (15:24 +1100)]
Block: make pure methods static instead of members of Block.

10 years agoStepper,Block,Planner: whitespace changes, comment tweaks, a few things rearranged.
Michael Moon [Tue, 18 Feb 2014 03:48:36 +0000 (14:48 +1100)]
Stepper,Block,Planner: whitespace changes, comment tweaks, a few things rearranged.

10 years agoStepperMotor: add stop() method to prematurely end a move. Actuator: rename Endstop...
Michael Moon [Wed, 19 Feb 2014 20:48:03 +0000 (07:48 +1100)]
StepperMotor: add stop() method to prematurely end a move. Actuator: rename Endstop* stop -> active_stop

10 years agoBlock: add finish_early flag, move things around a little
Michael Moon [Tue, 18 Feb 2014 03:52:32 +0000 (14:52 +1100)]
Block: add finish_early flag, move things around a little

10 years agoBlock: combine flags to reduce memory usage from 84 to 76 bytes (-8 bytes!)
Michael Moon [Tue, 18 Feb 2014 02:46:06 +0000 (13:46 +1100)]
Block: combine flags to reduce memory usage from 84 to 76 bytes (-8 bytes!)

10 years agoConveyor: add method to flush queue
Michael Moon [Tue, 18 Feb 2014 02:24:35 +0000 (13:24 +1100)]
Conveyor: add method to flush queue

10 years agoMerge branch 'edge' into feature/Homing-and-Actuator
Michael Moon [Wed, 19 Feb 2014 20:43:25 +0000 (07:43 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator

Conflicts:
src/modules/robot/Robot.cpp

10 years agoMerge pull request #332 from wolfmanjm/upstreamedge
Jim Morris [Wed, 19 Feb 2014 03:06:20 +0000 (19:06 -0800)]
Merge pull request #332 from wolfmanjm/upstreamedge

Use new c++11 way of doing checksum

10 years agoUse new c++11 way of doing checksum
Jim Morris [Wed, 19 Feb 2014 03:04:56 +0000 (19:04 -0800)]
Use new c++11 way of doing checksum
clean up temperaturecontrol headers

10 years agoMerge pull request #331 from wolfmanjm/upstreamedge
Jim Morris [Wed, 19 Feb 2014 02:54:10 +0000 (18:54 -0800)]
Merge pull request #331 from wolfmanjm/upstreamedge

Fix switch public access

10 years agoFix switch public access
Jim Morris [Wed, 19 Feb 2014 02:51:31 +0000 (18:51 -0800)]
Fix switch public access

10 years agoMerge branch 'switch' into edge
Logxen [Wed, 19 Feb 2014 02:37:06 +0000 (18:37 -0800)]
Merge branch 'switch' into edge

10 years agoadded missing SwitchPublicAccess.h
Logxen [Wed, 19 Feb 2014 02:36:37 +0000 (18:36 -0800)]
added missing SwitchPublicAccess.h

10 years agoadded PublicAccessData support to Switch
Logxen [Wed, 19 Feb 2014 00:35:17 +0000 (16:35 -0800)]
added PublicAccessData support to Switch

10 years agomade new longpress_delay apply only to up and down buttons
Logxen [Tue, 18 Feb 2014 19:40:47 +0000 (11:40 -0800)]
made new longpress_delay apply only to up and down buttons

10 years agoadd panel config for longpress
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:47:45 +0000 (23:47 +0100)]
add panel config for longpress

10 years agoadd panel config for longpress
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:44:35 +0000 (23:44 +0100)]
add panel config for longpress

10 years agoAdd longpress for panel buttons
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:33:48 +0000 (23:33 +0100)]
Add longpress for panel buttons

10 years agoenabled specifying numeric config values using all strtof capabilities
Logxen [Sat, 15 Feb 2014 19:24:52 +0000 (11:24 -0800)]
enabled specifying numeric config values using all strtof capabilities

10 years agoenabled specifying config values in hex with 0x prefix
Logxen [Sat, 15 Feb 2014 18:48:42 +0000 (10:48 -0800)]
enabled specifying config values in hex with 0x prefix

10 years agochange minimum travel to match what it used to be
Jim Morris [Thu, 13 Feb 2014 03:50:55 +0000 (19:50 -0800)]
change minimum travel to match what it used to be

10 years agoMerge branch 'fix/Pauser' into edge
Michael Moon [Wed, 12 Feb 2014 01:27:32 +0000 (12:27 +1100)]
Merge branch 'fix/Pauser' into edge

10 years agoPauser: if two consecutive blocks both used Pauser, paused_block would be overwritten... origin/fix/Pauser
Michael Moon [Wed, 12 Feb 2014 01:12:56 +0000 (12:12 +1100)]
Pauser: if two consecutive blocks both used Pauser, paused_block would be overwritten with NULL at L55 *after* being set to the new block at L31. Use a temporary variable to get around this and allow paused_block to remain correct. Addresses issue #314

10 years agoRobot: add a comment to clarify segmentation
Michael Moon [Fri, 7 Feb 2014 22:43:36 +0000 (09:43 +1100)]
Robot: add a comment to clarify segmentation

10 years agoRobot: forgot to check Z axis during segmentation. Reported by merkurk2k, found by...
Michael Moon [Fri, 7 Feb 2014 22:26:45 +0000 (09:26 +1100)]
Robot: forgot to check Z axis during segmentation. Reported by merkurk2k, found by wolfmanjm

10 years agoMerge pull request #327 from wolfmanjm/upstreamedge
Jim Morris [Fri, 7 Feb 2014 05:55:58 +0000 (21:55 -0800)]
Merge pull request #327 from wolfmanjm/upstreamedge

Add Makefile magic to exclude specified modules

10 years agoAdd Makefile magic to exclude specified modules
Jim Morris [Fri, 7 Feb 2014 05:41:23 +0000 (21:41 -0800)]
Add Makefile magic to exclude specified modules

Conflicts:

makefile

10 years agoHomer: complete rewrite. Currently untested!
Michael Moon [Fri, 7 Feb 2014 05:30:10 +0000 (16:30 +1100)]
Homer: complete rewrite. Currently untested!

10 years agoArm Solutions: add a mechanism to check for undesirable actuator homing sets
Michael Moon [Fri, 7 Feb 2014 05:29:22 +0000 (16:29 +1100)]
Arm Solutions: add a mechanism to check for undesirable actuator homing sets

10 years agoActuator needed virtual change_last_milestone method and moving flag, moved from...
Michael Moon [Fri, 7 Feb 2014 00:42:00 +0000 (11:42 +1100)]
Actuator needed virtual change_last_milestone method and moving flag, moved from StepperMotor and added to CartesianAxis

10 years agoSelect appropriate actuator endstop when moving, and check every step if user config...
Michael Moon [Thu, 6 Feb 2014 05:52:00 +0000 (16:52 +1100)]
Select appropriate actuator endstop when moving, and check every step if user config says to

10 years agoMerge branch 'edge' into feature/Homing-and-Actuator
Michael Moon [Thu, 6 Feb 2014 01:28:05 +0000 (12:28 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator

10 years agoMerge pull request #324 from wolfmanjm/fix/switch
Jim Morris [Mon, 3 Feb 2014 23:01:00 +0000 (15:01 -0800)]
Merge pull request #324 from wolfmanjm/fix/switch

Fix switch module to parse input and output commands properly

10 years agoFix switch module to parse input and output commands properly
Jim Morris [Mon, 3 Feb 2014 22:57:55 +0000 (14:57 -0800)]
Fix switch module to parse input and output commands properly

10 years agoAdd Endstop class, Endstops is a pool of Endstop instances. Homer: use Endstop class...
Michael Moon [Sun, 2 Feb 2014 00:00:49 +0000 (11:00 +1100)]
Add Endstop class, Endstops is a pool of Endstop instances. Homer: use Endstop class and robot's CartesianAxis array

10 years agoRename Endstops -> Homer
Michael Moon [Sat, 1 Feb 2014 23:31:10 +0000 (10:31 +1100)]
Rename Endstops -> Homer

10 years agoStepperMotor: inherit new Actuator class
Michael Moon [Sat, 1 Feb 2014 22:48:51 +0000 (09:48 +1100)]
StepperMotor: inherit new Actuator class

10 years agoRobot: array of CartesianAxis, inherits new Actuator class
Michael Moon [Sat, 1 Feb 2014 22:44:16 +0000 (09:44 +1100)]
Robot: array of CartesianAxis, inherits new Actuator class

10 years agoVector3: tell compiler that our methods don't change us
Michael Moon [Sat, 1 Feb 2014 21:47:54 +0000 (08:47 +1100)]
Vector3: tell compiler that our methods don't change us

10 years agoenabled inversion of PWM pin within Laser Module
Logxen [Fri, 31 Jan 2014 22:51:13 +0000 (14:51 -0800)]
enabled inversion of PWM pin within Laser Module

10 years agoVector3: C++ification. Apparently showing my roots as a C programmer.
Michael Moon [Fri, 31 Jan 2014 21:10:58 +0000 (08:10 +1100)]
Vector3: C++ification. Apparently showing my roots as a C programmer.

10 years agoKossel: forward kinematics implementation. Added Vector3 class to handle vector math...
Michael Moon [Fri, 31 Jan 2014 10:22:38 +0000 (21:22 +1100)]
Kossel: forward kinematics implementation. Added Vector3 class to handle vector math, eg bed autolevel transform

10 years agoRobot: remove current_position as it's substantially similar to last_milestone and...
Michael Moon [Thu, 30 Jan 2014 05:40:38 +0000 (16:40 +1100)]
Robot: remove current_position as it's substantially similar to last_milestone and can be completely replaced by this slight rework of append_line()

10 years agoDon't chain header includes if we don't have to, use predeclaration if we only need...
Michael Moon [Fri, 31 Jan 2014 02:13:42 +0000 (13:13 +1100)]
Don't chain header includes if we don't have to, use predeclaration if we only need pointers. Include necessary headers from implementation rather than declaration.

10 years agoModule: remove unused kernel pointer, shrink every Module instance by 4 bytes
Michael Moon [Fri, 31 Jan 2014 02:07:47 +0000 (13:07 +1100)]
Module: remove unused kernel pointer, shrink every Module instance by 4 bytes

10 years agoTemperatureControlPool: fix off-by-one in pool_index
Michael Moon [Sun, 26 Jan 2014 02:21:22 +0000 (13:21 +1100)]
TemperatureControlPool: fix off-by-one in pool_index

10 years agoadded laser_module_pwm_period to ConfigSamples
Logxen [Thu, 30 Jan 2014 21:56:52 +0000 (13:56 -0800)]
added laser_module_pwm_period to ConfigSamples

10 years agoadded laser_module_pwm_period config setting which adjusts the pwm rate by setting...
Logxen [Thu, 30 Jan 2014 21:23:36 +0000 (13:23 -0800)]
added laser_module_pwm_period config setting which adjusts the pwm rate by setting the pwm period in microseconds

10 years agoMerge pull request #323 from wolfmanjm/upstreamedge
Jim Morris [Wed, 29 Jan 2014 22:17:52 +0000 (14:17 -0800)]
Merge pull request #323 from wolfmanjm/upstreamedge

updaye from Wulfnor fixing epsilon

10 years agoupdaye from Wulfnor fixing epsilon
Jim Morris [Wed, 29 Jan 2014 22:16:08 +0000 (14:16 -0800)]
updaye from Wulfnor fixing epsilon

10 years agoMerge pull request #322 from wolfmanjm/upstreamedge
Jim Morris [Tue, 28 Jan 2014 07:37:41 +0000 (23:37 -0800)]
Merge pull request #322 from wolfmanjm/upstreamedge

fix M26 and M23

10 years agofix M26 and M23
Jim Morris [Tue, 28 Jan 2014 07:33:41 +0000 (23:33 -0800)]
fix M26 and M23

10 years agoMerge pull request #321 from wolfmanjm/upstreamedge
Jim Morris [Mon, 27 Jan 2014 07:40:47 +0000 (23:40 -0800)]
Merge pull request #321 from wolfmanjm/upstreamedge

extend gkbeers fix for cd to player.cpp

10 years agoextend gkbeears fix for cd to player.cpp
Jim Morris [Mon, 27 Jan 2014 07:35:34 +0000 (23:35 -0800)]
extend gkbeears fix for cd to player.cpp

10 years agoMerge pull request #320 from gkbeer/edge
Jim Morris [Mon, 27 Jan 2014 07:08:53 +0000 (23:08 -0800)]
Merge pull request #320 from gkbeer/edge

Parsing of relative path corrected

10 years agoParsing of relative path corrected
gkbeer [Mon, 27 Jan 2014 06:45:37 +0000 (22:45 -0800)]
Parsing of relative path corrected

absolute_from_reletive() now returns an absolute path that accounts for
../ and ..  in relative paths
Removed incorrect addition of trailing / from folder in cd_command()

10 years agoArm solutions: use appropriate constants
Michael Moon [Mon, 27 Jan 2014 01:35:23 +0000 (12:35 +1100)]
Arm solutions: use appropriate constants

10 years agochange minute -> second in relevant comments
Michael Moon [Sat, 25 Jan 2014 23:13:52 +0000 (10:13 +1100)]
change minute -> second in relevant comments

10 years agoMerge pull request #319 from wolfmanjm/upstreamedge
Jim Morris [Fri, 24 Jan 2014 22:49:04 +0000 (14:49 -0800)]
Merge pull request #319 from wolfmanjm/upstreamedge

Add M203 to change max feedrates on the fly. Saveable with M500. Also wait for queue empty before changing accleration with M204

10 years agoAdd M203 to change max feedrates on the fly. Saveable with M500
Jim Morris [Fri, 24 Jan 2014 22:46:35 +0000 (14:46 -0800)]
Add M203 to change max feedrates on the fly. Saveable with M500

10 years agoremove redundant (and now incorrect) comment describing the recalculate procedure
Michael Moon [Fri, 24 Jan 2014 08:18:35 +0000 (19:18 +1100)]
remove redundant (and now incorrect) comment describing the recalculate procedure

10 years agoPlanner: missed a reference to minutes, we use seconds now
Michael Moon [Fri, 24 Jan 2014 08:18:00 +0000 (19:18 +1100)]
Planner: missed a reference to minutes, we use seconds now

10 years agoMerge branch 'master' into edge
Michael Moon [Fri, 24 Jan 2014 08:04:26 +0000 (19:04 +1100)]
Merge branch 'master' into edge

10 years agoMerge branch 'fix/TemperatureControl_indexes' into edge
Michael Moon [Fri, 24 Jan 2014 07:47:10 +0000 (18:47 +1100)]
Merge branch 'fix/TemperatureControl_indexes' into edge