update ~/src/hal/components/matrix ...
The trajectory planner can move a program forward & backward (reverse feed) entirely.
The difficulty of programming this are the velocity user interrupts. This is when a user demands a higher or lower max
velocity during runtime. Or the user changes acceleration values during runtime.
The trajectory planner has to calculate a new traject for the current gcodeline. This situation can happen unlimited times
when a user holds button to scroll values down.
When user press pause or stop, the machine is performing a controlled stop. Pressing run, will resume the motion with
a controlled velocity up stage.
Todo:
- Use the gcode feedrate instead of max velocity input.
- Add a % velocity override spinbox.
- Use a look ahead function to enable velocity end's at crossing waypoints.
- Code the restart at line.
- Let the macro outputs interact when running the gcode.
- A few things more.
Video example. It's kind of shocky because of the video capture program.