Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TCode Support #19

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Add TCode Support #19

wants to merge 8 commits into from

Conversation

flaretek
Copy link

@flaretek flaretek commented Dec 11, 2022

Adds a mode in the startup menu for TCode.
When TCode mode is active, listens for commands on UDP 6969 and Serial.

TODO:

  • Stepper doesn't move at a consistent velocity
  • Make the speed control knob work to limit the max speed
  • Consider additional safety features
  • Packet buffering
  • BLE?

Warning
Physical Safety Warning
TCode as a protocol is more similar to GCode. There is more potential for unexpected or erratic movement because motion is commanded based on position without specified acceleration. This branch passes the TCode expected position directly to the stepper library, which could result in rapid unexpected acceleration.
Commanding the machine with TCode could result in physical injury.
This code has not been tested for and is not recommended for any kind of penetrative use. This code should not be merged until additional physical safety controls are added to prevent erratic or unexpected movement commanded by TCode.
Do not test this branch unless you fully understand the above statement. Do not test this branch with the machine attached to a human.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@flaretek flaretek marked this pull request as draft December 11, 2022 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant