Coder Social home page Coder Social logo

xmotion's People

Contributors

unfinishedbusiness avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xmotion's Issues

Starting point for customization

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

Touchsrceen does not work

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

Path for ncfile

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

Keyboard/mouse when start from service

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

message from rtapi

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.