#linuxcnc-devel | Logs for 2014-12-23

Back
[00:04:37] -!- skunkworks has quit [Ping timeout: 255 seconds]
[00:06:03] -!- adb has quit [Remote host closed the connection]
[00:07:13] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[00:14:38] -!- Tecan has quit [Changing host]
[00:26:25] <KGB-linuxcnc> 03Sebastian Kuzminsky 052.7 f4262df 06linuxcnc 10docs/src/getting-started/Getting-LinuxCNC.txt docs: add a "Download the image" section * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=f4262df
[00:26:26] <KGB-linuxcnc> 03Sebastian Kuzminsky 052.7 ccf7c28 06linuxcnc 10docs/src/getting-started/Getting-LinuxCNC.txt docs: add a "Download using zsync" section * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=ccf7c28
[00:39:09] -!- ariscop has quit [Quit: Leaving]
[00:41:09] -!- ariscop [ariscop!~Phase4@pa49-199-45-64.pa.vic.optusnet.com.au] has joined #linuxcnc-devel
[00:43:56] -!- Camaban has quit [Read error: Connection reset by peer]
[01:04:38] -!- Nick001-shop has quit [Quit: ChatZilla 0.9.91.1 [Firefox 30.0/20140605174243]]
[01:07:38] -!- rob_h has quit [Ping timeout: 250 seconds]
[01:19:37] -!- ariscop has quit [Quit: Leaving]
[01:20:25] -!- ariscop [ariscop!~Phase4@icookc.lnk.telstra.net] has joined #linuxcnc-devel
[01:27:04] amnesic is now known as amnesic_away
[01:27:40] -!- asdfasd has quit [Ping timeout: 244 seconds]
[01:59:17] -!- skunkworks [skunkworks!~chatzilla@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[01:59:36] -!- ariscop has quit [Quit: Leaving]
[02:02:38] -!- ariscop [ariscop!~Phase4@icookc.lnk.telstra.net] has joined #linuxcnc-devel
[02:33:44] -!- anth0ny has quit [Quit: anth0ny]
[02:47:32] <cmorley> pcw_home: I've been experimenting with mesaflah and pncconf. is the firmware name available by reading the cards?
[02:48:25] <cmorley> Could I talk you into adding --readhmid that exports a more machine readable format like XML?
[02:50:59] <cmorley> is there anyway to extract info from the serial cards similar to readhmid is a machine readable format?
[02:51:07] <cmorley> ttyl
[02:57:22] -!- gabi-cnc has quit [Ping timeout: 246 seconds]
[03:04:11] <pcw_home> the firmware name is not in the current IDROM
[03:04:12] <pcw_home> Its probably not a big deal to make mesaflash generate a xml version of a pinout file
[03:05:08] <pcw_home> you can probe sserial devices, the latest mesaflash does a little of this
[03:09:36] <pcw_home> :
[03:09:37] <pcw_home> mesaflash --device 7i76e --addr 10.10.10.10 --sserial
[03:09:39] <pcw_home> SSLBP port 0:
[03:09:40] <pcw_home> interface type: 12
[03:09:42] <pcw_home> interface width: 8
[03:09:43] <pcw_home> SSLBP Version: 1.43
[03:09:45] <pcw_home> SSLBP Channel Start: 112
[03:09:46] <pcw_home> SSLBP Channel Stride: 50
[03:09:48] <pcw_home> SSLBP Processor Type: d8
[03:09:49] <pcw_home> SSLBP Channels: 2
[03:09:51] <pcw_home> SSLBP Baud Rate: 2500000
[03:09:52] <pcw_home> SSLBP Clock: 100 MHz
[03:09:54] <pcw_home> sserial device at channel 0: 7I76 IO (unit 0x12345678, sw revision: 14)
[03:15:25] -!- patrickarlt has quit [Quit: Leaving...]
[03:38:06] -!- sumpfralle has quit [Quit: Leaving.]
[03:56:41] -!- jfigie has quit [Quit: Ex-Chat]
[03:57:03] -!- ariscop has quit [Quit: Leaving]
[03:58:59] -!- AR_ has quit [Ping timeout: 245 seconds]
[03:59:13] -!- ariscop [ariscop!~Phase4@icookc.lnk.telstra.net] has joined #linuxcnc-devel
[04:15:45] -!- kwallace2 [kwallace2!~kwallace@tmb-242.sonnet.com] has joined #linuxcnc-devel
[04:17:51] -!- kwallace has quit [Ping timeout: 244 seconds]
[04:30:22] -!- koo6 has quit [Ping timeout: 240 seconds]
[04:41:47] -!- koo5 has quit [Ping timeout: 252 seconds]
[04:58:56] -!- Flipp_ has quit [Remote host closed the connection]
[05:11:07] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[05:15:23] toastyde1th is now known as toastydeath
[05:18:17] <cmorley> yes I have that working but that doesn't tell me much about its capabilities.
[05:19:16] -!- ariscop has quit [Ping timeout: 256 seconds]
[05:20:04] <cmorley> on a 7i77 the unit numbers (similar to what you posted above) is that a good way to detect 7i77 ss analog vrs I/0?
[05:20:32] <cmorley> pncconf needs to know which ss channel is the analog and which is the I/O
[05:20:39] -!- ariscop [ariscop!~Phase4@icookc.lnk.telstra.net] has joined #linuxcnc-devel
[05:20:50] <cmorley> currently this is all hardcoded internally
[05:52:28] -!- zeitue has quit [Max SendQ exceeded]
[05:53:23] -!- ktchk [ktchk!~eddie6929@n219079250026.netvigator.com] has joined #linuxcnc-devel
[05:53:43] -!- ktchk has quit [Client Quit]
[06:01:30] -!- Fox_Muldr has quit [Ping timeout: 244 seconds]
[06:07:17] -!- ariscop has quit [Ping timeout: 272 seconds]
[06:41:34] -!- Miner_48er has quit [Quit: Leaving]
[06:45:47] -!- ve7it has quit [Remote host closed the connection]
[06:59:22] -!- kwallace2 [kwallace2!~kwallace@tmb-242.sonnet.com] has parted #linuxcnc-devel
[07:04:19] -!- anth0ny has quit [Quit: anth0ny]
[07:12:55] -!- The__Ball has quit [Remote host closed the connection]
[07:16:29] -!- bedah2 has quit [Ping timeout: 245 seconds]
[07:44:36] -!- ariscop [ariscop!~Phase4@2001:44b8:4196:e800:a2a8:cdff:fe1c:74c4] has joined #linuxcnc-devel
[07:51:12] -!- KimK_laptop has quit [Quit: Leaving]
[07:51:42] -!- Nick_name_ has quit [Ping timeout: 265 seconds]
[08:08:37] -!- erve has quit [Read error: Connection reset by peer]
[08:24:13] -!- toastydeath has quit [Read error: Connection reset by peer]
[08:27:19] -!- postaL has quit [Ping timeout: 258 seconds]
[08:27:19] p0staL is now known as postaL
[08:30:47] -!- rob_h [rob_h!~robh@90.203.135.143] has joined #linuxcnc-devel
[08:40:49] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[09:07:03] -!- micges-dev [micges-dev!~x@aeie80.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[09:21:35] gonzo__ is now known as gonzo_
[09:22:49] -!- cathode has quit [Quit: Leaving]
[09:30:45] -!- f1oat [f1oat!~f1oat@AMontsouris-553-1-51-38.w92-151.abo.wanadoo.fr] has joined #linuxcnc-devel
[09:31:17] -!- b_b has quit [Changing host]
[09:46:01] -!- amiri has quit [Ping timeout: 255 seconds]
[09:54:27] -!- erve has quit [Read error: Connection reset by peer]
[10:02:15] -!- Demiurge has quit [Ping timeout: 252 seconds]
[10:26:18] -!- erve has quit [Read error: Connection reset by peer]
[10:31:01] -!- moorbo has quit [Ping timeout: 255 seconds]
[10:33:45] -!- micges-dev has quit [Quit: Wychodzi]
[11:14:18] -!- balestrino has quit []
[11:36:50] -!- moorbo has quit [Ping timeout: 250 seconds]
[11:42:28] -!- skunkworks has quit [Ping timeout: 250 seconds]
[11:57:13] -!- nofxx_ has quit [Ping timeout: 265 seconds]
[12:01:37] -!- erve has quit [Remote host closed the connection]
[12:17:02] -!- dan2k3k4 has quit [Ping timeout: 265 seconds]
[12:24:28] -!- md-2 has quit [*.net *.split]
[12:24:28] -!- Fox_Muldr has quit [*.net *.split]
[12:24:29] -!- Loetmichel has quit [*.net *.split]
[12:24:29] -!- TekniQue has quit [*.net *.split]
[12:24:31] -!- tiwake has quit [*.net *.split]
[12:24:31] -!- raymondhim has quit [*.net *.split]
[12:24:32] -!- Komzzpa has quit [*.net *.split]
[12:24:33] -!- pandeiro has quit [*.net *.split]
[12:24:34] -!- tom_o_t has quit [*.net *.split]
[12:24:34] -!- Rab_ has quit [*.net *.split]
[12:24:35] -!- jthornton has quit [*.net *.split]
[12:24:35] -!- RagingComputer has quit [*.net *.split]
[12:24:36] -!- pozzoni has quit [*.net *.split]
[12:24:38] -!- kanzure has quit [*.net *.split]
[12:24:38] -!- SkramX has quit [*.net *.split]
[12:24:39] -!- sweenzor has quit [*.net *.split]
[12:24:39] -!- malcom2073 has quit [*.net *.split]
[12:24:40] -!- dhcar_AFK has quit [*.net *.split]
[12:24:42] -!- sliptonic has quit [*.net *.split]
[12:24:43] -!- Joel has quit [*.net *.split]
[12:24:44] -!- MrHindsight has quit [*.net *.split]
[12:24:45] -!- struan__ has quit [*.net *.split]
[12:24:45] -!- karavanjo has quit [*.net *.split]
[12:24:46] -!- [cube] has quit [*.net *.split]
[12:24:46] -!- pcw_home has quit [*.net *.split]
[12:24:48] -!- pjm|2 has quit [*.net *.split]
[12:24:48] -!- summatusmentis has quit [*.net *.split]
[12:24:48] -!- jfrmilner has quit [*.net *.split]
[12:24:48] -!- hm2-buildmaster has quit [*.net *.split]
[12:24:49] -!- Komzzpa|worrk has quit [*.net *.split]
[12:24:50] -!- varesa has quit [*.net *.split]
[12:24:50] -!- uwe_ has quit [*.net *.split]
[12:24:51] -!- spatialbrew has quit [*.net *.split]
[12:24:51] -!- Demiurge has quit [*.net *.split]
[12:24:51] -!- postaL has quit [*.net *.split]
[12:24:51] -!- m1hael has quit [*.net *.split]
[12:24:52] -!- PCW has quit [*.net *.split]
[12:24:53] -!- Thetawaves has quit [*.net *.split]
[12:24:53] -!- SpeedEvil has quit [*.net *.split]
[12:24:53] -!- seb_kuzminsky has quit [*.net *.split]
[12:24:54] -!- Lasper has quit [*.net *.split]
[12:24:54] -!- nickoe has quit [*.net *.split]
[12:24:56] -!- ibaca has quit [*.net *.split]
[12:24:56] -!- grummund has quit [*.net *.split]
[12:24:56] -!- putnik has quit [*.net *.split]
[12:24:57] -!- bjmorel_work has quit [*.net *.split]
[12:24:57] -!- os1r1s has quit [*.net *.split]
[12:24:57] -!- _methods has quit [*.net *.split]
[12:24:57] -!- _Sync_ has quit [*.net *.split]
[12:24:58] -!- GargantuaSauce_ has quit [*.net *.split]
[12:24:58] -!- jdh has quit [*.net *.split]
[12:24:58] -!- ReadError has quit [*.net *.split]
[12:24:59] -!- memfrob has quit [*.net *.split]
[12:25:01] -!- asdfasd has quit [*.net *.split]
[12:25:01] -!- mrsun has quit [*.net *.split]
[12:25:03] -!- djinni` has quit [*.net *.split]
[12:25:04] -!- alex_joni has quit [*.net *.split]
[12:26:30] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[12:26:30] -!- MrHindsight [MrHindsight!~not_sure@unaffiliated/capthindsight] has joined #linuxcnc-devel
[12:26:39] -!- pcw_home [pcw_home!~chatzilla@c-50-143-148-115.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[12:26:39] -!- hm2-buildmaster [hm2-buildmaster!~hm2-build@184-96-171-107.hlrn.qwest.net] has joined #linuxcnc-devel
[12:26:58] -!- PCW [PCW!~chatzilla@99.88.10.65] has joined #linuxcnc-devel
[12:26:58] -!- seb_kuzminsky [seb_kuzminsky!~seb@184-96-171-107.hlrn.qwest.net] has joined #linuxcnc-devel
[12:26:58] -!- bjmorel_work [bjmorel_work!~brianmore@71-13-81-38.static.bycy.mi.charter.com] has joined #linuxcnc-devel
[12:26:58] -!- memfrob [memfrob!~irc@unaffiliated/memfrob] has joined #linuxcnc-devel
[12:26:58] -!- mode/#linuxcnc-devel [+v seb_kuzminsky] by kornbluth.freenode.net
[12:27:08] -!- RagingComputer has quit [Max SendQ exceeded]
[12:27:09] -!- pandeiro has quit [Max SendQ exceeded]
[12:28:51] -!- alex_joni [alex_joni!~alex_joni@81.196.65.201] has joined #linuxcnc-devel
[12:30:29] -!- md-2 has quit [Remote host closed the connection]
[12:31:38] <jthornton> arceye has an arc tolerance patch if anyone would like to look at it http://linuxcnc.org/index.php/english/forum/20-g-code/28689-arc-tolerance#54258
[12:33:39] -!- phantoxeD has quit [Ping timeout: 244 seconds]
[12:38:00] -!- moorbo has quit [Read error: Connection reset by peer]
[12:43:34] amnesic_away is now known as amnesic
[12:59:38] -!- b_b has quit [Remote host closed the connection]
[12:59:46] -!- b_b has quit [Changing host]
[13:10:47] -!- md-2 has quit [Remote host closed the connection]
[13:28:19] -!- PetefromTn_ [PetefromTn_!~IceChat9@75-136-60-251.dhcp.jcsn.tn.charter.com] has joined #linuxcnc-devel
[13:43:36] -!- moorbo has quit [Ping timeout: 244 seconds]
[13:48:59] amnesic is now known as amnesic_away
[13:51:31] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[13:56:15] -!- erve has quit [Read error: Connection reset by peer]
[13:56:22] -!- Audioburn has quit [Ping timeout: 240 seconds]
[13:56:41] -!- beocnc [beocnc!~beocnc@2001:4dd0:ff00:8dfa:19e0:1aac:9d42:8b3c] has joined #linuxcnc-devel
[13:56:57] -!- beocnc has quit [Client Quit]
[13:57:47] -!- cncuser [cncuser!~beocnc@2001:4dd0:ff00:8dfa:19e0:1aac:9d42:8b3c] has joined #linuxcnc-devel
[14:01:27] <cncuser> hey guys, for the last couple weeks, my dropbox-client has stopped responding under linuxcnc 2.5.3, and linuxcnc 2.6.5. Resinstallation of dropbox-nautilus and from the official dropbox page delivers errors upon start of dropbox. Does anyone have the same issue here?
[14:02:26] <cncuser> Traceback (most recent call last):
[14:02:27] <cncuser> File "dropbox/callbacks.py", line 92, in run_handlers
[14:02:29] <cncuser> File "dropbox/client/high_trace.py", line 794, in trace
[14:02:30] <cncuser> File "dropbox/client/high_trace.py", line 691, in trace
[14:02:32] <cncuser> ValueError: cannot convert float NaN to integer
[14:02:33] <cncuser> Traceback (most recent call last):
[14:02:35] <cncuser> File "dropbox/callbacks.py", line 92, in run_handlers
[14:02:36] <cncuser> File "dropbox/client/high_trace.py", line 794, in trace
[14:02:38] <cncuser> File "dropbox/client/high_trace.py", line 691, in trace
[14:02:39] <cncuser> ValueError: cannot convert float NaN to integer
[14:03:39] amnesic_away is now known as amnesic
[14:06:30] -!- CaptHindsight has quit [Remote host closed the connection]
[14:11:04] -!- jduhls has quit [Ping timeout: 255 seconds]
[14:11:36] -!- rob_h has quit [Ping timeout: 265 seconds]
[14:14:55] -!- rob_h [rob_h!~robh@176.25.125.210] has joined #linuxcnc-devel
[14:16:11] -!- erve has quit [Client Quit]
[14:16:30] <cradek> I don't understand why you think that problem is related to linuxcnc
[14:17:59] -!- rob_h has quit [Client Quit]
[14:23:58] -!- CaptHindsight [CaptHindsight!~2020@unaffiliated/capthindsight] has joined #linuxcnc-devel
[14:33:00] struan__ is now known as bedahshb
[14:34:18] -!- micges-dev [micges-dev!~x@aeie80.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[14:37:14] -!- pozzoni has quit [Ping timeout: 258 seconds]
[14:38:12] -!- Simooon has quit [Remote host closed the connection]
[14:41:27] <cncuser> I'm currently trying to narrow down my problem, in order to see if that is computer-related or a general problem. Since that problem persists over several versions of linuxcnc with different kernels, I thought I'd ask around
[14:42:06] <seb_kuzminsky> jthornton: i put this commit in 2.7 a few days ago: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commitdiff;h=2cc22013dfdbd33ceba36570ed78711e0d310e99;hp=4fee078a2f30f2d81b7440f531f56780b852969d
[14:43:24] -!- rob_h [rob_h!~robh@176.25.125.210] has joined #linuxcnc-devel
[14:55:51] -!- rob_h has quit [Quit: Leaving]
[15:08:05] <cradek> cncuser: your error message is all over the googles
[15:12:01] <seb_kuzminsky> zlog:
[15:12:01] <zlog> seb_kuzminsky: Log stored at http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2014-12-23.html
[15:20:16] <seb_kuzminsky> jthornton: hrm, but even with that patch the jer10b.ngc program from ctrl-freq doesn't run
[15:20:35] <seb_kuzminsky> abs_err=0.0006257 rel_err=0.1894%
[15:20:41] <seb_kuzminsky> on one of those tiny arcs
[15:32:12] -!- Tecan has quit [Changing host]
[15:34:10] -!- kwallace [kwallace!~kwallace@smb-163.sonnet.com] has joined #linuxcnc-devel
[15:41:55] -!- Loetmichel has quit [Ping timeout: 244 seconds]
[15:46:30] <cradek> I think the TP does circularize arcs
[15:47:10] <cradek> it moves the center point
[15:50:48] <pcw_home> it fudges to make the end points match?
[15:50:58] <cradek> yes
[15:51:17] <cradek> so I don't think we actually get spirals anymore (the old planner gave us spirals)
[15:51:36] -!- karavanjo has quit [Ping timeout: 258 seconds]
[15:51:39] <cradek> I'm going to open up the tolerance and see what it does
[15:57:31] -!- kwallace2 [kwallace2!~kwallace@smb-105.sonnet.com] has joined #linuxcnc-devel
[15:59:02] <cradek> weird, I don't get a circle OR the spiral I expect
[15:59:22] -!- kwallace has quit [Ping timeout: 265 seconds]
[16:07:32] <mozmck> does anyone here use the xhc-hb04 pendant? I don't have one, but I was looking at the code for the component and found a memory leak.
[16:10:01] <mozmck> in setup_asynch_transfer() a new transfer struct is allocated, and that function is called after each packet is received. But the transfer is only freed once when the program exits
[16:10:18] <cradek> eek
[16:11:45] <mozmck> There are at least two ways to handle it properly. One is to free the transfer at the end of cb_response_in() just before calling setup_asynch_transfer() again. Another is to set the flag in libusb to auto-free the transfer when finished.
[16:12:43] <mozmck> And another is to simply re-use the same transfer if you are sure that last transfer is finished, which looks to be the case here.
[16:13:21] <mozmck> That is best since you don't have to allocate and free memory for each transfer.
[16:16:22] <seb_kuzminsky> mozmck: i'm helping a friend build a machine with that pendant (the wireless kind)
[16:16:26] <seb_kuzminsky> i haven't looked at the code
[16:16:52] <mozmck> seb_kuzminsky: so if I make a little patch y'all can test it?
[16:19:03] <seb_kuzminsky> yes, i'd love that
[16:19:14] <seb_kuzminsky> do you have the wired or wireless kind?
[16:19:21] <mozmck> ok. I don't have any!
[16:19:27] <seb_kuzminsky> oh
[16:19:37] <seb_kuzminsky> oh, you said that, duh
[16:19:49] <mozmck> I was looking at component code as documentation and examples for writing my own component
[16:19:54] <mozmck> and ran across that.
[16:20:00] <seb_kuzminsky> cool
[16:20:02] <seb_kuzminsky> code review ftw
[16:24:39] <seb_kuzminsky> mozmck: i'm looking at the libusb-1.0 docs here: http://libusb.sourceforge.net/api-1.0/group__asyncio.html#gabb0932601f2c7dad2fee4b27962848ce
[16:25:16] <mozmck> Yes?
[16:25:24] <seb_kuzminsky> i think libusb-1.0 uses reference-counting, so it should be safe & correct to call libusb_free_transfer() after libusb_submit_transfer()
[16:27:55] <mozmck> Hmm, I don't know. I think the best is to not free it at all. It is only used again after the last transfer has completed, so there is no need to alloc and free the transfer each time.
[16:28:14] <JT_Shop> seb_kuzminsky, I missed that commit but I miss a lot from time to time
[16:28:37] <mozmck> I know this works because I do it that way in a program of mine, and I was told this method by one of the maintainers of libusb.
[16:28:37] -!- furrywolf has quit [Ping timeout: 245 seconds]
[16:30:15] <pcw_home> Was there some discussion of adding an upstream position offset into motion for things like Jog while paused and maybe THC/EDM?
[16:32:40] <mozmck> pcw_home: I'm not sure what upstream position offset means, but I would like a way to update position of the Z for our THC which moves it independent of linuxcnc while cutting.
[16:33:36] -!- PCW_ [PCW_!~chatzilla@99.88.10.65] has joined #linuxcnc-devel
[16:34:12] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[16:34:54] <pcw_home> I mean a way that avoids having to trick motion (and subtract offsets in hal) when you offset a commanded position
[16:35:58] -!- PCW has quit [Ping timeout: 255 seconds]
[16:36:01] PCW_ is now known as PCW
[16:36:07] <mozmck> I'm not sure...
[16:36:21] <mozmck> seb_kuzminsky: here's my proposed patch: http://pastebin.com/ZHa1Dd4k
[16:36:25] <skunkworks> logger[psha],
[16:36:40] <mozmck> seb_kuzminsky: simply move one line
[16:41:22] -!- CaptHindsight has quit [Quit: gone]
[16:42:38] -!- CaptHindsight [CaptHindsight!~2020@unaffiliated/capthindsight] has joined #linuxcnc-devel
[17:11:05] <seb_kuzminsky> mozmck: i like what your patch does, but it doesn't apply cleanly for me to 2.6 or 2.7, maybe pastebin munged the whitespace?
[17:11:24] <seb_kuzminsky> in any case, looks good, please apply to 2.6
[17:11:37] <mozmck> that's odd, maybe so. I did a fresh pull and that is on 2.7
[17:12:15] <seb_kuzminsky> JT_Shop: i changed the metric arc tolerance to be identical in size to the imperial arc tolerance, but that arc in ctrl-freq's program is still too far out-of-round to run
[17:12:21] <mozmck> ok. I'm using eclipse and it is doing funny with the whitespace for some reason in that file.
[17:12:28] <seb_kuzminsky> aha
[17:14:18] <seb_kuzminsky> JT_Shop: cradek had the very sensible idea of making the arc tolerance so large that any valid arc in "imperial rounded to 3 figures after the decimal point" or "metric rounded to 2 figures" would be accepted
[17:15:01] <seb_kuzminsky> pcw_home: a feature like that sounds like a great idea
[17:16:33] <cradek> ideally rounded or truncated
[17:17:17] <seb_kuzminsky> ah yeah, good point, can't count on CAM to do the right thing
[17:18:19] <cradek> both my testing and reading the code are inconclusive wrt what motion gives you for an extreme spiral
[17:18:43] -!- Loetmichel has quit [Ping timeout: 255 seconds]
[17:19:23] <cradek> I wonder if the spiral-proportion test serves a purpose
[17:19:55] <cradek> if we go back to simple tolerance (and set it according to the above criteria) a tiny arc can have a huge spiral proportion
[17:20:08] <mozmck> heh, looks like this xhc-hb04 has a strange mixture of tabs and spaces to start with.
[17:20:20] <cradek> but if it's tiny, who cares what the exact shape is
[17:20:31] <cradek> ... if motion doesn't crap out on it
[17:20:43] <seb_kuzminsky> cradek: if it's less than the G64 P-word, it should maybe just become a line?
[17:21:01] <mozmck> What is preferred in linuxcnc code? hmm, there's probably a coding policy if I looked...
[17:21:01] <cradek> the ncd actually does (something like) that already
[17:21:14] <seb_kuzminsky> oh cool
[17:21:20] <cradek> fbofw
[17:21:35] <seb_kuzminsky> cradek: you're not in vi edit mode, pal
[17:22:10] <seb_kuzminsky> mozmck: src/CodingStyle
[17:22:33] <seb_kuzminsky> but it doesn't mention whitespace
[17:23:14] <seb_kuzminsky> there's docs/src/code/Style_Guide.txt
[17:23:28] <cradek> :e CodingStyle dG:wq
[17:23:36] <seb_kuzminsky> aka http://www.linuxcnc.org/docs/html/code/Style_Guide.html
[17:23:41] <mozmck> ok, thanks, I'll look at those.
[17:23:50] <mozmck> cradek: huh? :)
[17:24:08] <seb_kuzminsky> mozmck: he's saying he doesnt like our coding style document ;-)
[17:24:17] <mozmck> oh, heh!
[17:24:49] <cradek> :s/our/any/
[17:24:56] <cradek> :g/Do no harm/p
[17:25:03] <cradek> sorry
[17:26:33] <seb_kuzminsky> hey, the coding style document that gets built into our docs actually starts with Do No Harm, so maybe...?
[17:27:10] <seb_kuzminsky> :q
[17:27:20] <cradek> in plain language, I believe the primary goal should be to not mess up source control (diff and patch) and any style/whitespace consistency concern is comparatively very unimportant
[17:27:21] <mozmck> Do no harm being what? Don't change existing code just to make it fit the coding style?
[17:27:30] <cradek> yes exactly
[17:27:40] <mozmck> makes sense to me!
[17:27:48] <cradek> when making changes, match the surrounding code, and don't mess with anything unnecessarily
[17:27:50] <seb_kuzminsky> yep
[17:27:59] <mozmck> ok
[17:28:05] <cradek> for new code, follow a style guide if that suits you :-)
[17:28:32] <mozmck> Some projects are *really* picky about following their style guide it seems.
[17:28:50] -!- md-2 has quit [Remote host closed the connection]
[17:28:59] -!- piccata has quit [Remote host closed the connection]
[17:29:09] <cradek> if you do that from day 1, you can end up with all your whitespace matching, which is a pleasant thing
[17:29:12] <seb_kuzminsky> cradek: what test is the spiral-proportion test?
[17:29:18] <mozmck> I have contributed a little to Kicad, and they are pretty picky, and I don't like their coding style either!
[17:29:39] <mozmck> But I follow it anyhow, doesn't really matter to me.
[17:29:48] <cradek> seb_kuzminsky: CHKS(abs_err > 100*tolerance || (abs_err > tolerance && (rel_err > .001)),
[17:29:51] <seb_kuzminsky> mozmck: that's awesome of you and definitely the right thing to do
[17:29:54] <cradek> the .001 test here
[17:29:58] <seb_kuzminsky> cradek: aha
[17:30:17] * seb_kuzminsky closes the terminal where he was grepping in tests/
[17:30:56] <seb_kuzminsky> i think we have two conflicting goals with arc tolerance
[17:31:10] <seb_kuzminsky> one is to accept anything sloppy-but-reasonable CAM does
[17:31:35] <seb_kuzminsky> the other is to not make broad assumptions about the scale of features the user wants
[17:32:44] <seb_kuzminsky> i think our users only care about (1), and hardly anyone cares about (2)
[17:32:45] <archivist> those un-manufacturable features?
[17:33:56] <seb_kuzminsky> archivist: some CAM will program tiny arcs but then round (or truncate) the start, end, and center coordinates to a certain number of figures after the decimal point
[17:34:09] <seb_kuzminsky> maybe 3 or 4 for imperial, and maybe 2 or 3 for metric
[17:34:32] <seb_kuzminsky> in those situations, the starting and ending radius can be off by enough that the interpreter rejects them
[17:35:13] <archivist> as it should, probably
[17:35:17] <seb_kuzminsky> maybe
[17:35:41] <seb_kuzminsky> rejecting it is probably the technically correct thing to do
[17:36:05] <archivist> was talking to someone yesterday on maths and bridges collapsing, dont ignore the detail
[17:36:08] <seb_kuzminsky> but in practice we should maybe do what the user wants, at least by default, if it doesnt actually hurt anything
[17:39:42] -!- md-2 has quit [Quit: Leaving...]
[17:39:55] <seb_kuzminsky> bbl
[17:40:04] <seb_kuzminsky> merry newtonmas everybody
[17:59:46] -!- jvrousseau has quit [Quit: Textual IRC Client: www.textualapp.com]
[18:02:36] <mozmck> cradek: do I still have push access?
[18:03:17] -!- adb has quit [Ping timeout: 244 seconds]
[18:09:51] <cradek> I never remove push access
[18:10:44] <cradek> should say: have never removed
[18:15:01] <mozmck> heh, ok. I don't have it set up right on my end.
[18:23:14] -!- i_tarzan_ has quit [Read error: Connection reset by peer]
[18:23:20] <KGB-linuxcnc> 03Moses McKnight 052.6 a5744e0 06linuxcnc 10src/hal/user_comps/xhc-hb04.cc Fix memory leak in xhc-hb04 component. * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=a5744e0
[18:23:44] <cradek> yay! thanks
[18:24:10] <mozmck> Ah, it went, good, thank you!
[18:39:18] -!- jduhls has quit [Quit: Leaving]
[18:41:45] -!- syyl_ws has quit [Quit: Verlassend]
[18:55:12] -!- anth0ny has quit [Quit: anth0ny]
[18:58:45] -!- anth0ny has quit [Client Quit]
[19:03:20] -!- ejb has quit [Quit: ZZZzzz…]
[19:03:48] amnesic is now known as amnesic_away
[19:06:45] -!- asdfasd has quit [Ping timeout: 252 seconds]
[19:06:45] -!- spatialbrew has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[19:20:54] -!- hypertrophy_aka_ has quit [Client Quit]
[19:21:25] -!- karavanjo has quit [Ping timeout: 252 seconds]
[19:23:42] -!- aca_hypertrophy has quit [Client Quit]
[19:24:44] -!- adb has quit [Ping timeout: 258 seconds]
[19:30:30] -!- willburrrr2003 has quit [Quit: Page closed]
[19:35:21] -!- chillly has quit [Quit: Ex-Chat]
[19:39:24] -!- chillly_ has quit [Quit: Ex-Chat]
[19:39:25] -!- karavanjo has quit [Read error: Connection reset by peer]
[19:39:49] -!- ejb has quit [Quit: ZZZzzz…]
[19:42:17] -!- TTN has quit [Ping timeout: 240 seconds]
[19:45:04] -!- sumpfralle has quit [Quit: Leaving.]
[19:54:06] -!- doa has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
[19:56:28] -!- aaaaaaaaaa has quit [Client Quit]
[19:56:57] -!- b_b has quit [Read error: Connection reset by peer]
[19:57:22] -!- b_b has quit [Changing host]
[19:57:25] -!- moorbo has quit [Read error: Connection reset by peer]
[20:09:08] -!- jasen_ has quit [Quit: Page closed]
[20:09:34] -!- TTN has quit [Changing host]
[20:25:54] -!- karavanjo has quit [Read error: Connection reset by peer]
[20:30:17] -!- karavanjo has quit [Read error: Connection reset by peer]
[20:45:35] -!- b_b has quit [Remote host closed the connection]
[20:46:29] -!- ariscop has quit [Ping timeout: 265 seconds]
[21:02:14] -!- moorbo has quit [Read error: Connection reset by peer]
[21:05:13] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[21:16:00] -!- syyl has quit [Ping timeout: 244 seconds]
[21:22:12] -!- adb has quit [Ping timeout: 244 seconds]
[21:22:22] `Nerobro__ is now known as `Nerobro
[21:23:26] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[21:23:49] -!- ariscop [ariscop!~Phase4@icookc.lnk.telstra.net] has joined #linuxcnc-devel
[21:28:10] -!- karavanjo has quit [Ping timeout: 258 seconds]
[21:34:41] -!- Audioburn has quit [Ping timeout: 258 seconds]
[21:42:18] <seb_kuzminsky> cradek: the most that rounding or truncating can change the distance between two points is +/- (Resolution * 2^-1), i think
[21:44:23] <seb_kuzminsky> which would make our new abs_err limit be 2 * Resolution * 2^-1 = 0.002828 (that's for Res = 0.001 inch)
[21:44:41] <seb_kuzminsky> which seems uncomfortably high to me, but maybe it's not
[21:44:49] <seb_kuzminsky> i dont know what motion would make of it...
[21:44:52] <seb_kuzminsky> bbl
[21:44:56] -!- ingsoc has quit [Ping timeout: 244 seconds]
[21:54:11] -!- skunkworks has quit [Read error: Connection reset by peer]
[21:59:31] -!- Deejay has quit [Quit: bye]
[22:02:09] -!- rob_h [rob_h!~robh@176.25.125.210] has joined #linuxcnc-devel
[22:05:04] -!- ejb has quit [Quit: ZZZzzz…]
[22:24:28] -!- moorbo has quit []
[22:27:59] -!- chillly has quit [Quit: Ex-Chat]
[22:39:06] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[23:00:07] <jthornton> yea, that seems high to me too...
[23:03:16] -!- anth0ny has quit [Quit: anth0ny]
[23:11:17] -!- Audioburn has quit [Ping timeout: 258 seconds]
[23:13:38] -!- sumpfralle has quit [Ping timeout: 250 seconds]
[23:19:10] -!- koo5 has quit [Ping timeout: 244 seconds]
[23:30:13] -!- anth0ny has quit [Client Quit]
[23:34:22] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[23:37:28] -!- micges-dev1 [micges-dev1!~x@aeht242.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[23:37:31] -!- anth0ny has quit [Quit: anth0ny]
[23:38:20] <PCW> where are the TuneX, TuneY, TuneZ gcode files?
[23:38:43] -!- anth0ny has quit [Client Quit]
[23:41:11] -!- micges-dev has quit [Ping timeout: 258 seconds]
[23:42:59] Rab_ is now known as Rab
[23:46:50] <Tom_itx> PCW, are you closed xmas - newyears?
[23:47:09] <Tom_itx> or will you ship stuff then
[23:48:02] -!- The_Ball has quit [Remote host closed the connection]
[23:51:20] -!- skorasaurus has quit [Ping timeout: 250 seconds]
[23:56:04] -!- mhaberler has quit [Quit: mhaberler]
[23:59:27] -!- Zboonet has quit [Ping timeout: 245 seconds]