-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Hi ambrop72,
Something like M112 would be very usefull.
- I need an emergency stop for security reasons (but maybe it's better to to it with arduino's physical reset...)
- and really need to stop a movement, or find a workaround...
First, thanks 10^100 times for your great work here ! so nice movements and smooth stepper management... and this unique ability to choose what kind of axis per steppers and choose their endstops (it's why I choosed your firmware, and the reliability and softness is the surprise !)... I'm a very happy user
The context :
- I'm creating 4 camera rigs with pan/tilt/slider/follow focus/follow zoom (so called X Y Z A B in APrinter) for a theater show, and I will release my expandable work in open-hardware, and I will distribute the hex and json file made by your super web-based configurator (for 1 ramps 1.4 per rig).
- For the show's needs, the 4 rigs are driven from a WiP Max/Msp Patch within Ableton Live (to synchronise mouvements and light with the soundtrack).
- To finetune and record the positions, I use a gamepad with 2 joysticks. This is where I need to stop mouvements :
- I would like to have 5 min (or 10+) speeds to move an axis, proportionally to the joystick state : start a very long move each time a new speed is reached, and stop when joystick is released. (It was the way I did when I used ConfigurableFirmata before APrinter, but it's a very scratch v1 stepper management, and V2 with AccelStepper is not released yet)
- Maybe find a workaround... For the moment I send several little movements, and increase/decrease F on joystick move, but it's very hard to tune the delay between each micro movements, hard to not receive "Error:receive buffer overrun", and maybe because buffer, it's little too long to start, there is too much latency.
Maybe there is a M or G code I didn't find... But I tried all GCode given on RepRap Wiki to know better APrinter (and Gcode also because I'm very new in CNC and 3DP world).
Do you think is possible to add a 'ghost' M or G code with a Stop X Y Z A B somewhere in your code ?
But first, is it possible for your firmware to manage incoming code while a movement is in progress ?
If all 2 are yes, can you inlight me where is the best place to put what kind of instructions (I'm a professional copy/paster and test/hacker untill is work...) ?
Sorry for this long issue, you can quickly reply yes/no and I will do with that. My needs is just for comfort in creating, not for the hard job wich is working so good (very soft movements + video = 🥇 )
Thanks for all