Michael Moon [Fri, 14 Mar 2014 00:18:39 +0000 (11:18 +1100)]
Homer: always flush queue on state change
Michael Moon [Fri, 14 Mar 2014 00:18:20 +0000 (11:18 +1100)]
Conveyor: add some comments explaining nonobvious things
Michael Moon [Fri, 14 Mar 2014 00:17:54 +0000 (11:17 +1100)]
Actuator: ensure we initialise active_stop to NULL
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
Michael Moon [Thu, 13 Mar 2014 21:27:22 +0000 (08:27 +1100)]
Homer: simplify loop logic
Michael Moon [Thu, 13 Mar 2014 21:26:12 +0000 (08:26 +1100)]
StepperMotor: remove code duplication in ctors
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
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
Michael Moon [Wed, 26 Feb 2014 23:07:48 +0000 (10:07 +1100)]
StepTicker: use constants for register manipulation to 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
Michael Moon [Wed, 26 Feb 2014 22:57:39 +0000 (09:57 +1100)]
StepTicker: Use Timer0->MR1 to unstep instead of Timer1
Michael Moon [Wed, 26 Feb 2014 22:48:36 +0000 (09:48 +1100)]
StepTicker: remove redundant active_motors list which simply mirrors stepper_motors
Michael Moon [Wed, 26 Feb 2014 22:41:34 +0000 (09:41 +1100)]
StepTicker: remove some redundant fields
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
Michael Moon [Wed, 26 Feb 2014 22:37:37 +0000 (09:37 +1100)]
Stepper: remove more redundant fields
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
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
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
Michael Moon [Sun, 23 Feb 2014 20:35:01 +0000 (07:35 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator
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
Michael Moon [Sat, 22 Feb 2014 02:13:59 +0000 (13:13 +1100)]
Homer: call ON_IDLE event while homing
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
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
Michael Moon [Fri, 21 Feb 2014 06:31:02 +0000 (17:31 +1100)]
main: add Endstops module to kernel
Michael Moon [Fri, 21 Feb 2014 06:30:43 +0000 (17:30 +1100)]
Homer: check that required endstop exists, adjust list if not
Michael Moon [Fri, 21 Feb 2014 06:30:15 +0000 (17:30 +1100)]
Endstop: don't report name during startup
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
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
Michael Moon [Thu, 20 Feb 2014 21:15:01 +0000 (08:15 +1100)]
Conveyor: combine flags to reduce ram usage
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
Michael Moon [Thu, 20 Feb 2014 03:59:36 +0000 (14:59 +1100)]
Move previous_unit_vec from Planner to Robot
Michael Moon [Thu, 20 Feb 2014 03:47:25 +0000 (14:47 +1100)]
Robot: use Actuator::change_last_milestone in more places
Michael Moon [Wed, 19 Feb 2014 23:38:15 +0000 (10:38 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator
Michael Moon [Wed, 19 Feb 2014 22:25:46 +0000 (09:25 +1100)]
Homer: new approach to homing. Unfinished implementation.
Michael Moon [Wed, 19 Feb 2014 23:02:54 +0000 (10:02 +1100)]
Robot,Actuator: designators ala TemperatureControl
Michael Moon [Wed, 19 Feb 2014 21:55:21 +0000 (08:55 +1100)]
Robot: use Actuator::change_last_milestone() method instead of writing directly
Michael Moon [Tue, 18 Feb 2014 04:24:36 +0000 (15:24 +1100)]
Block: make pure methods static instead of members of Block.
Michael Moon [Tue, 18 Feb 2014 03:48:36 +0000 (14:48 +1100)]
Stepper,Block,Planner: whitespace changes, comment tweaks, a few things rearranged.
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
Michael Moon [Tue, 18 Feb 2014 03:52:32 +0000 (14:52 +1100)]
Block: add finish_early flag, move things around a little
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!)
Michael Moon [Tue, 18 Feb 2014 02:24:35 +0000 (13:24 +1100)]
Conveyor: add method to flush queue
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
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
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
Jim Morris [Wed, 19 Feb 2014 02:54:10 +0000 (18:54 -0800)]
Merge pull request #331 from wolfmanjm/upstreamedge
Fix switch public access
Jim Morris [Wed, 19 Feb 2014 02:51:31 +0000 (18:51 -0800)]
Fix switch public access
Logxen [Wed, 19 Feb 2014 02:37:06 +0000 (18:37 -0800)]
Merge branch 'switch' into edge
Logxen [Wed, 19 Feb 2014 02:36:37 +0000 (18:36 -0800)]
added missing SwitchPublicAccess.h
Logxen [Wed, 19 Feb 2014 00:35:17 +0000 (16:35 -0800)]
added PublicAccessData support to Switch
Logxen [Tue, 18 Feb 2014 19:40:47 +0000 (11:40 -0800)]
made new longpress_delay apply only to up and down buttons
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:47:45 +0000 (23:47 +0100)]
add panel config for longpress
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:44:35 +0000 (23:44 +0100)]
add panel config for longpress
Arkadiusz Śpiewak [Sun, 16 Feb 2014 22:33:48 +0000 (23:33 +0100)]
Add longpress for panel buttons
Logxen [Sat, 15 Feb 2014 19:24:52 +0000 (11:24 -0800)]
enabled specifying numeric config values using all strtof capabilities
Logxen [Sat, 15 Feb 2014 18:48:42 +0000 (10:48 -0800)]
enabled specifying config values in hex with 0x prefix
Jim Morris [Thu, 13 Feb 2014 03:50:55 +0000 (19:50 -0800)]
change minimum travel to match what it used to be
Michael Moon [Wed, 12 Feb 2014 01:27:32 +0000 (12:27 +1100)]
Merge branch 'fix/Pauser' into edge
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
Michael Moon [Fri, 7 Feb 2014 22:43:36 +0000 (09:43 +1100)]
Robot: add a comment to clarify segmentation
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
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
Jim Morris [Fri, 7 Feb 2014 05:41:23 +0000 (21:41 -0800)]
Add Makefile magic to exclude specified modules
Conflicts:
makefile
Michael Moon [Fri, 7 Feb 2014 05:30:10 +0000 (16:30 +1100)]
Homer: complete rewrite. Currently untested!
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
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
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
Michael Moon [Thu, 6 Feb 2014 01:28:05 +0000 (12:28 +1100)]
Merge branch 'edge' into feature/Homing-and-Actuator
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
Jim Morris [Mon, 3 Feb 2014 22:57:55 +0000 (14:57 -0800)]
Fix switch module to parse input and output commands properly
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
Michael Moon [Sat, 1 Feb 2014 23:31:10 +0000 (10:31 +1100)]
Rename Endstops -> Homer
Michael Moon [Sat, 1 Feb 2014 22:48:51 +0000 (09:48 +1100)]
StepperMotor: inherit new Actuator class
Michael Moon [Sat, 1 Feb 2014 22:44:16 +0000 (09:44 +1100)]
Robot: array of CartesianAxis, inherits new Actuator class
Michael Moon [Sat, 1 Feb 2014 21:47:54 +0000 (08:47 +1100)]
Vector3: tell compiler that our methods don't change us
Logxen [Fri, 31 Jan 2014 22:51:13 +0000 (14:51 -0800)]
enabled inversion of PWM pin within Laser Module
Michael Moon [Fri, 31 Jan 2014 21:10:58 +0000 (08:10 +1100)]
Vector3: C++ification. Apparently showing my roots as a C programmer.
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
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()
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.
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
Michael Moon [Sun, 26 Jan 2014 02:21:22 +0000 (13:21 +1100)]
TemperatureControlPool: fix off-by-one in pool_index
Logxen [Thu, 30 Jan 2014 21:56:52 +0000 (13:56 -0800)]
added laser_module_pwm_period to ConfigSamples
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
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
Jim Morris [Wed, 29 Jan 2014 22:16:08 +0000 (14:16 -0800)]
updaye from Wulfnor fixing epsilon
Jim Morris [Tue, 28 Jan 2014 07:37:41 +0000 (23:37 -0800)]
Merge pull request #322 from wolfmanjm/upstreamedge
fix M26 and M23
Jim Morris [Tue, 28 Jan 2014 07:33:41 +0000 (23:33 -0800)]
fix M26 and M23
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
Jim Morris [Mon, 27 Jan 2014 07:35:34 +0000 (23:35 -0800)]
extend gkbeears fix for cd to player.cpp
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
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()
Michael Moon [Mon, 27 Jan 2014 01:35:23 +0000 (12:35 +1100)]
Arm solutions: use appropriate constants
Michael Moon [Sat, 25 Jan 2014 23:13:52 +0000 (10:13 +1100)]
change minute -> second in relevant comments
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
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
Michael Moon [Fri, 24 Jan 2014 08:18:35 +0000 (19:18 +1100)]
remove redundant (and now incorrect) comment describing the recalculate procedure
Michael Moon [Fri, 24 Jan 2014 08:18:00 +0000 (19:18 +1100)]
Planner: missed a reference to minutes, we use seconds now
Michael Moon [Fri, 24 Jan 2014 08:04:26 +0000 (19:04 +1100)]
Merge branch 'master' into edge
Michael Moon [Fri, 24 Jan 2014 07:47:10 +0000 (18:47 +1100)]
Merge branch 'fix/TemperatureControl_indexes' into edge