#linuxcnc Logs

Nov 07 2024

#linuxcnc Calendar

01:19 AM Deejay: moin
01:51 AM lcnc-relay: <sodakaustik@discord> Morning people
02:04 AM lcnc-relay: <sodakaustik@discord> is it possible to filter encoder position signal
02:05 AM lcnc-relay: <sodakaustik@discord> ive been experimenting with my lenze vfd and it seems to have insane response speeds
02:05 AM lcnc-relay: <sodakaustik@discord> which means it could be possible for a rudimentary C axis and not just m9 orient
02:05 AM lcnc-relay: <sodakaustik@discord> m19*
02:12 AM jpa-: what do you want to filter about it?
02:17 AM lcnc-relay: <sodakaustik@discord> I get D term oscillations way too easily
02:17 AM lcnc-relay: <sodakaustik@discord> in my experience this means noise
02:18 AM lcnc-relay: <sodakaustik@discord> or maybe it means my encoder has way too few impulses
02:18 AM lcnc-relay: <sodakaustik@discord> 1600 after quadrature
02:18 AM lcnc-relay: <sodakaustik@discord> Now that i think about it, positional noise is unlikely
02:18 AM lcnc-relay: <sodakaustik@discord> ive even scoped it, so it is not this...
02:18 AM lcnc-relay: <sodakaustik@discord> Nevermind, new encoder is what i truly desire....
02:25 AM jpa-: how are you reading the encoder signal? IIRC hostmot2 has a nice way where it interpolates between steps by tracking the time deltas
02:26 AM jpa-: otherwise D term gets pretty noisy when the encoder output derivative is like 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, ...
02:28 AM jpa-: usually a good approach is to tune with feed forward terms first, then you might not need much D term gain
02:35 AM lcnc-relay: <sodakaustik@discord> jpa-: this is what i suspect. I have to check the hal file but i think it reads straight from 7i76.encoder.position
02:41 AM jpa-: that should be interpolated (you can check with halscope)
02:43 AM jpa-: hmm, or maybe there is separate .position-interpolated
02:43 AM jpa-: https://github.com/LinuxCNC/linuxcnc/commit/e8dfa8fb9dea98f6489917552585d7fa7ce5b743
02:44 AM jpa-: funny, i somehow remembered it being interpolated already before, but i guess i remembered wrong
03:14 AM lcnc-relay: <sodakaustik@discord> ah
03:14 AM lcnc-relay: <sodakaustik@discord> good
03:21 AM lcnc-relay: <travis_farmer@discord> Morning
04:29 AM Tom_L: morning
04:55 AM JT-Cave: morning
06:22 AM JT-Cave: https://www.youtube.com/watch?v=TrTCKBaH52Y
07:46 AM Tom_L: JT-Cave, that's cool
07:46 AM JT-Cave: thanks
07:48 AM Tom_L: you might have to come up with a 'reserved words' list eventually
07:51 AM JT-Cave: for?
07:52 AM Tom_L: well maybe not. they can't have any function names the same
07:53 AM Tom_L: PR #173
07:54 AM Tom_L: it will be interesting to see what he does with it
07:54 AM JT-Cave: the function names only have to be unique in their python module
07:54 AM Tom_L: ok
07:55 AM JT-Cave: the scope of functions in their module is local
07:55 AM Tom_L: gotcha
07:55 AM JT-Cave: yup it will be interesting
07:55 AM Tom_L: it's not that way in the language i use
07:56 AM Tom_L: that kinda opens up a whole new world i don't think many have explored
07:57 AM JT-Cave: so in their module the name scope would be testpy.module_name which would not conflict with parent.module_name
07:57 AM Tom_L: yeah
07:57 AM JT-Cave: it's freaking amazing how little work it took to add such a huge thing
07:58 AM Tom_L: it's pretty much up to the user's imagination now
07:58 AM Tom_L: is it just tied to buttons or any ui widget?
07:59 AM JT-Cave: you can connect to anything
07:59 AM JT-Cave: that has an object name
08:00 AM Tom_L: so you could use the python style sheet syntax in it also
08:00 AM Tom_L: not just the qss file
08:01 AM Tom_L: as long as they don't overlap
08:03 AM Tom_L: or is that a boundary you shouldn't cross?
08:03 AM JT-Cave: yep setStylesheet or something like that
08:04 AM Tom_L: one would override the other but i'm not sure which has priority
08:05 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/misc.html#import-python
08:05 AM JT-Cave: check out the third function
08:05 AM Tom_L: did you just add that?
08:05 AM JT-Cave: yup
08:05 AM Tom_L: :)
08:06 AM Tom_L: oh that's just in the docs, no code required on your part
08:08 AM Tom_L: just when you think you're about done along comes another surprise :)
08:09 AM Tom_L: you should invite him here
08:10 AM JT-Cave: opps I forgot to push the ini name change
08:11 AM JT-Cave: need another deb...
08:11 AM Tom_L: comin right up
08:12 AM Tom_L: it's there
08:18 AM JT-Cave: got it
08:18 AM JT-Cave: just added video links to a lot of the docs
08:19 AM Tom_L: super
08:31 AM Unterhaus__ is now known as Unterhausen
08:31 AM JT-Cave: time to start my chicken day
08:31 AM Tom_L: did you post the python example?
08:31 AM Tom_L: that might be helpful
08:31 AM Tom_L: i guess it's in the docs...
08:31 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/misc.html#import-python
08:31 AM JT-Cave: might need to refresh your browser
08:31 AM Tom_L: i was watching it
08:47 AM Tom_L: you should add [FLEX] to your ini doc page too
08:48 AM JT-Cave: yea and I might move a few things into the flex section
08:49 AM JT-Cave: like colors and resource
08:49 AM Tom_L: yep
08:49 AM Tom_L: i was gonna suggest that
08:49 AM Tom_L: maybe leave FLEX_COLORS
08:49 AM Tom_L: separate
08:50 AM Tom_L: looking at ESTOP_CLOSED you might not know what it is
08:52 AM Tom_L: what about SPINDLE_0?
08:57 AM Tom_L: headin out..
08:57 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/spindle.html
08:57 AM JT-Cave: I think we just leaped way ahead of any other gui
08:57 AM Tom_L: no doubt
09:00 AM Tom_L: travis could have used the import thing for his lcd display
09:00 AM Tom_L: bbl
10:14 AM lcnc-relay: <roguish> good morning all......
10:23 AM lcnc-relay: <gardenweazel@discord> Morning all!
10:24 AM lcnc-relay: <gardenweazel@discord> Not sure if this is the right place to discuss but, I'm looking for a bit of help on this topic that I posted on the Linuxcnc forums. The URL is: https://forum.linuxcnc.org/qtvcp/54169-inconsistent-values-from-versaprobe
10:24 AM lcnc-relay: <gardenweazel@discord> Not sure if this is the right place to discuss but, I'm looking for a bit of help on this topic that I posted on the Linuxcnc forums. The URL is: https://forum.linuxcnc.org/qtvcp/54169-inconsistent-values-from-versaprobe
10:25 AM lcnc-relay: <gardenweazel@discord> Any feedback is greatly appreciated and thank you in advance.
10:27 AM lcnc-relay: <roguish> I use qtdragon and versaprobe also, but I do not use any tool probing.
10:31 AM lcnc-relay: <gardenweazel@discord> So you don't change bits during a program?
10:32 AM lcnc-relay: <roguish> sure, sometimes. but I always setup all the tool length offsets before I start.
10:33 AM lcnc-relay: <gardenweazel@discord> Gotcha
10:39 AM lcnc-relay: <gardenweazel@discord> The issue is really somewhat random. It **always **occurs upon initial probe-to-tool-setter touch off. However, I can click "Start from Line 1" and it may take anywhere from 1-4 additional "Start from Line 1" clicks to run the program. Any subsequent tool changes are not correct and either gouge or air cut.
10:41 AM lcnc-relay: <gardenweazel@discord> Clarification: Any subsequent tool changes after the first tool run are not correct and either gouge or air cut. The first tool runs correctly after the 1-4 clicks.
10:42 AM lcnc-relay: <gardenweazel@discord> In the forum thread you can see where others have or have had the same problem. Note me pointing to other threads having similar issues.
10:44 AM lcnc-relay: <roguish> gardenweazel@discord: CMorley is working on it. may take some time, but he's good.
10:45 AM Deejay: re
10:46 AM lcnc-relay: <gardenweazel@discord> Yeah, I know that he's been instrumental in assisting and I am putting together the help documentation for those screens as they are incomplete. But, I need to fully understand what the process is before writting documentation.
06:53 PM -!- #linuxcnc mode set to +v by ChanServ
06:56 PM -!- #linuxcnc mode set to +v by ChanServ
07:34 PM roycroft: the last of my timber stores have been moved from the old place to here
07:35 PM roycroft: i got the truck about half unloaded and the wood put away in the shop when it started getting dark
07:35 PM roycroft: but i was able to unload the rest onto some sawhorses in the portable garage i have in front of the shop, so if it rains it won't get wet
08:51 PM Tom_L: is there a trick to get the .var file to update after a change instead of the lag it has?
09:03 PM Tom_L: a mode switch seems to do it
09:03 PM Tom_L: mdi -> manual -> mdi
10:17 PM roycroft: simone giertz does not understand being old at all
10:18 PM roycroft: she just released a video where she made a pair of glasses that had a ruler incorporated into the frame
10:18 PM roycroft: so you could take the glasses off to measure things
10:19 PM roycroft: that's fine, except presbyopia happens when you turn 44
10:19 PM roycroft: it's your birthday present and a present that never quits