clinton/Smoothieware.git
7 years agoImplement endstops using new motion control
Jim Morris [Fri, 17 Jun 2016 01:30:05 +0000 (18:30 -0700)]
Implement endstops using new motion control
  this breaks some backwards compatibility
    1. XY can home at the same time but not Z so by default XY homes then Z (on cartesians)
    2. the alpha_max, beta_max and gamma_max must be defined to limit the homing movement for that axis
    3. corexy can now only home each axis one at a time
  delta is not done yet
renamed THEKERNEL->robot to THEROBOT

8 years agofix bugs inconveyor so it starts queue off correctly
Jim Morris [Thu, 16 Jun 2016 08:13:45 +0000 (01:13 -0700)]
fix bugs inconveyor so it starts queue off correctly

8 years agoGo back to stepticker getting data direct from block queue.
Jim Morris [Thu, 16 Jun 2016 06:01:45 +0000 (23:01 -0700)]
Go back to stepticker getting data direct from block queue.
  This solves the issue of stepticker queue running dry
  uses the dual tail pointer that triffid designed
  block queue garbage collected during on_idle
  still has optimization to wait for queue to fill or timeout

8 years agoMerge remote-tracking branch 'upstream/edge' into feature/acceleration-per-tick
Jim Morris [Fri, 10 Jun 2016 21:02:59 +0000 (14:02 -0700)]
Merge remote-tracking branch 'upstream/edge' into feature/acceleration-per-tick

8 years agoupdate firmware.bin
Jim Morris [Fri, 10 Jun 2016 20:50:50 +0000 (13:50 -0700)]
update firmware.bin

8 years agoMerge pull request #942 from wolfmanjm/upstreamedge
Jim Morris [Fri, 10 Jun 2016 20:46:04 +0000 (13:46 -0700)]
Merge pull request #942 from wolfmanjm/upstreamedge

Fix resume so it uses G53 to restore position

8 years agoFix resume so it uses G53 to restore position
Jim Morris [Fri, 10 Jun 2016 20:35:28 +0000 (13:35 -0700)]
Fix resume so it uses G53 to restore position
Fix the alpha_max_speed config setting so it is in mm/min not mm/sec (reverting bug introduced by PR #759

8 years agoUpdate README.creole
Jim Morris [Thu, 9 Jun 2016 18:37:39 +0000 (11:37 -0700)]
Update README.creole

8 years agoUpdate HowToFileIssues.md
Jim Morris [Thu, 9 Jun 2016 08:12:18 +0000 (01:12 -0700)]
Update HowToFileIssues.md

8 years agoMerge pull request #941 from wolfmanjm/upstreamedge
Jim Morris [Thu, 9 Jun 2016 08:10:37 +0000 (01:10 -0700)]
Merge pull request #941 from wolfmanjm/upstreamedge

how to file issues document

8 years agohow to file issues document
Jim Morris [Thu, 9 Jun 2016 08:09:11 +0000 (01:09 -0700)]
how to file issues document

8 years agomove where the stepticker debug pin is defined
Jim Morris [Tue, 7 Jun 2016 04:53:33 +0000 (21:53 -0700)]
move where the stepticker debug pin is defined

8 years agoremove the minimum stepper rate as it is no longer used
Jim Morris [Mon, 6 Jun 2016 21:36:57 +0000 (14:36 -0700)]
remove the minimum stepper rate as it is no longer used

8 years agoupdate firmware.bin
Jim Morris [Wed, 1 Jun 2016 23:09:19 +0000 (16:09 -0700)]
update firmware.bin

8 years agoMerge pull request #935 from wolfmanjm/upstreamedge
Jim Morris [Wed, 1 Jun 2016 20:29:13 +0000 (13:29 -0700)]
Merge pull request #935 from wolfmanjm/upstreamedge

Attempt to fix the USB serial output stall

8 years agoMerge branch 'upstreamedge' into feature/acceleration-per-tick
Jim Morris [Wed, 1 Jun 2016 20:14:56 +0000 (13:14 -0700)]
Merge branch 'upstreamedge' into feature/acceleration-per-tick

8 years agoAttempt to fix the USB serial output stall
Jim Morris [Wed, 1 Jun 2016 20:14:17 +0000 (13:14 -0700)]
Attempt to fix the USB serial output stall

8 years agoUpdate .gitignore
Jim Morris [Tue, 31 May 2016 21:30:35 +0000 (14:30 -0700)]
Update .gitignore

8 years agoMerge remote-tracking branch 'upstream/edge' into feature/acceleration-per-tick
Jim Morris [Mon, 30 May 2016 23:07:31 +0000 (16:07 -0700)]
Merge remote-tracking branch 'upstream/edge' into feature/acceleration-per-tick

8 years agoMerge pull request #934 from wolfmanjm/upstreamedge
Jim Morris [Mon, 30 May 2016 23:00:15 +0000 (16:00 -0700)]
Merge pull request #934 from wolfmanjm/upstreamedge

make the cnc test circle use G2

8 years agomake the cnc test circle use G2
Jim Morris [Mon, 30 May 2016 22:58:48 +0000 (15:58 -0700)]
make the cnc test circle use G2
fix float ops for G2/G3

8 years agofix step ticker debug pin definition
Jim Morris [Sat, 28 May 2016 22:53:40 +0000 (15:53 -0700)]
fix step ticker debug pin definition

8 years agoMerge remote-tracking branch 'upstream/edge' into mergecnc-accpertick
Jim Morris [Sat, 28 May 2016 22:42:19 +0000 (15:42 -0700)]
Merge remote-tracking branch 'upstream/edge' into mergecnc-accpertick

Conflicts:
src/libs/StepTicker.cpp
src/libs/StepTicker.h
src/libs/StepperMotor.cpp
src/libs/StepperMotor.h
src/modules/robot/Conveyor.cpp
src/modules/robot/Conveyor.h
src/modules/utils/simpleshell/SimpleShell.cpp

8 years agoUpdate Readme.md
Jim Morris [Sat, 28 May 2016 20:54:13 +0000 (13:54 -0700)]
Update Readme.md

8 years agoadd cnc build
Jim Morris [Sat, 28 May 2016 20:50:27 +0000 (13:50 -0700)]
add cnc build

8 years agoUpdate .travis.yml
Jim Morris [Sat, 28 May 2016 20:39:43 +0000 (13:39 -0700)]
Update .travis.yml

8 years agoUpdate .travis.yml
Jim Morris [Sat, 28 May 2016 20:37:42 +0000 (13:37 -0700)]
Update .travis.yml

8 years agoMerge pull request #921 from wolfmanjm/feature/cnc-pendant-panel
Jim Morris [Sat, 28 May 2016 20:27:54 +0000 (13:27 -0700)]
Merge pull request #921 from wolfmanjm/feature/cnc-pendant-panel

Feature/cnc pendant panel

8 years agomake the jobq time atomic
Jim Morris [Thu, 26 May 2016 01:23:57 +0000 (18:23 -0700)]
make the jobq time atomic

8 years agoattempt to fix the issues regarding the job q drying up and motion stoppoing dead...
Jim Morris [Wed, 25 May 2016 23:26:31 +0000 (16:26 -0700)]
attempt to fix the issues regarding the job q drying up and motion stoppoing dead - not complete

8 years agoimprove the check for blocks that can be pushed onto the job queue
Jim Morris [Tue, 24 May 2016 05:45:43 +0000 (22:45 -0700)]
improve the check for blocks that can be pushed onto the job queue

8 years agoFix conveyor to autostart
Jim Morris [Tue, 24 May 2016 03:54:56 +0000 (20:54 -0700)]
Fix conveyor to autostart
Fix the way the queues are kept full
FIx detection of idle condition
  TOD if moves are faster than about 150ms the job queue will dry up which is a problen for the planner as it will not know and will not decelerate

8 years agotweak the check_queue for when to push new blocks onto the job queue
Jim Morris [Mon, 23 May 2016 08:19:38 +0000 (01:19 -0700)]
tweak the check_queue for when to push new blocks onto the job queue

8 years agoReworked the entire block queue and conveyor, see comments in COnveyor for new method.
Jim Morris [Mon, 23 May 2016 03:17:34 +0000 (20:17 -0700)]
Reworked the entire block queue and conveyor, see comments in COnveyor for new method.
  Advantages:- no delay between moves as handoff is no longer in ISR, uses a littl ebit more mempory to store queues
  blocks are deleted when moved to step ticker job queue, but no more on_block_begin etc
  the gc_pending double tail is no longer needed as block queue is always handled in on_main_loop()
  There is a slight delay before first block will run, currently hardcoded to 100ms will be settable in config, the longer it is the more likely the first moves will be planned properly.
  if it is too short then planning may not be done correctly when streaming.

8 years agoMerge pull request #926 from wolfmanjm/upstreamedge
Jim Morris [Wed, 18 May 2016 22:38:37 +0000 (15:38 -0700)]
Merge pull request #926 from wolfmanjm/upstreamedge

fix reset pin for st7565

8 years agofix reset pin for st7565
Jim Morris [Wed, 18 May 2016 22:37:40 +0000 (15:37 -0700)]
fix reset pin for st7565

8 years agoMerge pull request #925 from wolfmanjm/upstreamedge
Jim Morris [Wed, 18 May 2016 22:31:22 +0000 (15:31 -0700)]
Merge pull request #925 from wolfmanjm/upstreamedge

Fix drilling cycles to use WCS

8 years agoFix drillign cycles to use WCS
Jim Morris [Wed, 18 May 2016 22:28:50 +0000 (15:28 -0700)]
Fix drillign cycles to use WCS

8 years agoFix drillign cycles to use WCS
Jim Morris [Wed, 18 May 2016 22:28:50 +0000 (15:28 -0700)]
Fix drillign cycles to use WCS

8 years agodo not disable irqs in block queue anymore. Should not be needed
Jim Morris [Wed, 18 May 2016 05:48:14 +0000 (22:48 -0700)]
do not disable irqs in block queue anymore. Should not be needed

8 years agostarted hacking on the new conveyor model
Jim Morris [Tue, 17 May 2016 08:01:20 +0000 (01:01 -0700)]
started hacking on the new conveyor model
removed stepper as it doesn nothing now
removed the events on_block_begin, on_block_end, on_gcode_execute

8 years agoallow for a default_excludes.mk file in src that will be used for the excluded midule...
Jim Morris [Sun, 24 Apr 2016 21:17:52 +0000 (14:17 -0700)]
allow for a default_excludes.mk file in src that will be used for the excluded midules but is not checked into git

Conflicts:
src/makefile
src/modules/utils/panel/screens/cnc/WatchScreen.cpp
src/modules/utils/panel/screens/cnc/WatchScreen.h

8 years agocomments
Jim Morris [Tue, 17 May 2016 02:55:45 +0000 (19:55 -0700)]
comments

8 years agoAdding license information
Arthur Wolf [Mon, 16 May 2016 18:31:35 +0000 (20:31 +0200)]
Adding license information

8 years agostart at tick 0
Jim Morris [Sun, 15 May 2016 23:54:57 +0000 (16:54 -0700)]
start at tick 0
round the fp to fixfp rather than floor

8 years agoAdded a bit of contribution information to the readme
Arthur Wolf [Sun, 15 May 2016 07:22:49 +0000 (09:22 +0200)]
Added a bit of contribution information to the readme

8 years agoadd job queue to stepticker.
Jim Morris [Sun, 15 May 2016 06:41:39 +0000 (23:41 -0700)]
add job queue to stepticker.
remove unused data from steppermotor

8 years agofixed bugs
Jim Morris [Sun, 15 May 2016 03:47:24 +0000 (20:47 -0700)]
fixed bugs
optimized stepticker to use fixed point
generates steps now

8 years agoInital rewrite of stepticker and associated code to implement accleration per tick.
Jim Morris [Sat, 14 May 2016 08:27:15 +0000 (01:27 -0700)]
Inital rewrite of stepticker and associated code to implement accleration per tick.

8 years agoprint out CNC build if a CNC build
Jim Morris [Fri, 13 May 2016 23:02:00 +0000 (16:02 -0700)]
print out CNC build if a CNC build

8 years agodefine -DCNC if a CNC build
Jim Morris [Fri, 13 May 2016 22:58:55 +0000 (15:58 -0700)]
define -DCNC if a CNC build

8 years agoonly build the new test command for a cnc build (although they may be usefulk for...
Jim Morris [Wed, 11 May 2016 03:06:20 +0000 (20:06 -0700)]
only build the new test command for a cnc build (although they may be usefulk for 3d printers u=it uses a lot more flash).

8 years agoMerge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel
Jim Morris [Wed, 11 May 2016 02:58:20 +0000 (19:58 -0700)]
Merge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel

8 years agofix the actualy feedrate display on panel for cnc pendant
Jim Morris [Mon, 9 May 2016 03:11:02 +0000 (20:11 -0700)]
fix the actualy feedrate display on panel for cnc pendant

8 years agodisplay in CNC pendant the requested feedrate and the actual nominal feedrate of...
Jim Morris [Sun, 8 May 2016 23:44:42 +0000 (16:44 -0700)]
display in CNC pendant the requested feedrate and the actual nominal feedrate of current block.

8 years agofix abort when probing from panel in cnc mode
Jim Morris [Sat, 7 May 2016 20:59:07 +0000 (13:59 -0700)]
fix abort when probing from panel in cnc mode

8 years agoadd workspace coordinate selection screen for cnc panel
Jim Morris [Sat, 7 May 2016 20:46:18 +0000 (13:46 -0700)]
add workspace coordinate selection screen for cnc panel
fix probing screen

8 years agoshow 3dp for jog increment
Jim Morris [Fri, 6 May 2016 08:25:47 +0000 (01:25 -0700)]
show 3dp for jog increment

8 years agoadd inches and millimeter settings to prepare menu for cnc
Jim Morris [Fri, 6 May 2016 00:05:18 +0000 (17:05 -0700)]
add inches and millimeter settings to prepare menu for cnc
rename watch screen to DRO on main menu for CNC

8 years agoAdd more probing entries for CNC
Jim Morris [Thu, 5 May 2016 20:58:26 +0000 (13:58 -0700)]
Add more probing entries for CNC
Add more prepare options for CNC (spindle on etc)

8 years agomake sure the WCS settings are handled correctly in inch mode, report in inches if...
Jim Morris [Thu, 5 May 2016 07:47:35 +0000 (00:47 -0700)]
make sure the WCS settings are handled correctly in inch mode, report in inches if in inch mode

8 years agoIndicate if in inch or mm mode in watch screen
Jim Morris [Thu, 5 May 2016 07:30:42 +0000 (00:30 -0700)]
Indicate if in inch or mm mode in watch screen
make sure jog feedrate is converted to inch mode if in inch mode
add touch off X Y Z to prepare menu (sets current WCS)

8 years agomake sure panel jogs are in absolute mode
Jim Morris [Thu, 5 May 2016 07:14:19 +0000 (00:14 -0700)]
make sure panel jogs are in absolute mode
add another finer jog setting

8 years agorename to MPG mode
Jim Morris [Wed, 4 May 2016 21:18:22 +0000 (14:18 -0700)]
rename to MPG mode

8 years agorefactor screens to avoid duplication
Jim Morris [Sat, 30 Apr 2016 19:41:07 +0000 (12:41 -0700)]
refactor screens to avoid duplication
add settable jog feedrates screen

8 years agoadd multiplier selection for encoder jog
Jim Morris [Sat, 30 Apr 2016 05:27:45 +0000 (22:27 -0700)]
add multiplier selection for encoder jog

8 years agoMerge branch 'upstreamedge' into test/encoder-direct-step
Jim Morris [Sat, 30 Apr 2016 04:38:13 +0000 (21:38 -0700)]
Merge branch 'upstreamedge' into test/encoder-direct-step

8 years agoMerge pull request #920 from wolfmanjm/upstreamedge
Jim Morris [Fri, 29 Apr 2016 22:38:53 +0000 (15:38 -0700)]
Merge pull request #920 from wolfmanjm/upstreamedge

add designator to motordriver messages

8 years agoadd designator to motordriver messages
Jim Morris [Fri, 29 Apr 2016 22:37:56 +0000 (15:37 -0700)]
add designator to motordriver messages

8 years agoadd feed hold to status
Jim Morris [Fri, 29 Apr 2016 20:57:49 +0000 (13:57 -0700)]
add feed hold to status

8 years agoget direct step running from encoder
Jim Morris [Wed, 27 Apr 2016 01:05:27 +0000 (18:05 -0700)]
get direct step running from encoder

8 years agoflush rx buffer on control X (probably should also do it on kill button)
Jim Morris [Tue, 26 Apr 2016 07:07:40 +0000 (00:07 -0700)]
flush rx buffer on control X (probably should also do it on kill button)
rename some prepare menu items

8 years agoAttempt to correct last milestone after an ON_HALT if queue was not empty.
Jim Morris [Mon, 25 Apr 2016 06:28:18 +0000 (23:28 -0700)]
Attempt to correct last milestone after an ON_HALT if queue was not empty.

8 years agoallow for a default_excludes.mk file in src that will be used for the excluded midule...
Jim Morris [Sun, 24 Apr 2016 21:17:52 +0000 (14:17 -0700)]
allow for a default_excludes.mk file in src that will be used for the excluded midules but is not checked into git

8 years agoMake a CNC based watchscreen for panel, shows WCS and MCS
Jim Morris [Sun, 24 Apr 2016 08:48:18 +0000 (01:48 -0700)]
Make a CNC based watchscreen for panel, shows WCS and MCS
 (fix simpleshell accessing temp control if it is excluded)

8 years agorefactor panel screens into 3dprinter and cnc
Jim Morris [Sun, 24 Apr 2016 00:07:04 +0000 (17:07 -0700)]
refactor panel screens into 3dprinter and cnc
exclude cnc screens on regular build include when make CNC=1

8 years agoupdate firmware.bin
Jim Morris [Fri, 22 Apr 2016 22:53:46 +0000 (15:53 -0700)]
update firmware.bin

8 years agoMerge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel
Jim Morris [Fri, 22 Apr 2016 22:37:01 +0000 (15:37 -0700)]
Merge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel

8 years agoMerge pull request #917 from wolfmanjm/upstreamedge
Jim Morris [Fri, 22 Apr 2016 22:36:31 +0000 (15:36 -0700)]
Merge pull request #917 from wolfmanjm/upstreamedge

ignore M0, as setting feed hold in non grbl mode basically stalls eve…

8 years agoignore M0, as setting feed hold in nom grbl mode basically stalls everything as trher...
Jim Morris [Fri, 22 Apr 2016 22:35:25 +0000 (15:35 -0700)]
ignore M0, as setting feed hold in nom grbl mode basically stalls everything as trhere is not way to release it

8 years agoMerge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel
Jim Morris [Fri, 22 Apr 2016 00:37:07 +0000 (17:37 -0700)]
Merge remote-tracking branch 'upstream/edge' into feature/cnc-pendant-panel

8 years agoMerge pull request #916 from wolfmanjm/upstreamedge
Jim Morris [Thu, 21 Apr 2016 08:20:51 +0000 (01:20 -0700)]
Merge pull request #916 from wolfmanjm/upstreamedge

remove on_gcode_execute from Stepper

8 years agoremove on_gcode_execute from Stepper
Jim Morris [Thu, 21 Apr 2016 08:18:41 +0000 (01:18 -0700)]
remove on_gcode_execute from Stepper

8 years agofix the test circle.
Jim Morris [Thu, 21 Apr 2016 07:48:15 +0000 (00:48 -0700)]
fix the test circle.
  make it draw around the current position

8 years agoAdd some feedback on the test commands progress
Jim Morris [Tue, 19 Apr 2016 22:00:33 +0000 (15:00 -0700)]
Add some feedback on the test commands progress

8 years agoadded test circle radius segments iterations [speed]
Jim Morris [Tue, 19 Apr 2016 09:08:24 +0000 (02:08 -0700)]
added test circle radius segments iterations [speed]

8 years agoadd test patterns for testing actuator movements
Jim Morris [Tue, 19 Apr 2016 08:44:29 +0000 (01:44 -0700)]
add test patterns for testing actuator movements
  test jog X 10 20 300 - will jog back and forth in the X axis for 10mm 20 times at a feedrate of 300
  test square 10 20 300 - will draw a square of 10mm 20 times at a feedrate of 300

8 years agoMerge pull request #915 from lautr3k/fix/http_upload
Jim Morris [Tue, 19 Apr 2016 07:27:50 +0000 (00:27 -0700)]
Merge pull request #915 from lautr3k/fix/http_upload

Fix/http upload

8 years agoadd an header sent with all request and removed which is not necessary in http_header...
Sébastien Mischler (aka skarab) [Mon, 18 Apr 2016 09:50:10 +0000 (11:50 +0200)]
add an header sent with all request and removed which is not necessary in http_header_preflight

8 years agoMerge remote-tracking branch 'refs/remotes/Smoothieware/edge' into fix/http_upload
Sébastien Mischler (aka skarab) [Mon, 18 Apr 2016 08:47:59 +0000 (10:47 +0200)]
Merge remote-tracking branch 'refs/remotes/Smoothieware/edge' into fix/http_upload

8 years agoremove unused strings and useless shtml extension
Sébastien Mischler (aka skarab) [Mon, 18 Apr 2016 08:47:29 +0000 (10:47 +0200)]
remove unused strings and useless shtml extension

8 years agoMerge pull request #913 from lautr3k/fix/http_upload
Jim Morris [Sun, 17 Apr 2016 18:01:34 +0000 (11:01 -0700)]
Merge pull request #913 from lautr3k/fix/http_upload

Allow remote file upload (CORS)

8 years agoAllow remote files upload (CORS)
Sébastien Mischler (aka skarab) [Sun, 17 Apr 2016 14:15:34 +0000 (16:15 +0200)]
Allow remote files upload (CORS)

Implement preflighted requests (OPTIONS) to allow remote files upload
(CORS).

-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Preflighted_requests

- https://www.w3.org/TR/cors/

8 years agoAllow remote upload (preflighted requests)
Sébastien Mischler (aka skarab) [Sun, 17 Apr 2016 14:13:39 +0000 (16:13 +0200)]
Allow remote upload (preflighted requests)

Implement preflighted requests (OPTIONS) to allow remote file upload
(CORS).

-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Preflighted_requests

- https://www.w3.org/TR/cors/

8 years agoset "Access-Control-Allow-Origin" in all headers
Sébastien Mischler (aka skarab) [Sun, 17 Apr 2016 11:00:06 +0000 (13:00 +0200)]
set "Access-Control-Allow-Origin" in all headers

8 years agoMerge pull request #911 from wolfmanjm/upstreamedge
Jim Morris [Sat, 16 Apr 2016 22:30:44 +0000 (15:30 -0700)]
Merge pull request #911 from wolfmanjm/upstreamedge

add option to save G92 on M500

8 years agoadd option to save G92 on M500
Jim Morris [Sat, 16 Apr 2016 22:29:44 +0000 (15:29 -0700)]
add option to save G92 on M500

8 years agoMerge pull request #909 from wolfmanjm/upstreamedge
Jim Morris [Tue, 12 Apr 2016 00:27:03 +0000 (17:27 -0700)]
Merge pull request #909 from wolfmanjm/upstreamedge

attempt to make M501 use less stack.

8 years agoattempt to make M501 use less stack.
Jim Morris [Tue, 12 Apr 2016 00:24:31 +0000 (17:24 -0700)]
attempt to make M501 use less stack.
  refactor to where and when it is processed, and make it use on_gcode event

8 years agoMerge pull request #906 from wolfmanjm/refactor/network-build
Jim Morris [Sun, 10 Apr 2016 21:53:08 +0000 (14:53 -0700)]
Merge pull request #906 from wolfmanjm/refactor/network-build

make plan9 optional build, not built by default use make PLAN9=1 to b…