unfinishedbusiness / xmotion Goto Github PK
View Code? Open in Web Editor NEWGUI for Embedded Machine Control (LinuxCNC/MachineKit)
License: MIT License
GUI for Embedded Machine Control (LinuxCNC/MachineKit)
License: MIT License
Hi
I like to start learning about your source code my need I make a lathe version from your good GUI
If you can point me in the good direction this can be very helpful
Br
Hi
I have try you fresh release and work really better on my setup (BBB lathe with Furaday cape)
But i have never see my touchscreen working for now, can you help for this ?
Terminal report print :
Found Device: /dev/input/by-id/usb-ILITEK_Multi-Touch-V3000-if01-event-mouse
Opened device!
Br
Hi
I think path for nc_files is hard coded to folder related to plasma config, is possible to make automatic for user folder ?
Br
Hi
I don’t know why Aux 2 is activated on screen If axis Z is selected from pendant.
Can you says what is connected ?
Br
Hi
I have issue when start config from systemd keyboard and mouse does not work and impossible to switch from tty.
If i start from command line over ssh or direct on screen keyboard and mouse work fine using /home/machinekit/cortini/./runXmotion.py
xmotion.service
[Unit]
Description=Cortini Xmotion service
After=getty@tty1
[Service]
Type=simple
ExecStart=/home/machinekit/cortini/./runXmotion.py
User=machinekit
[Install]
WantedBy=multi-user.target
runXmotion.py
#!/usr/bin/python
import sys
import os
import subprocess
import time
from machinekit import launcher
from machinekit import config
launcher.register_exit_handler()
#launcher.set_debug_level(5)
os.chdir(os.path.dirname(os.path.realpath(__file__)))
mkconfig = config.Config()
if 'MACHINEKIT_INI' not in os.environ: # export for package installs
os.environ['MACHINEKIT_INI'] = mkconfig.MACHINEKIT_INI
if 'HAL_RTMOD_DIR' not in os.environ: # export for package installs
os.environ['HAL_RTMOD_DIR'] = '/usr/lib/linuxcnc'
#if 'DISPLAY' not in os.environ: # export for connecting to display
# os.environ['DISPLAY'] = ':0.0'
try:
launcher.check_installation()
launcher.cleanup_session()
launcher.load_bbio_file('furaday_stepgen.bbio')
launcher.install_comp('fur.comp')
launcher.install_comp('toolchanger.comp')
launcher.start_process('machinekit mainXmotion.ini')
launcher.register_exit_handler() # enable on ctrl-C, needs to executed after HAL files
while True:
launcher.check_processes()
time.sleep(1)
except subprocess.CalledProcessError:
launcher.end_session()
sys.exit(1)
sys.exit(0)
mainXmotion.ini
[DISPLAY]
DISPLAY = /home/machinekit/cortini/Xmotion-sudo.sh
Xmotion-sudo.sh
#!/bin/bash
sudo /home/machinekit/Xmotion/bin/release/Xmotion
Br
Hi
I think you have forgot some include because i can't show this type of debug message :
From long time with Cetus this don't work :
rtapi_print_msg(RTAPI_MSG_ERR, "aaaaaabbbababa\n");
But today i have try this one with Cetus and work great :
rtapi_print_msg(RTAPI_MSG_DBG, "Tool Unknnow error 4 : Need to restart config\n");
When you have moment cann you check this please ?
also i like to customize you GUI for lathe use but i have some troube for found the starting point.
Br
This is a progress tracker to allow private conversation regards the migration
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.