#linuxcnc-devel Logs

Sep 18 2018

#linuxcnc-devel Calendar

05:05 AM Jin|away is now known as Jin^eLD
09:38 AM hazzy-m: CMorley: Ah, that makes sense!
09:48 AM hazzy-m: andypugh: statetags also seems like something that might should be added to the list of things to discuss merging ...
10:09 AM cradek: last I knew, zultron had some statetags fixes he was intending to share
10:17 AM hazzy-m: yes, he said the new fixes are in PP, but doesn't look like he has added them to the statetags branch
10:17 AM cradek: I think our statetags branch is currently fairly broken
10:18 AM hazzy-m: there are multiple statetags branches, but they all seem pretty stale, are there any more recent ones?
10:18 AM hazzy-m: Yes, I tried building it a few month ago, it did not go well :)
10:18 AM cradek: I don't think so. it's been waiting for attention for a long time.
10:18 AM cradek: well as I remember, it builds and runs, but it's got problems
10:18 AM cradek: he and I worked on it together at ... somewhere we were, it's been years
10:19 AM pcw_home: I think PP has also got some TP patches from Rob that fix some uncommon arc/line transition pauses
10:20 AM seb_kuzm1nsky: https://github.com/LinuxCNC/linuxcnc/issues/447
10:21 AM pcw_home: Oh ok so its fixed?
10:22 AM hazzy-m: Excellent!!
10:22 AM seb_kuzm1nsky: it's not fixed
10:22 AM seb_kuzm1nsky is now known as seb_kuzminsky
10:23 AM seb_kuzminsky: rob told me off-list this summer that it needs work and that he would ping me when he fixed it, but i haven't heard from him since
10:30 AM jepler: php update and forum reboot coming up
12:23 PM hazzy-m: thank you jepler
12:24 PM hazzy-m: what does `linuxcnc.command.set_feed_hold` do? It does not seems to do anything, and the docs aren't very enlightening as to what it is supposed to do
12:26 PM seb_kuzminsky: hazzy-m: i see in emcmodule.cc that it sends the EMC_TRAJ_SET_FH_ENABLE command to Task
12:34 PM hazzy-m: seb_kuzminsky: ah, so it set a flag to enable feedhold
12:34 PM hazzy-m: How would one send the feedhold command, and is it different than EMC_TASK_PLAN_PAUSE?
12:38 PM Jin^eLD: what is the policy on supporting new machines? should I try to clean up and submit my gearshifting comp for the mh400e mill? or should I just leave it in my github and be done with it? both is OK to me, just want to know what is preferrable to you guys :)
12:38 PM seb_kuzminsky: good question! I don't know off the top of my head, i'd have to trace both commands through Task to see how they differ
12:39 PM seb_kuzminsky: Jin^eLD: if you've written a generic component that would be useful to other people, i'd like to include that in linuxcnc
12:40 PM Jin^eLD: seb_kuzminsky: well thats the question.. it would only be useful to people who own this specific model...
12:41 PM hazzy-m: seb_kuzminsky: Thank you! I was just curious. I have been trying to trace them, but unfortunately don't know enough about what I am looking at :(
12:41 PM Jin^eLD: I had a brief talk with miss0r who has an MH500 and already there the gearbox seems to be different
12:41 PM Jin^eLD: so its probably really just MH400E specific
12:41 PM Jin^eLD: "probably really" lol :)
12:42 PM seb_kuzminsky: hazzy-m: the structure is this: UIs send NML commands to Task (which includes the Interpreter), Task handles some of them and sends some of them to Motion (which is the realtime motion controller) and sends some of them to IO (which is the non-realtime IO handler)
12:42 PM seb_kuzminsky: this diagram tries to capture & convey this information: http://linuxcnc.org/docs/devel/html/code/code-notes.html#_architecture_overview
12:43 PM seb_kuzminsky: that diagram predates HAL, but is otherwise accurate
12:43 PM seb_kuzminsky: so you'd look in Task to see what it does with those commands, and for stuff that goes to Motion, look there to see what *it* does
12:44 PM hazzy-m: Fantastic! I'll study it, having an idea what it does should make the code make more sense
12:44 PM seb_kuzminsky: :-)
12:45 PM seb_kuzminsky: Task is pretty complicated on the inside, so maybe get a cup of coffee and put on your seatbelt before looking in there
12:46 PM JT-Shop: hazzy-m: if you figure something out that is not clear in the documents let me know what you figure out.
12:47 PM hazzy-m: I did not realize everything from the GUI went thru task
12:47 PM JT-Shop: I've already updated the set_feed_hold to add the work enable...
12:47 PM hazzy-m: JT-Shop: Thank you! I was just getting ready to update that myself
12:47 PM hazzy-m: will do
12:47 PM seb_kuzminsky: hazzy-m: Task is very much in control of Motion. the GUIs just ask it nicely
12:48 PM seb_kuzminsky: except for HAL, which bypasses Task
12:48 PM seb_kuzminsky: bbl
12:48 PM -!- #linuxcnc-devel mode set to +v by ChanServ
12:49 PM pcw_home: Any ideas on the "right way" to include data for motion synchronized "painting" applications? (laser,inkjet etc)
12:50 PM alex_joni: with stock code?
12:52 PM JT-Shop: hi alex_joni
12:52 PM alex_joni: hey JT
12:55 PM pcw_home: I guess halstreamer lots of hal magic and gcode would work but I just wondered if there was any kind of standard way to do this
01:01 PM alex_joni: there was a fork a while ago
01:02 PM alex_joni: but I have no idea where or in what state it is now..
01:02 PM alex_joni: it was for laser etching/marking
01:03 PM alex_joni: pcw_home: maybe this helps? http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Rastering_With_A_Laser
01:04 PM alex_joni: this does XY for motion, W for table height, and laser on/off using Z
01:07 PM hazzy-m: pcw_home: This is interesting, but probably not what you are looking for: https://github.com/OKComputers/linuxcnc/commit/0afff760caa3f96d47d9934dc4d07765d40f2591
01:27 PM pcw_home: Thanks, Ill take a look
04:30 PM jepler: with "even" the linux kernel adopting a Code of Conduct, I hope the LinuxCNC project will consider it. It is becoming a standard expectation of Free software projects.
04:39 PM Jin^eLD is now known as Jin|away
06:09 PM seb_kuzminsky: a code of conduct might have avoided some historical unpleasantness
06:10 PM seb_kuzminsky: pcw_home: my naive first try would be a gcode file full of alternating m68 and g1
07:03 PM hazzy: and on a somewhat similar note, editorconfig files seem to be becoming quite popular...
07:03 PM hazzy: https://editorconfig.org
10:23 PM georgyo is now known as Guest32480