hazzy - Another touchscreen GUI

More
9 years 3 months ago #95390 by andypugh

kcj wrote: Hello Norbert!
I would like to make it possible to resize the GUI, but I have not figured out how to do it yet. Since I am using images for the background, I think I would have to rescale each one to match the size of the window. I have not found a way to do this simply. I think PathPilot uses images and the GUI is resizeable. I wonder how they made that work ...


I managed to make it happen here:
forum.linuxcnc.org/41-guis/26550-lathe-macros?start=150#82743
(it's not very elegant, the buttons are all in an in invisble table)

One way that worked was to actively re-position all the elements based on scale factors on resize..

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #95424 by auto-mation-assist
Here are some observations I have mode while initially trying the Hazzy gui. Perhaps someone can verify if my observations are correct or not.

I was doing some testing with Hazzy with my configuration files for gmoccapy which uses a spindle quadrature decoder and index pulses for spindle position and speed control. I found it problematic that indicators were missing on Hazzy for the near spindle speed led and actual spindle decoded RPM with my configuration files.

My test also showed that axis movement was allowed when the spindle was actually not rotating during program execution. With my gmoccapy configuration files axis movement during program execution is not allowed unless the actual spindle RPM is within the programmed tolerance for RPM. The near LED is a good trouble shooting aid when such a condition occurs.

My controller/servo system is programmed for five axis but due to ongoing work many configuration parameters have been commented out for axis A and U to effectively disable those axis. Even though these axes are not being configured homing on these still appears to be expected and I had to push each homing button for these two axis before program execution was allowed after X, Y and Z were already automatically homed. This makes me suspect that the actual number of axis and joints being configured is not being used to determine the number of actual active axis.

I miss not have having jogging buttons and a tab for probing since I use those a lot and will likely add tabs for both of these as soon as time allows and I figure out how to do it.

I will continue to further test Hazzy since I like its layout a lot. Great job kcj.
The following user(s) said Thank You: KCJ

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #95431 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
fairngs, thank you for the detail report, it is very much appreciated! Will look into when I get a chance.

I am currently on my way to catch an international flight to Canada as the first leg of a 8000 mile + camping/road trip with 8 of my nephews. I will likely be out of touch for the next month.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #97045 by Roguish
kcj: hope you have a nice holiday. when you're back and back into it, could you post a simple status of your gui, and some simple instructions on how to acquire and install it. Hazzy is a very good looking gui and I'd really like to try it out. Strictly milling. Thanks.

Ok, looked closer and found the install. and installed it via git. very nice.
Last edit: 9 years 2 months ago by Roguish.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97058 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
Thank you Roguish, I had a great vacation and am starting to recover a little bit from many nights of little sleep!
I am glad you found the source files, here is a link in case others don't read my first post:
github.com/KurtJacobson/hazzy

I managed to do some work on Hazzy here and there while I was gone. Here is the synopsis:

BUG FIXES
  • Fix longstanding bug were LinuxCNC would stay in auto mode after running a program, making it imposibe to jog etc. Now LinuxCNC is set to Manual Mode whenever a program is not being executed.
  • Fix segmentation errors caused by improper threading in Gremlin by temperately removing all threading. I hope to add the threading back in when I learn how to do it properly.

  • ENHANCEMENTS
  • Lots of general code clean up in hazzy.py
  • Improve Gremlin controls by highlighting the current view
  • Add basic keyboard jogging for X, Y and Z axes for use while setting up and testing a machine.
  • Please Log in or Create an account to join the conversation.

    More
    9 years 2 months ago #97075 by Roguish
    got it installed via git. nice.
    I have a 1024x768 touchscreen (elo knockoff from monoprice). hazzy does not seem to fit.
    change to a 1280x1024 non-touch and hazzy fits fine, but no touch. doh.
    some one earlier mentioned making the display should be stretchable, and Norbert mentioned a method to do that.

    also, what does the 'tool' symbol do in the gremlin display? stays greyed out on my screen.
    also, how does one change the feed, feed, and rapid overrides?

    just asking.
    anyway. it's a nice GUI. keep working it.

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.414 seconds
    Powered by Kunena Forum