grbl-LPC-CoreXY/sim
michmerr 59e906f7e8 Simplify setting of STATE_CYCLE and ISR interval.
Set sys.state to STATE_CYCLE directly instead of calling back to
st_wakeup().

Convert get_step_time() to a constant and rename it to ISR_INTERVAL.
2014-01-28 11:37:31 -08:00
..
avr relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
util relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
.gitignore Fix sim makefile so it works on mac 2013-01-18 09:22:42 -07:00
config.h relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
eeprom.c relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
gnuplot.plt relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
HelloWorld.nc relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
main.c relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
Makefile Fix sim makefile so it works on mac 2013-01-18 09:22:42 -07:00
planner_inject_accessors.c relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
README.md Merge bug fixes from recent v0.8c push. Added readme for Grbl Sim. 2013-01-18 17:02:44 -07:00
rename_execute_runtime.h relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
runtime.c relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
serial.c relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
sim.bat relaunch ontop of latest grbl edge 2013-01-17 13:06:51 +01:00
simulator.c Simplify setting of STATE_CYCLE and ISR interval. 2014-01-28 11:37:31 -08:00
simulator.h Simplify setting of STATE_CYCLE and ISR interval. 2014-01-28 11:37:31 -08:00

GRBL SIM : by Jens Geisler

This directory contains an experimental Grbl simulator that compiles the main Grbl source code into a wrapped executable for use on a computer. No Arduino required. When the executable is run, the user should be able to interact with the Grbl simulator as if connected to an Arduino with Grbl.

WARNING: Grbl Sim is under heavy development. So many things may not work, or respond in ways unexpected. At the moment, this code is a proof-of-concept.

What can you do with Grbl Sim?

  • Simply checking out how Grbl works without needing an Arduino.
  • Visualize a g-code program by having the simulator parse and execute to a GUI. Fluctuations in feed rates by the acceleration planner can be viewed as well.
  • A powerful debugging tool for development.
  • Each of the AVR functions are replaced with dummy functions, like the stepper ISR. These could be written to whatever you need. For example, output simulated step pulses over time and examine its performance.