negative feed
gcode now includes negative feed.
Implementation of negative feed:
The ruckig trajectory can not have 0 velocity or negative velocity. So if 0 velocity is commanded it is changed to 0.001 vel.
The ruckig input for velocity is always done with the "abs(value)". This ensures a positive input value.
When a negative feed is commanded,
The target position is set to 0 of current exec gcodeblock. When targetposition 0 is reached the gcode goes back one line and the
actual position is set to the gcode blocklenght of the new gcodeline.
The reverse feed can go back the whole gcode program.
The negative feed is in fact a few lines of code.
For reference, the negative feed is also integrated in the halcore/src/hal/component/trajectory example.